Re: [PHP-DB] Re: Showing various result from a mysql query

2005-10-05 Thread annA
Hi Juan, Micah is correct. You must try it in the Flash environment. As I was lazy and didn't want to check all your php, I created a simple test file from your mail: ?php Header(Content-type: application/x-www-urlform-encoded);?

[PHP-DB] NOT NULL - newbie

2005-10-05 Thread W Roothman
Dear All, When declaring values for an identifier with unsigned auto_increment, is it necessary to include NOT NULL? my_id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY, or my_id INT NOT NULL UNSIGNED AUTO_INCREMENT PRIMARY KEY, Regards, Will

Re: [PHP-DB] NOT NULL - newbie

2005-10-05 Thread Constantin Brinzoi
Hi! I think that NOT NULL comes together with PRIMARY KEY and not with AUTO_INCREMENT. Follow this link http://dev.mysql.com/doc/mysql/en/create-table.html for detailed information about creating tables in MySQL. Have a nice day! Aurel On Wed, 2005-10-05 at 12:15 +0200, W Roothman wrote:

Re: [PHP-DB] Re: Showing various result from a mysql query

2005-10-05 Thread annA
Hi Juan I'd put it at the beginning of the php script if it's always going to be sending its data to Flash, and certainly before ANY output: ?php header(Content-type:application/x-www-urlform-encoded); $conn = @mysql_connect(localhost, blah,blah23); header is pretty useful: