Jump to content

Newbie --> Does anyone know what kind of key the bold code below creates?


googsnet

Recommended Posts


I need to know what kind of Key is generated by this PHP code (line 9)

1. <?PHP
2.
3. $query = "CREATE TABLE carttemp(
4. hidden INT(10) NOT NULL AUTO_INCREMENT,
5. sess CHAR(50) NOT NULL,
6. prodnum CHAR(5) NOT NULL,
7. quan INT(3) NOT NULL,
8. PRIMARY KEY (hidden),
9. [b]KEY(sess))";[/b]
10.
11. ?>

And is there a way to accomplish this through the phpmyadmin console that my hosting providers are forcing me to use?

Thanks in advance.

Googsnet

Archived

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

×
×
  • Create New...

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.