hi there guys! how can i add textbox using button? i know that it can be done using javascript but i was required to use php. Is it possible to do it in php? thanks
karin21 0 Newbie Poster
Recommended Answers
Jump to Postfor this to work in php you would need to get the page to reload/refresh.
personally, if i ever wanted to do something like this i'd use Javascript. I'd more than likely use the Jquery Javascript framework to do it.
Jump to Post<?php if(isset($_GET['withButton'])){ echo '<input type="text">'; } ?>
shorter
All 6 Replies
phper 9 Posting Whiz in Training
opmrcrab 5 Newbie Poster
karin21 0 Newbie Poster
opmrcrab 5 Newbie Poster
almostbob 866 Retired: passive income ROCKS
melodangdang 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.