View Full Version : integrating php
kududesign
15-Jun-2003, 03:23 PM
is it possible to import the data for the pruchase form from an mySQL database using PHP?
kududesign
16-Jun-2003, 04:13 PM
any help would be great - cheers
Infolink
16-Jun-2003, 04:22 PM
I might be able to assist if you gave me a little more info as to exactly what it is you are trying to do here!
Phil
kududesign
16-Jun-2003, 04:59 PM
My client wants to have a register form which would go into a mysql db. when someone goes to purchase something their details would be pulled from the database so they don't have to fill out the form again. the database will have general marketing info, forum profiles etc.
I am more familar with asp but the current site already uses php- i imagine it is doable.
Infolink
16-Jun-2003, 05:11 PM
This is already in place with the "remember me" tickbox in the cart. When this is checked the next time they visit the site - or for that matter any actinic site - then their details are filled in automatically.
dunno if there is a way of making the remeber me box checked by default easily - probably could.
It's not a big deal doing it in PHP though, its just a matter of collecting the variables and pushing them into the database table, plus setting a cookie with a unique userid. When they return then select from the database based around the user id by reading the cookie and repopulate the fields.
Phil
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.