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 -
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
<?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