Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

Total users.

$
0
0
Hi friends i will trying to my website show total registered users but script was not working so i want help here is the script -
<?php session_start(); include_once 'config.php'; 
$number = my_query(mysql_query=("SELECT COUNT (uid) AS number FROM `users`"));
$row = mysql_fetch_array($number);
echo "There are total $row['uid'] registered users. 
{
?>
<?
}
?>

any one tell me what wrong in this script.

Its showing an error like this -
syntax, error, T_string Variable
a*******/public_html/index.php

Viewing all articles
Browse latest Browse all 51036

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>