GIDForums  

Go Back   GIDForums > Computer Programming Forums > MySQL / PHP Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 09-Jul-2008, 17:25
edgardo19 edgardo19 is offline
New Member
 
Join Date: Jul 2008
Posts: 1
edgardo19 is on a distinguished road
Question

I Need Help With This Php


Can U Help Me It Came Errors T_string And T_variable

This The Php
Attached Files
File Type: doc C.doc (20.5 KB, 2 views)
File Type: zip untitled folder.zip (5.7 KB, 5 views)
  #2  
Old 09-Jul-2008, 20:22
TurboPT's Avatar
TurboPT TurboPT is offline
Senior Member
 
Join Date: Feb 2006
Location: Atlanta, GA
Posts: 1,140
TurboPT is a jewel in the roughTurboPT is a jewel in the roughTurboPT is a jewel in the rough

Re: I Need Help With This Php


Quote:
Originally Posted by edgardo19
...Errors T_string And T_variable
When those appear, look for the following (as a start)
1. mismatched quotes (single OR double: missing one or the other, OR a single quote has been paired to a double quote)
2. all [], {}, and () are properly matched
3. misspelled variable names
4. missing the $ with a variable
etc... (but know that the line where the parser complains, may or MAY NOT be the actual line where the problem has occurred, sometimes it is necessary to check back a few to several lines [or more!] to find the actual point of the problem)

I noted that this line:
PHP Code:

$headers = "From: $email\r\n; 


is missing the matching double-quote.

And this line:
PHP Code:

Email: #email <br> 


I think $email is expected, NOT the #.
__________________
Use the force...read the source!!
WYCIWYG -- what you code is what you get!
 
 

Recent GIDBlogToyota - 2009 May Promotion by Nihal

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help ! I need help starting up on Php ! onauc MySQL / PHP Forum 11 05-Jan-2005 00:57
Only some PHP works on Apache dexter Apache Web Server Forum 1 27-Oct-2004 06:45
php software dopee MySQL / PHP Forum 0 04-May-2004 12:26
PHP in HTML jrobbio Web Design Forum 4 24-Jul-2003 07:05
All the big PHP script collections that matter jrobbio MySQL / PHP Forum 5 06-Jun-2003 17:14

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 19:32.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.