[solved] How to create a working php form | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

[solved] How to create a working php form

Really need help

18th Sep 2020, 2:05 PM
Oyelola S. Toluwalope
Oyelola S. Toluwalope - avatar
3 Answers
+ 4
Name: <input type="text" name="name" value="<?php echo $name;?>"> E-mail: <input type="text" name="email" value="<?php echo $email;?>"> Website: <input type="text" name="website" value="<?php echo $website;?>"> Comment: <textarea name="comment" rows="5" cols="40"><?php echo $comment;?></textarea> Gender: <input type="radio" name="gender" <?php if (isset($gender) && $gender=="female") echo "checked";?> value="female">Female <input type="radio" name="gender" <?php if (isset($gender) && $gender=="male") echo "checked";?> value="male">Male <input type="radio" name="gender" <?php if (isset($gender) && $gender=="other") echo "checked";?> value="other">Other
18th Sep 2020, 2:07 PM
Alphin K Sajan
Alphin K Sajan - avatar
+ 4
Welcome bro. Happy Coding....
18th Sep 2020, 2:10 PM
Alphin K Sajan
Alphin K Sajan - avatar
+ 1
Aliphin K Sajan Thanks
18th Sep 2020, 2:09 PM
Oyelola S. Toluwalope
Oyelola S. Toluwalope - avatar