On Friday, 22. March 2002 14:04, [EMAIL PROTECTED] wrote:

Hello,

> I encountered a problem with my pictures-DB which I with PHP.
> The table's stops at row 126, all photos I store in DB afterwards all get
> the ID 127.
>
> I don't know if it's php or MySQL causing this.
>
> My table structure is
> field         type            Allow Nulls     Key     Default Value
> Albumid               tinyint(4)      No              None    0
>
> Any solution

please read the manual section column types: 
http://www.mysql.com/doc/C/o/Column_types.html

tinyint has a range from -128 to 127.
If you have more rows than 127 use unsigned tinyint (0..255) or int.

Regards

Georg

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to