Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

unexpected T_variable???

Status
Not open for further replies.

PaulFynch

IS-IT--Management
May 23, 2002
105
CA
<paulthesuperphpnewbie>
hello again anyone...
what the heck does this mean??
i dont know what i did but it seems that i cant even define a variable in php anymore and i get this error
here is the snipperthinger...

<?asp
$name_editor = &quot;Editor_1&quot;;
$id_edit = 'eng';

$document_complet = 0;

$function_save= '';

etc etc.....where my t_variable error comes on line 12>>that being the '$name_editor' line. then i try to slam and include file in there (line 12) and it whips me with 'unexpected t_include'.

Am i just a complete moron or is there some real problem here. I am running php4 on Win2k AdvServer IIS4+(maybe5)
I have a couple little php pages that seem to work fine, but as soon as i include some of the real kewl stuff that the real programmers out there write, my server slaps me in the face.

Please understand that i did a bit of programming in high school and the languages and concepts have changed alot since then; i know if i just stick this out a little longer i will get it>>>bear with me :)

Any help would be awesome.
</paulthesuperphpnewbie>

--my own little funky post script >> THIS FORUM ROCKS!!!
 
what in the heck is doing <?asp in a php CODE?????

remove that bastard word of code.

<?asp // he's looking for something named asp. Remove asp word or change it to php. Everything else is ok.
$name_editor = &quot;Editor_1&quot;;
$id_edit = 'eng';

$document_complet = 0;

$function_save= '';
Anikin
Hugo Alexandre Dias
Web-Programmer
anikin_jedi@hotmail.com
 
<paul>
WOW!
i feel stupid
this is what happens when you spend 18 hours staring at a screen trying to make sense out of a foreign language.
eternally blushing
(btw thx for the reply)
</paul>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top