Hi,
I've come across a sample of error checking for check boxes:
$retail_checked = (isset($_POST) and $_POST == "on");
where the $_POST[] == "on" , where this apply in
<input type="checkbox" value="1" name="retail" $retail >1 ?
How does the $retail store the value 1 there, does it pass the value 1 to the $retail in the
<input /> ? and then I can check it using isset $_POST?

Member Avatar for amigura

what is the error?
what was u trying to do?

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.