Re: MYSQL PROBLEM
| From: | Sandeep Hundal | Date: | Tue, 26 Sep 2000 01:07:32 +0000 |
| Subject: | Re: MYSQL PROBLEM | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-17463@lists.php.net to get a copy of this message | ||
Dhaval,
try getting rid of the undersocre between 'primary' and 'key'. I've
used that script for counting the clicks on my site too, and it
works... :)
/sunny
--- Dhaval Desai <dhaval_adams@yahoo.com> wrote: > Hi! Guys
>
> I have some problem creating a table in mysql.
> I am trying to make a table as below:
>
> create table clickcount (id INT AUTO_INCREMENT NOT
> NULL PRIMARY_KEY, clicks INT);
>
>
> I get errors..doing this..
>
> can anybody tell me what is the error..?
> WHat is the use of primary key and Auto increment...??
>
> Please don't tell me to refer the manual..coz I have
> allready ..but can't get a thing in my head..
>
> Thanx !!!!
>
>
> Dhaval Desai
>
>
> __________________________________________________
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo! Messenger.
> http://im.yahoo.com/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>
__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/