Jump to content

Archived

This topic is now archived and is closed to further replies.

xfezz

div tags in php ouput

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]

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×

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.