Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

Replacement for this code?

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Replacement for this code?

Postby phpnewbie34 » Tue Apr 30, 2013 4:43 pm

$query = "SELECT COUNT(*) FROM pixs";
$total_pages = mysql_fetch_array(mysql_query($query));
$total_pages = $total_pages[num];

Any suggestions?
phpnewbie34
New php-forum User
New php-forum User
 
Posts: 14
Joined: Mon Apr 22, 2013 4:00 am

Return to PHP coding => General

Who is online

Users browsing this forum: Google Feedfetcher and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron