Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 how to createtextbox in php
Index -> Graphics and Design, Web Design -> (X)HTML Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Homer_simpson




PostPosted: Tue May 13, 2003 12:07 am   Post subject: how to createtextbox in php

How do u make a text box in php and assign it's value to a variable...?
Sponsor
Sponsor
Sponsor
sponsor
Homer_simpson




PostPosted: Tue May 13, 2003 12:20 am   Post subject: (No subject)

oh never mind i just realized i dont need to make it in php...
code:
<HTML>

<FORM>
<HTML>

<FORM>
Please type your name here:<BR>
<INPUT TYPE=TEXT NAME=name><BR><BR>
<INPUT TYPE=SUBMIT VALUE="Submit data">
</FORM>

<BR><BR>
<?php
if ($name=="homer") {
Echo "Hail Master Homer!!! HAIL!!!!!";
}else{
Echo "you've got a strange name " .$name ." I dont like it";
}
?>
</HTML>
Display posts from previous:   
   Index -> Graphics and Design, Web Design -> (X)HTML Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: