Search
Left Quote    A clever person solves a problem. A wise person avoids it.
- Einstein    
Right Quote
 
[login] | [Register]
Forum Index » PHP and mySQL » Viewing Topic and Replies
Post Reply


        Viewing Topic: Help on register php script
  This user is online  Guest
  Subject: "Help on register php script" Posted: @ 10:32 pm on Nov 15 2005   
Unregistered
OK ive made my form, and saved it as register.php and it is on my site great! but what do i save the register script as?

    Viewed: 14,641 Times | Reply to This | To top
  This user is offline  bs0d
  Subject: "re: Help on register php script" Posted: @ 10:37 pm on Nov 15 2005    

Member #: 1
Rank: Admin. - (1,505)
Since: 02/06/05
Posts: 600
From: USA

what do you mean? you mean you saved the register code as "register .php" - and what should you name your register page as?

if thats what you mean: it dont matter. You can save your register code as "register _code.php" ; and include it in your layout that is register.php or something. doesnt matter.




-bs0d | AllSyntax.com

    Viewed: 14,632 Times | Reply to This | To top
  This user is online  Guest
  Subject: "re: Help on register php script" Posted: @ 10:42 pm on Nov 15 2005    
Unregistered

thanks



    Viewed: 14,628 Times | Reply to This | To top
  This user is online  Guest
  Subject: "re: Help on register php script" Posted: @ 10:55 pm on Nov 15 2005    
Unregistered

in short, im trying to get the register_code.p hp to work on www.tacticalmaf ia.com/register .php



    Viewed: 14,619 Times | Reply to This | To top
  This user is online  Guest
  Subject: "re: Help on register php script" Posted: @ 11:10 pm on Nov 15 2005    
Unregistered

it would greatly help if somebody emailed me on support@tactica lmafia.com and told me how to put the script in the layout because right now, when I click the button, nothin happens.



    Viewed: 14,616 Times | Reply to This | To top
  This user is offline  bs0d
  Subject: "re: Help on register php script" Posted: @ 3:33 am on Nov 16 2005    

Member #: 1
Rank: Admin. - (1,505)
Since: 02/06/05
Posts: 600
From: USA

here is how you include the code in your layout:


Code:


<?
//put this where you want the form to appear
<?php include($_SERVE R['DOCUMENT_RO OT'].'/regist er_code.php');
?>






-bs0d | AllSyntax.com

    Viewed: 14,611 Times | Reply to This | To top
  This user is online  Guest
  Subject: "re: Help on register php script" Posted: @ 3:29 pm on Nov 16 2005    
Unregistered

ok thanks but it says its a parse error on this line:

<?php include($_SERVE R['DOCUMENT_RO OT'].'/regist er_code.php');



    Viewed: 14,604 Times | Reply to This | To top
  This user is online  Guest
  Subject: "re: Help on register php script" Posted: @ 4:26 pm on Nov 16 2005    
Unregistered

nvm i fixed it but now this in the register_code.p hp (which I copied from the tutorial) is an error:

$q3 = mysql_fetch_obj ect($q2);



    Viewed: 14,597 Times | Reply to This | To top
  This user is offline  bs0d
  Subject: "re: Help on register php script" Posted: @ 6:10 pm on Nov 16 2005    

Member #: 1
Rank: Admin. - (1,505)
Since: 02/06/05
Posts: 600
From: USA

whats the error? probably from the query... and that would mean you need to be sure their are results for the query and that the table is setup correctly and stuff.




-bs0d | AllSyntax.com

    Viewed: 14,593 Times | Reply to This | To top
  This user is online  Guest
  Subject: "re: Help on register php script" Posted: @ 7:44 pm on Nov 16 2005    
Unregistered

ok i did it using the "advanced " php for registerin, which is easier



    Viewed: 14,588 Times | Reply to This | To top
Viewing Page: 1 of 1


1 |

You must be logged in to post on the forums. Login or Register








"AllSyntax.com" Copyright © 2002-2018; All rights lefted, all lefts righted.
Privacy Policy  |  Internet Rank