Quote
Warning: mysql_fetch_field(): supplied argument is not a valid MySQL result resource in D:\Hosting\6040598\html\gallerytest.php on line 15
<html><head>
<script type="text/javascript">
// Popup window code
function Popup(url) {
popupWindow = window.open(
url,'popUpWindow','width=900,height=550,left=0,top=0,resizable=no,scrollbars=no,toolbar=no,menubar=no,location=no,directories=no,status=no')
}
</script>
<title>Gallery</title><link rel="stylesheet" type="text/css" href="CSS/CSS.css"></head><body bgcolor="#D3D3D3">
<?php
include("includes/gallery_header.php");
$result = mysql_query("SELECT Code FROM Pages WHERE Page='Gallery'",mysql_connect("localhost","ausername","apassword"));
$property = mysql_fetch_field($result);
echo $property;
mysql_close(mysql_connect("localhost","ausername","apassword"));
?></body></html>

New Topic/Question
Reply



MultiQuote








|