Jump to content

Archived

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

bilis_money

TABLE question 'ENUM' value? how to set it to zero?

Recommended Posts

hi,

can someone please guide me on how to set an 'ENUM' value to '0' or '1'
i have only two values '0' and '1'.

How to set this using PHP?

thank you very much in advance.

Share this post


Link to post
Share on other sites
[code=php:0]mysql_query("UPDATE `table` SET `field`='0' WHERE `id`='$id'") or die(mysql_error());[/code]

Share this post


Link to post
Share on other sites

×

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.