December 30, 2008
Mysql Data Manipulation Part One
Filed under Education by administrator
September 30, 2008
Delphi for PHP mysql query sample
Filed under Howto by administrator
Filed under Programming & Design by administrator
September 25, 2008
Delphi for PHP mysql dbevent sample
Filed under Howto by administrator
September 21, 2008
How do you tell if the row returned form MySQL is the last of it’s type?
RobbDogg asked:
I’m fetching results form a MySQL query using PHP. In my while loop I’m using a switch statement to execute blocks of code based on the results of a certain field type. After I have retrieved all the results for based on a certain field, I need to execute one last bit of code. Is their a way to tell if the row returned by the MySQL query is the last row matching a certain field? I figure it would be best to use an if statement to test if the result is the last row matching a certain field and execute my remaining code. Any other suggestions?
I’m fetching results form a MySQL query using PHP. In my while loop I’m using a switch statement to execute blocks of code based on the results of a certain field type. After I have retrieved all the results for based on a certain field, I need to execute one last bit of code. Is their a way to tell if the row returned by the MySQL query is the last row matching a certain field? I figure it would be best to use an if statement to test if the result is the last row matching a certain field and execute my remaining code. Any other suggestions?
Filed under Programming & Design by administrator
Filed under Programming & Design by administrator
September 19, 2008
How do you determine the number of rows in a mySQL table with PHP?
Filed under Programming & Design by administrator



