Zarkyun Leighvyn Posted May 14, 2007 Share Posted May 14, 2007 Ok. evertime I try to view this PHP page in my browser i only see the code. HTML code(this display just fine): <HTML> <HEAD> <Title>user data</TITLE> </HEAD> <BODY> <!-- File userdat.html --> <FORM METHOD="POST" ACTION="userdat.php"> <H2>Contact List</H2> <BR>Nickname: <BR><INPUT TYPE="TEXT" Name="Nickname"> <BR> <BR>Full Name: <BR><INPUT TYPE="TEXT" NAME="Fullname"> <BR> <BR>Memo: <BR><TEXTAREA NAME="Memo" ROWS="4" COLS="40" WRAP="PHYSICAL"> </TEXTAREA> <BR> <BR> <INPUT TYPE="SUBMIT"> </FORM> </BODY> I submit the info PHP code(this is where it shows only code): <?php echo "<BR>Nickname=$Nickname"; echo "<BR>Fullname=$Fullname"; echo "<BR>Memo=$Memo"; ?> Did I do something wrong? Filenames are userdat.html, and userdat.php Quote Link to comment Share on other sites More sharing options...
Dragonfire Posted May 15, 2007 Share Posted May 15, 2007 Did you try uploading these files on a server and then trying or did you try just like that on your pc. You could also get a server testing program from the internet. Hope I solved your problem. Php files do not function properly without server programs running so you can't view what the file really displays just on your pc. Quote Link to comment Share on other sites More sharing options...
Zarkyun Leighvyn Posted May 15, 2007 Author Share Posted May 15, 2007 thanks, I guess I won't be seeing the results until I get a website to put them on. Quote Link to comment Share on other sites More sharing options...
Dragonfire Posted May 20, 2007 Share Posted May 20, 2007 Check out these websites they provide you tutorials and/or scripts for php:- http://www.php.com http://www.php.net http://www.w3schools.com/php/default.asp http://www.tizag.com Quote Link to comment Share on other sites More sharing options...
joemama718 Posted June 1, 2007 Share Posted June 1, 2007 yeah w3schools is especially good...and if you haven't found a website to put them on yet...don't forget about heliohost... Quote Link to comment Share on other sites More sharing options...
ShannenName Posted June 9, 2007 Share Posted June 9, 2007 br should be at the back and in this format <br /> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.