johanzen
June 11th, 2006, 14:41
I am in no way an experienced php programmer but I thought I would be able to manage this task.
I have now tried on my own but with a very poor result. In fact my own work doesn't work at all :(
The best outcome so far has been a lot of time used try to figure it out alone.
Here is the task:
I got a data base on my local server called _random
I got the wanted information in a table called tr_members
Connection string:
$dbh=mysql_connect ("localhost", "sporto00_random", "<PASSWORD HERE>") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("sporto00_random");
I want to build a page that can be used by all the members but having their individual referral ID# and form information
( http://www.whatever.com/splash1.php?from=members_id )
The page should hold a form much like this
<form name="xxxxxxxxxxxxx" method="post" action="http://www.xxxxxxxxxxxxx.com/autosubscribe.htm">
<input type="hidden" name="campaign" value="" />
<input type="hidden" name="account" value="" />
<input type="hidden" name="required" value="" />
<input type="hidden" name="success" value="" />
<input type="hidden" name="alreadyin" value="" />
<input type="hidden" name="failure" value="" />
<input type="hidden" name="adcode" value="" />
<input name="user1" type="hidden" value= the members ref id />
<input name="user2" type="hidden" value= the members first name />
<input name="user3" type="hidden" value= the members last name />
<input name="user4" type="hidden" value= the members address />
<input name="user5" type="hidden" value= the members email address />
<input type="text" name="firstname" size="18" />
<input type="text" name="lastname" size="18" />
<input type="text" name="email" size="18" />
<input type="submit" name="Submit22" value="Submit" />
</form> -->
Whould anyone please help me out on this one. I'm totally stuck.
I would even be happy to pay should any fees be involved.
Regards
Michael
:)
I have now tried on my own but with a very poor result. In fact my own work doesn't work at all :(
The best outcome so far has been a lot of time used try to figure it out alone.
Here is the task:
I got a data base on my local server called _random
I got the wanted information in a table called tr_members
Connection string:
$dbh=mysql_connect ("localhost", "sporto00_random", "<PASSWORD HERE>") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("sporto00_random");
I want to build a page that can be used by all the members but having their individual referral ID# and form information
( http://www.whatever.com/splash1.php?from=members_id )
The page should hold a form much like this
<form name="xxxxxxxxxxxxx" method="post" action="http://www.xxxxxxxxxxxxx.com/autosubscribe.htm">
<input type="hidden" name="campaign" value="" />
<input type="hidden" name="account" value="" />
<input type="hidden" name="required" value="" />
<input type="hidden" name="success" value="" />
<input type="hidden" name="alreadyin" value="" />
<input type="hidden" name="failure" value="" />
<input type="hidden" name="adcode" value="" />
<input name="user1" type="hidden" value= the members ref id />
<input name="user2" type="hidden" value= the members first name />
<input name="user3" type="hidden" value= the members last name />
<input name="user4" type="hidden" value= the members address />
<input name="user5" type="hidden" value= the members email address />
<input type="text" name="firstname" size="18" />
<input type="text" name="lastname" size="18" />
<input type="text" name="email" size="18" />
<input type="submit" name="Submit22" value="Submit" />
</form> -->
Whould anyone please help me out on this one. I'm totally stuck.
I would even be happy to pay should any fees be involved.
Regards
Michael
:)