<?php
include("DBconnect.php");
$u="select count(username) as 'COUNTUSER' from users where username='shikha verma'";
$result = mysql_query($u);
while ($row = mysql_fetch_array($result))
{
echo $row[COUNTUSER];
}
/*if ($value[0]>0)
{
die("email already exist");
}*/
?>
the code inside the comment is not working please give me suggetions
Shikha_1 -4 Light Poster
pritaeas 2,194 ¯\_(ツ)_/¯ Moderator Featured Poster
Shikha_1 -4 Light Poster
EvolutionFallen 107 Junior Poster
Atli 182 Posting Pro
broj1 356 Humble servant Featured Poster
Atli 182 Posting Pro
broj1 356 Humble servant Featured Poster
EvolutionFallen 107 Junior Poster
diafol
Atli 182 Posting Pro
diafol
kkbalwada 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.