Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Can someone help me doing sign up form in PHP?? Please?
Old 08-03-2009, 03:10 PM Can someone help me doing sign up form in PHP?? Please?
keva's Avatar
Novice Talker

Posts: 14
Name: Kevin
Trades: 0
I have a little problem on my php sign up form. I finished making the design and stuff but when I upload it says:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /www/vndv.com/h/a/r/harri-zone/htdocs/signup/signup.php on line 1. I coudn't figure out what is wrong till now. I'm pretty confused. Can someone help me please? Here is the code:

<?php
include "include/z_db.php";// database connection details stored here
<META name=GENERATOR content="Evrsoft First Page">
<META name=FORMATTER content="Arachnophilia 4.0"></HEAD>
<BODY aLink=#ff0000 link=#0000ff bgColor=#ffffff text=#000000 vLink=#800080>
<TABLE border=0 cellSpacing=0 cellPadding=0 width="50%" align=center>
<FORM onsubmit="return validate(this)" method=post name=form1
action=signupck.php>
<P><IMG style="WIDTH: 830px; HEIGHT: 133px" border=0
src="../../../Documents and Settings/harri-zone/Desktop/Kevin/cooltext425194005.png"
width=642 height=117></P>
<P><INPUT value=post type=hidden name=todo></P>
<TBODY>
<TR bgColor=#ffffff>
<TD colSpan=2 align=middle>
<P><FONT color=#999999 size=2 face=Verdana><B>Register Here</B></FONT></P>
<P>
<HR style="WIDTH: 82.13%; HEIGHT: 2px" SIZE=2 width="82.13%">
</P>
<P>&nbsp;</P></TD></TR>
<TR>
<TD>&nbsp;<FONT size=2 face=Verdana>Username</FONT></TD>
<TD>
<P><FONT size=2 face=Verdana><INPUT style="WIDTH: 336px; HEIGHT: 22px"
size=41 name=userid></FONT></P>
<P><FONT size=2 face=Verdana></FONT>&nbsp;</P></TD></TR>
<TR bgColor=#ffffff>
<TD>&nbsp;<FONT size=2 face=Verdana>Password</FONT></TD>
<TD>
<P><FONT size=2 face=Verdana><INPUT style="WIDTH: 336px; HEIGHT: 22px"
size=42 type=password name=password></FONT></P>
<P><FONT size=2 face=Verdana></FONT>&nbsp;</P></TD></TR>
<TR>
<TD>&nbsp;<FONT size=2 face=Verdana>Re-enter Password</FONT></TD>
<TD>
<P><FONT size=2 face=Verdana><INPUT style="WIDTH: 335px; HEIGHT: 22px"
size=41 type=password name=password2></FONT></P>
<P><FONT size=2 face=Verdana></FONT>&nbsp;</P></TD></TR>
<TR bgColor=#ffffff>
<TD><FONT size=2 face=Verdana>&nbsp;Email</FONT></TD>
<TD>
<P><INPUT style="WIDTH: 332px; HEIGHT: 22px" size=42 name=email></P>
<P>&nbsp;</P></TD></TR>
<TR>
<TD>&nbsp;<FONT size=2 face=Verdana>Name</FONT></TD>
<TD>
<P><FONT size=2 face=Verdana><INPUT style="WIDTH: 334px; HEIGHT: 22px"
size=42 name=name></FONT></P>
<P><FONT size=2 face=Verdana></FONT>&nbsp;</P></TD></TR>
<TR bgColor=#ffffff>
<TD>&nbsp;<FONT size=2 face=Verdana>Sex</FONT></TD>
<TD>
<P><FONT size=2 face=Verdana><INPUT value=male CHECKED type=radio
name=sex>Male <INPUT value=female type=radio name=sex>Female</FONT></P>
<P><FONT size=2 face=Verdana></FONT>&nbsp;</P></TD></TR>
<TR>
<TD>&nbsp;<FONT size=2 face=Verdana>I agree to terms and
conditions</FONT></TD>
<TD>
<P><FONT size=2 face=Verdana><INPUT value=yes type=checkbox
name=agree></FONT></P>
<P><FONT size=2 face=Verdana></FONT>&nbsp;</P></TD></TR>
<TR bgColor=#ffffff>
<TD colSpan=2 align=middle>
<P><INPUT value=Register type=submit></P>
<HR style="WIDTH: 78.33%; HEIGHT: 2px" SIZE=2 width="78.33%">

<P><FONT size=1 face=Verdana><A
href="http://harri-zone.vndv.com/signup/signin.php">Already member? Please
Sign in</A></FONT></P>
<HR style="WIDTH: 78.72%; HEIGHT: 2px" SIZE=2 width="78.72%">

<P><FONT size=1 face=Verdana>If you need help, please conact
me.</FONT></P>
<P><FONT size=1 face=Verdana><A
href="mailto:webmaster@harri-zone.tk">~webmaster~</A></FONT></P><FONT
size=1 face=Verdana></FONT></TD></TR></TBODY></TABLE>

?>

Can someone tell me what is wrong and fix it please??
please reply asap.
keva is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-03-2009, 03:27 PM Re: Can someone help me doing sign up form in PHP?? Please?
Novice Talker

Posts: 13
Trades: 0
Change:

PHP Code:
 include "include/z_db.php";// database connection details stored here 
to:

PHP Code:
 include "include/z_db.php";// database connection details stored here
?> 
premiumscripts is offline
Reply With Quote
View Public Profile
 
Old 08-03-2009, 03:58 PM Re: Can someone help me doing sign up form in PHP?? Please?
keva's Avatar
Novice Talker

Posts: 14
Name: Kevin
Trades: 0
Thanks a lot I will try that
keva is offline
Reply With Quote
View Public Profile
 
Old 08-03-2009, 04:07 PM Re: Can someone help me doing sign up form in PHP?? Please?
keva's Avatar
Novice Talker

Posts: 14
Name: Kevin
Trades: 0
Stiil the same; how about the last ?> ?? seems like not right (?>)
keva is offline
Reply With Quote
View Public Profile
 
Old 08-03-2009, 04:36 PM Re: Can someone help me doing sign up form in PHP?? Please?
racer x's Avatar
Ultra Talker

Posts: 457
Name: Randy
Location: Northern Wisconsin
Trades: 0
<?php include ('include/z_db.php'); ?>

provided your included file is in a folder called "include".

http://www.w3schools.com/PHP/php_includes.asp
racer x is offline
Reply With Quote
View Public Profile Visit racer x's homepage!
 
Old 08-03-2009, 04:57 PM Re: Can someone help me doing sign up form in PHP?? Please?
keva's Avatar
Novice Talker

Posts: 14
Name: Kevin
Trades: 0
thx racer x
keva is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Can someone help me doing sign up form in PHP?? Please?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.31041 seconds with 12 queries