homepage Welcome to WebmasterWorld Guest from 54.205.106.111
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
dynamic radio button creation
swinger




msg:4553290
 6:00 am on Mar 11, 2013 (gmt 0)


<select name="form[]" id="datatype" >
<option value="select">Select Here</option>
<option value="1">text</option>
<option value="2">password</option>
<option value="3">email</option>
<option value="4" >textarea</option>
<option value="5" >radiobutton</option>
</select>

I have created all types dynamically.Now i want to create radiobuttons dynamically with php.I am inserting the values and retrieving to display the form created by the user like this:

<?php if($fetch['identify']==1)
{
$fetch['label_name']; ?> <input type='text' name="info[]" required='required' placeholder="<?php echo $fetch['value'];?>"/>
<?php } />

So in this way how to add radiobuttons..plz help me

 

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved