Jump to content

div tags in php ouput


xfezz

Recommended Posts

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
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.