Syntax

October 2, 2008

Is there a way to get the results of a MySQL 5.0 statement without actually executing it?

mysql
John asked:


I have an INSERT command, but I want MySQL to tell me if the command will be successful without actually executing it. Is there some MySQL syntax that makes this possible? Thanks!

Filed under Programming & Design by administrator

Permalink Print 2 Comments

September 19, 2008

How do you determine the number of rows in a mySQL table with PHP?

mysql
~*Stephanie S asked:


I want to determine the number of rows in a mySQL table and store it in a variable. Could someone please help me with the syntax?

Filed under Programming & Design by administrator

Permalink Print 1 Comment