|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Hi, I have a registration page for a online-store. When the customer registers, their information is put in a mysql table called userinfo. I need help with the next phase. When the customer checks out, they are taken to a page consisting of the shopping cart contents and a blank order form for them to fill in with name, address, etc.. I'd like to have password and username fields for registered customers at the top of the blank orderform. When they enter password and username and hit submit button, the script would check to see if they are authorized, and if so, the customer's information would automatically come from the userinfo table and pop into the appropriate blank fields. Again, the order form is already on the page and would be filled in manually by un-registered customers and automatically by registered customers. Anyone know if this is possible and how to do it.
Thanks, Vince |
|
#2
|
||||
|
||||
|
What programming language are you working with here,...Perl, ..PHP...etc???
Mickalo
__________________
Thunder Rain Internet Publishing Custom Programming & Database development Providing Personal/Business Internet Solutions that work! |
|
#3
|
|||
|
|||
|
Perl
I'm working with Perl.
|
|
#4
|
||||
|
||||
|
Well there are many ways to do this depending on how your are generating the order form. The most comman way is to pass a username or orderid cookie when they register, then when the order form is called, it retrieves these cookies, checks the username or orderid agaisnt the database and inserts the appropriate data. But as I say, there many ways to do this.
Mickalo |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > Mysql Table to Form |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|