<?php
$random = md5(uniqid());
echo $random;
?>

select count(*) as num, ID, Name from table
group by ID,Name
having count(*) > 1
+-----+------+------------+
| num |ID | Name |
+-----+------+------------+
| 3 | 1 | Kuppiya |
+-----+------+------------+
| 2 | 3 | Apple |
+-----+------+------------+
<?php
$myA[0] = 12;
$myA[1] = 8;
$myA[2] = 20;
$arr_size = count($myA);
echo $arr_size; // 3
//you can also use sizeof()
//sizeof() is a alias for count()
$arr_size2 = sizeof($myA);
echo $arr_size2; // 3
?>
<?php error_reporting(0); // Turn off all error reporting ?>
<?php
//check if submit button is pressed
if(isset($_POST['sub']))
{
$path_id = $_POST['test'];//get selected radio button value
if($path_id == 1)
{
header("Location: page1.php");//redirect to the new page
}
else if($path_id == 2)
{
header("Location: page2.php");
}
else if($path_id == 3)
{
header("Location: page3.php");
}
}
?>
<html>
<head>
<title>test</title>
</head>
<body>
<form id="form1" name="form1" method="post" action="test.php">
Form1:
<input type="radio" name="test" id="test" value="1" />
Form2:
<input type="radio" name="test" id="test" value="2" />
Form3:
<input type="radio" name="test" id="test" value="3" />
<br />
<br />
<input type="submit" name="sub" value="submit" />
</form>
</body>
</html>
<div width="35">
<marquee bgcolor="skyblue" scrollamount="2"
direction="up" width="35%">
<strong>
THIS IS A SIMPLE NEWS REEL<br>
You can add many lines<br>
THIS IS ANOTHER LINE<br>
<strong>
</marquee>
</div>