Hi 

I got a reply offlist from Shawn Green telling me to check my indexes on table 
pending_cart.

As it turned out, the primary index (id) did not have its auto_increment bit 
set.

ALTER TABLE `pending_cart` 
        CHANGE `id` 
        `id` INT( 11 ) 
        DEFAULT '0' 
        NOT NULL 
        AUTO_INCREMENT;

Took care of the situation.

Thanks again Shawn.


Kind regards

Andy

-- 
Registered Linux User Number 379093
-- --BEGIN GEEK CODE BLOCK-----
Version: 3.1
GAT/O/>E$ d-(---)>+ s:(+)>: a--(-)>? C++++$(+++) UL++++>++++$ P-(+)>++
L+++>++++$ E---(-)@ W+++>+++$ !N@ o? !K? W--(---) !O !M- V-- PS++(+++)
PE--(-) Y+ PGP++(+++) t+(++) 5-- X++ R*(+)@ !tv b-() DI(+) D+(+++) G(+)
e>++++$@ h++(*) r-->++ y--()>++++
-- ---END GEEK CODE BLOCK------
--
Check out these few php utilities that I released
 under the GPL2 and that are meant for use with a 
 php cli binary:
 
 http://www.vlaamse-kern.com/sas/
--

--

Attachment: pgpMW2glnjhUp.pgp
Description: PGP signature

Reply via email to