Jump to content


krystof78

Member Since 13 Oct 2009
Offline Last Active --

#966493 "Resource id #12" issue

Posted by krystof78 on 27 November 2009 - 12:35 PM

Actually, I found the solution right after posting here. Here is what I did if it can help some people:
<?php 
$sql = "SELECT SUM(bedroom_total) FROM bedrooms WHERE event_id='$sel_event[id]'";
$result = mysql_query($sql);
$r = mysql_fetch_row($result);
echo "$r[0]";
?>

Thanks anyway! :)


Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com