gautamphp Posted September 3, 2007 Share Posted September 3, 2007 Plz tell me:-- <form action ="b.php" method="post"> Name <input type = 'text' name = 'name'> <Br> Email <input type = 'text' email = 'email'> <Br> <input type = 'submit' name = 'submit' value = 'submit'> </form> this codding is correct or not Link to comment https://forums.phpfreaks.com/topic/67748-form-handling/ Share on other sites More sharing options...
madspof Posted September 3, 2007 Share Posted September 3, 2007 Yes but this post should not be in this section as it is not php related Link to comment https://forums.phpfreaks.com/topic/67748-form-handling/#findComment-340344 Share on other sites More sharing options...
ToonMariner Posted September 3, 2007 Share Posted September 3, 2007 welll - it SHOULD be... <form action ="b.php" method="post"> <fieldset> <legend>Details</legend> <label for="name">Name</label><input type="text" name="name"> <label for="email">Email</label><input type="text" email="email"> <input type="submit" name="submit" value="submit"> </fieldset> </form> I oft use a <p> or <div> tag around my label - input pairs to keep them together - sometimes <br /> but even I frown at myself then.... really shoudl do a good css tutorial on styling forms... Link to comment https://forums.phpfreaks.com/topic/67748-form-handling/#findComment-340358 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.