Using the echo tag...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm relatively new at coding PHP but I was hoping someone can help me with
this.

 

I'm trying to write the following code into my program but each time it
runs, I get an error message. Can anyone help?

 

print <<<< EOF

 

<!-INSERT HTML HEADER HERE -->

$_SERVER['PHP_SELF']

 

EOF;

 

Say that was a part of a HTML Form action tag, everytime I try to run it, I
get an error message am I doing something wrong or do I have to break out of
the here document to use this syntax?


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux