On Wed, 2003-06-04 at 12:51, Øystein Håland wrote:
> I'm sorry Dan, but it don.t make any difference. Here's almost the complete
> code:
The easiest way to fix it is to enclose the $_SERVER['PHP_SELF'] in
curly braces when you embed it into a string. See the manual:
http://www.php.net/manual/en/l
I'm sorry Dan, but it don.t make any difference. Here's almost the complete
code:
";
if (ereg("/math", $_SERVER['PHP_SELF']) == true) {
echo "
some javascript here ";
}
else if (ereg("/prov/", $_SERVER['PHP_SELF']) == true) {
echo "
some more javascript here ";
}
echo "