![]() |
|
|||||||
|
|
Thread Tools | Search this Thread |
Rating:
|
|
#21
|
|||
|
|||
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING'I'm working on the O'Reilly "Learning PHP 5" (problem 4 in chapter 7 if it makes it quicker and easier for you). I am stymied as to why I can't reference the value of $_POST['phone'] for example. When I var_dump $_POST it will give me a nice report that the key 'phone' is in there and what it's value is but I can't get at it from my code and I know this is maybe a fundamental misunderstanding that most beginners must have about what to do with $_POST. I can't think of how to debug this type of error except debugging my understanding of $_POST.
PHP Code:
Last edited by idenr : 20-Mar-2005 at 10:55.
Reason: Different Error : Parse error: parse error in /Users/iden/Sites/php/7-4.php on line 48
|
|||
|
#22
|
|||
|
|||
|
Please disregard and excuse. I apologize for posting before I discovered my typo. Very lame I realize.
|
|
#23
|
|||
|
|||
|
Im haveing parse errors of my own... The error says
Parse error: parse error, unexpected T_STRING in /home/track03/public_html/photo/includes/pixelpost.php on line 26 Here are lines 21 - 27, can anyone see what went wrong? (line 26 being the version variable) PHP Code:
|
|
#24
|
|||
|
|||
need help please !!!please someone help me i can't get out the problem it must be easy for u but im not PHP website designer
sorry for my bad english Parse error: parse error, unexpected T_SL in /usr/export/www/hosting/evinx/message.php on line 12 Code:
Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /usr/export/www/hosting/evinx/kogel.php on line 98 Code:
Warning: mysql_query(): Access denied for user: 'root@localhost' (Using password: NO) in /usr/export/www/hosting/evinx/clanbank.php on line 11 Warning: mysql_query(): A link to the server could not be established in /usr/export/www/hosting/evinx/clanbank.php on line 11 Code:
Parse error: parse error, unexpected T_STRING in /usr/export/www/hosting/evinx/admin-basic.php on line 42 Code:
Parse error: parse error, unexpected T_STRING in /usr/export/www/hosting/evinx/shop.php on line 63 Code:
Parse error: parse error, unexpected T_STRING in /usr/export/www/hosting/evinx/shop-sms.php on line 34 Code:
Parse error: parse error, unexpected T_SL in /usr/export/www/hosting/evinx/garage.php on line 6 Code:
Parse error: parse error, unexpected T_SL in /usr/export/www/hosting/evinx/carsel.php on line 64 Code:
Parse error: parse error, unexpected T_SL in /usr/export/www/hosting/evinx/autojatte.php on line 49 Code:
Parse error: parse error, unexpected T_SL in /usr/export/www/hosting/evinx/paarden.php on line 47 Code:
Parse error: parse error, unexpected '\"' in /usr/export/www/hosting/evinx/wapens_toevoegen_admin.php on line 167 Code:
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /usr/export/www/hosting/evinx/ipban.php on line 49 Code:
|
|
#25
|
|||
|
|||
Re: Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' ini am also having problems with a login script if you know where i can get one please e-mail dan@hab-globe.com
|
|
#26
|
|||
|
|||
Re: Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' inHello im also experiencing a T_VARIABLE error, please can some one help me.
Parse error: syntax error, unexpected T_VARIABLE in /home/snakepit/public_html/forums/adr_character.php on line 151 This is part of the coding before and after the error. PHP Code:
Line 151 PHP Code:
|
|
#27
|
||||
|
||||
Re: Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING'Quote:
try this, PHP Code:
or better yet, PHP Code:
Mark __________________
"A happy person is not a person in a certain set of circumstances, but rather a person with a certain set of attitudes." --Hugh Downs Stories from the NICU Blog |
|
#28
|
|||
|
|||
Re: Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' inYo, cable_guy_67 neiter one worked, it certainly looked like it would but it didn't. Do you need the whole file or anything?
|
|
#29
|
||||
|
||||
Re: Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING'I overlooked the obvious on the line prior.
PHP Code:
Mark __________________
"A happy person is not a person in a certain set of circumstances, but rather a person with a certain set of attitudes." --Hugh Downs Stories from the NICU Blog |
|
#30
|
|||
|
|||
Re: Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' indamn i missed that too lol. Thanks man it works like a charm. i missed it because im not good at php, but thanks again.
|
Recent GIDBlog
Running Linux Programs at Boot Time by gidnetwork
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Network Sites: GIDNetwork · GIDApp · GIDSearch · Learning Journal by J de Silva, The