PHP Coding
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me



Go Back   Codewalkers ForumsPHP RelatedPHP Coding

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Old January 10th, 2011, 02:46 AM
shoujo_sm shoujo_sm is offline
Registered User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Jan 2011
Posts: 1 shoujo_sm User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 m 21 sec
Reputation Power: 0
php5 - Parse error: syntax error, unexpected $end, expecting T_VARIABLE or ....

I plan to produce a form for guest to register if he is new to the website and not to produce when the guest has already a user for the website...

Unfortunate i encouter the problem of
Parse error: syntax error, unexpected $end, expecting T_VARIABLE or T_END_HEREDOC or T_DOLLAR_OPEN_CURLY_BRACES....

Please help me... this is the part of the error code...

<div class="info">
<?php
if(isset($guest)){
$myString =<<<EOT
<form name="input" action="" method="post">
<label for="username">Username :</label><input type="text" name="name" id="name" /><br/>
<label for="password">Password :</label><input type="password" name="password" id="password" /><br/>
<label for="email">Email : </label><input type="text" name="email" id="email" /><br/>
<input type="submit" name="submit" value="Submit" /><br/>
</form>
EOT;
}
?>
</div>





__________________________________________
Thank you in advance...=)

Reply With Quote
Old January 18th, 2011, 07:45 AM
jamestrowbridge jamestrowbridge is offline
Contributing User
Codewalkers Novice (500 - 999 posts)
 
Join Date: Jul 2008
Location: Cleveland, Ohio, USA
Posts: 605 jamestrowbridge User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 Days 22 h 32 m 27 sec
Reputation Power: 6
Is there any more code on the page than what you have posted?
__________________
Sir, a desire of knowledge is the natural feeling of mankind; and every human being, whose mind is not debauched, will be willing to give all that he has to get knowledge.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Coding > php5 - Parse error: syntax error, unexpected $end, expecting T_VARIABLE or ....


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

© 2003-2014 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap