|
Web design and Programming Discuss website creation and other programming topics. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||
|
php problem
ok, fixed last problem, does anyone know how to type in php coding:
how to turn this into php coding?: Code:
</td></tr><tr><td><b>Player Style</b></td><td> <select name="color"> <option value="">---Please Select---</option> <option value="Style type: "CQB"">CQB</option> <option value="Style type: "GUNNER"">GUNNER</option> <option value="Style type: "SNIPER"">SNIPER</option> <option value="Style Type: "MEDIC"">MEDIC</option> </select></b></td><td> Code:
</tr><tr><td><b>Legal Age "15":</b></td><td> <input type="checkbox" name="Legal Age" value="Im the legal age">Yes<br> <input type="checkbox" name="Im not the legal age" value="No">NO<br>
__________________
Gaming Rig AMD 64 3200+ venice skt 939 Akasa ak-913 Evo 33 Abit an8 fatal1ty nforce 4 ulutra OCZ 1gb pc3200 dual channel Platinum Ledtek geforce 6800ultra 256mb ddr3 Seagate barracuda 160gb Plextor px-716a on-board 5.1 sound Logitech X-530 surround sound Last edited by spinal; 01-25-2004 at 03:11 PM. |
#2
|
||
|
Echo("HTML LINE\n") but you need to escape any " by putting a \ before it (credit to p)
|
#3
|
||
|
re:
i dont understand, i have never used php before?
|
#4
|
||
|
Echo("</td></tr><tr><td><b>Player Style</b></td><td>\n");
Echo("<select name=\"color\">\n"); Echo("<option value=\"\">---Please Select---</option>\n"); Echo("<option value=\"Style type: \"CQB\"\">CQB</option>\n"); Echo("<option value=\"Style type: \"GUNNER\"\">GUNNER</option>\n"); Echo("<option value=\"Style type: \"SNIPER\"\">SNIPER</option>\n"); Echo("<option value=\"Style Type: \"MEDIC\"\">MEDIC</option>\n"); Echo("</select></b></td><td>\n"); |
#5
|
||
|
Re: php problem
Stop php and start it again after html output..
<? $somephp="yes"; ?> <html> <? $somemorephp="yes"; ?>
__________________
04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq |
#6
|
||
|
re:
ok, thank you both
__________________
Gaming Rig AMD 64 3200+ venice skt 939 Akasa ak-913 Evo 33 Abit an8 fatal1ty nforce 4 ulutra OCZ 1gb pc3200 dual channel Platinum Ledtek geforce 6800ultra 256mb ddr3 Seagate barracuda 160gb Plextor px-716a on-board 5.1 sound Logitech X-530 surround sound Last edited by spinal; 01-25-2004 at 05:03 PM. |
#7
|
||
|
$dollar = "</td></tr><tr><td><b>Player Style</b></td><td>
<select name=\"color\"> <option value=\"\">---Please Select---</option> <option value=\"Style type: \"CQB\"\">CQB</option> <option value=\"Style type: \"GUNNER\"\">GUNNER</option> <option value=\"Style type: \"SNIPER\"\">SNIPER</option> <option value=\"Style Type: \"MEDIC\"\">MEDIC</option> </select></b></td><td>" Easyer then haveing to write echo tag, and this way a specific thing can be called instead of everything inserted at once as in BBs post and Ps post. Just include one config file with all different kinds of veribels and then do as above and then call for ex: $dollar ex: echo $dollar; |
#8
|
|||
|
Quote:
__________________
Squad Tag Generator Take the guessing work out of making you squad tag. unavailable for re-design |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PHP Page Problem | Webviper2006 | Web design and Programming | 7 | 02-01-2006 08:45 PM |
MySQL Problem or PHP? | Webviper2006 | Web design and Programming | 3 | 12-26-2005 12:17 AM |
PHP-NUKE and PHP | ~BLÃÐE~ | phphq.Net Forums | 9 | 01-19-2005 06:49 AM |
php/mysql problem need help | G.I.JOE*MFA* | Web design and Programming | 3 | 02-09-2004 05:20 PM |
<?PHP Problem ?> | Se7eN | Web design and Programming | 4 | 08-02-2003 08:11 PM |