Ad agency

Closed
sswin Posts 4 Registration date Tuesday 22 September 2009 Status Member Last seen 1 October 2009 - 29 Sep 2009 à 23:08
 Blocked Profile - 30 Sep 2009 à 07:42
Hello,
am doing my online ad agency mini project in php with mysql..in that am using checkbox to get client ad information..how to store checkbox value in database



front end:php
server:xampp
database:mysql

1 response

Blocked Profile
30 Sep 2009 à 07:42
Dear Sir,

While writing the codes, you will have to assign a value to it like in the following example.

<input type="checkbox" name="cb[]" value="a" />

Hence the value will be stored in the database under "a". You will have to assign a value to each on the check box that you set up.

Thank you and hope that this information has been useful in solving your problem.