This list is quicker by miles...

I am asking, I was just attempting to demonstrate that I've done some homework and am not just expecting that spoon you're so quick to wack me with :)

Thanks Andrew

Cheers Don

Andrew Errington wrote:
On Wed, 08 Nov 2006 16:47, you wrote:
What function should I be using to execute an INSERT statement?

See:  http://au3.php.net/manual/en/ref.mysql.php

I'm suspecting mysql_query()

See:  http://au3.php.net/manual/en/function.mysql-query.php


Are you asking the question, or thinking aloud?

I don't know php, but yes, I suggest it is mysql_query(). I also suggest that if the result is TRUE that you call mysql_affected_rows() to verify that 1 row was affected (assuming you are inserting one row).

Furthermore, I suggest that this question should have been directed to the PHP list.

A

--
Don Gould
www.thinkdesignprint.co.nz - www.tcn.bowenvale.co.nz - www.bowenvale.co.nz - www.hearingbooks.co.nz - www.buxtonsquare.co.nz - SkypeMe: ThinkDesignPrint - Good ideas: www.solarking.co.nz

Reply via email to