|
|
Joined: Sep 2003
Posts: 488
Code Monkey
|
Code Monkey
Joined: Sep 2003
Posts: 488 |
Hmm, try this... <form method="post" action="<?php echo($PHP_SELF); ?>"> <br /><select name="ImgType"> <br /> <option value="Photo Object" <br /> <?php if ($ImgType == 'Photo Object') {echo('SELECTED') ;} ?> <br /> >Photo Objects</option> <br /> <option value="Stock Photo" <?php if ($ImgType == 'Stock Photo') {echo('SELECTED') ;} ?> <br /> >Photos</option> <br /> <option value="Vector" <?php if ($ImgType == 'Vector') {echo('SELECTED') ;} ?> <br /> >Vector Clipart</option> <br /></select> <br /><span class="regular">Search by Keyword:</span><br> <br /><input type="text" name="keyss" value="<?php if (isset($submit)) {echo $keyss ;} ?>"> <br /><input type="submit" name="submit" value="Go!"> <br /></form> <br /><?php <br />else (!isset($submit)) { <br />Do Something <br />} <br />else { <br />Do Something Else <br />} <br />?>
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 808
Joined: July 2001
|
|
Forums63
Topics37,575
Posts293,932
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|