Home
| Links | Site Map | About Us | Contact Us | Add your code

 

PHP Code: Mysql result all Next Code

 There is a PHP function named <i>odbc_result_all</i> which returns the query results in a table. I have frequently found it useful to have the same function for MySQL queries. This function will create a table populated with the data as well as the field names.<br />
Usage:<br />
<br />
<b>
$result = dbQuery("SELECT * FROM tableName");<br />
mysql_result_all($result);<br />
</b>
<br />
I am not a PHP master, so any improvement suggestions are welcome.

 

Preview:

 

 

 

 

 

 

Free Code Script:

Get Free Java, HTML, PHP codes and scripts. Use code script and easily with HTML and web help and samples. Learn Javascript, HTML and PHP source code, function, forms, website, forum, design for webmasters.

Link Us:

Free Code Script

Just put this code to your pages and you will have our logo in your site! This brings traffic to your website.

Favorite Us!


We update weekly!

Visitors:

Online Users:


Go to the main page

  Home | Links | Site Map | About Us | Contact Us | Add your code
2008 © Krishna Eydat, YOU MUST NOT remove the link to our website in any code, it is against the copyright law.