xfezz Posted October 24, 2006 Share Posted October 24, 2006 I would like to have this checkbox contained in its own div tag. any ideas? I have been farting around with it for quite some time, but im sure its simple syntax thats screwing me up.[code]echo "<input type=\"checkbox\" name=\"del_select[]\" value=\"$db_field[id]\" />";[/code]EDIT:nevermind I got it. [code]echo "<div id=\"article_chk\">"."<input type=\"checkbox\" name=\"del_select[]\" value=\"$db_field[id]\" />"."</div>";[/code] Link to comment https://forums.phpfreaks.com/topic/24891-div-tags-in-php-ouput/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.