Jump to content

ERRORS


ecabrera

Recommended Posts

i get this when i tried to retrive a venue id so admin can edit them

 

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource

Warning: session_start() [FUNCTION.SESSION-START]: Cannot send session cache limiter - headers already sent

 

 

<?php
include 'scripts/connect.php';
if(isset($_GET['vid'])){

$query = mysql_query("SELECT * FORM venue");

while ($row = mysql_fetch_array($query)){

$id = $row['id'];
$venuename = $row['venuename'];
$address = $row['address'];
$phone = $row['phone'];
$vemail = $row['vemail'];
$state = $row['state'];
$town = $row['town'];
$zip = $row['zip'];
$seats = $row['seats'];

}

}


?>
<?php
require "header.php";
?>

Link to comment
https://forums.phpfreaks.com/topic/252063-errors/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.