ok, i'm not an expert in php, but i'm pretty sure that my code is ok, but it just doesn't work as it should...
print "<table border='1'>" ;
print "<tr> <th>Firstname</th> <th>Lastname</th> </tr>";
this code just writes this out:
" ; print " Firstname Lastname ";
i tried with echo also, but that's all i get...
how should i write that code? or is it server's parsing fault?
you fail to run it with PHP
You need to surround your code with PHP's opening tags.
i did it...
there is a code around this one.. access to mySQL database and writing out one table in html list... but no error is met until print/echo code...
it looks like a server's parsing error to me, but i don't know what to do then...
or it could be something else?
again: Server can't fail parsing if it didn't even start parsing.
web server with php support must be set up and you must call this file from the server.
damn... it was the extension... it was html automatically from my text editor...
i just tried <? phpinfo() ?> and while saving it, i noticed that... i'm messing with this since last night...
sry for spamming on forum..