The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Need help with form in HTML
Im lerning php and just experimenting and messing around with a few stuff.
Ive written this code in dreamweaver ( Thanx for you tutorial MindTrix, https://vborg.vbsupport.ru/showthrea...ghlight=elseif ) Heres the code: Code:
<?php $name = "Jaynesh"; if ( $name == "Bob" ) { print "Yes my name is $name"; } elseif ( $name == "Johnny" ) { print "Yes, My name is Johnny"; } elseif ( $name == "Mark" ) { print "Yes, My name is mark"; } elseif { $name == "Sarah" ) { print "Yes, My name is sarah"; } else { print "No, My name is $name"; } ?> e.g Imagine there is a form on a page, and when the user types the name Mark it will say Yes, My name is mark And if a user types a name which is not coded in the form it will say No, My name is Jaynesh. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|