[Phpmyadmin-devel] Demo server and wiki are down
Honey Hassan
jam_feroza at hotmail.com
Mon Jul 27 13:49:00 CEST 2009
this is my page ,,,,user id is not inserting in database please help;;;
<?php
/*session_start();
if(isset($_SESSION["currentuser"]))
{
$user=$_SESSION["currentuser"];}
include("connection.php");
if(isset($_POST['roomscheckboxes']))
{
$room = $_POST['roomscheckboxes'];
$n = count($room);
$i = 0;
echo "The Rooms you selected are \r\n";
while ($i < $n)
{
$name=(!session_is_registered(myusername));
$rdate=date ("Y/m/d");
$sql = "INSERT INTO `reservation`.`roomreservation` (`username`, `roomid`, `reservation_date`) VALUES ('$_SESSION['currentuser']','$room[$i]', \'$rdate')";
$result=mysql_query($sql);
echo "<li>{$room[$i]}</li> \r\n";
$i++;
}
}
?>*/
_________________________________________________________________
More than messages–check out the rest of the Windows Live™.
http://www.microsoft.com/windows/windowslive/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20090727/630b1137/attachment.html>
More information about the Developers
mailing list