confused about the update

General discussions related to php

Moderators: macek, egami, gesf

Post Reply
MarioParty
New php-forum User
New php-forum User
Posts: 42
Joined: Tue Aug 02, 2011 2:52 am

Re: confused about the update

Post by MarioParty » Sat Dec 28, 2013 2:16 pm

Code: Select all

$sql = ("UPDATE product SET images_2= 'NULL', WHERE product_id='$product_id'");
should be

Code: Select all

$sql = ("UPDATE product SET images_2= 'NULL' WHERE product_id='$product_id'");

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests