00:00
00:00
Newgrounds Background Image Theme

Our goal is for Newgrounds to be ad free for everyone! Become a Supporter today and help make this dream a reality!

PHP: Basics

1,679 Views | 1 Reply
New Topic

PHP: Basics 2005-11-03 23:07:15


PHP: Main

Start ever PHP code with:
<?php
and end with:
?>
_______

Ok, here we will use some vars:
<?php
print "Name?";
$name=$_POST['form']
print "Hi, $name!";
?>

That would display the users typed name as (Hi, (username)!). Hope that is what you ment :).


BBS Signature

Response to PHP: Basics 2005-11-03 23:29:18


See my comment in the other thread


BBS Signature