On Thu, March 8, 2007 3:38 am, Ross wrote:
?php
include ('../phpscripts/connect.php');
$id = $_GET['id'];
$query = SELECT * FROM mypdfs WHERE id =$id;
$result= mysql_query($query) or die('Error, query failed');
if (!mysql_num_rows($result))
{
die(No matching records were found in
I guess the problem is here :
$query = SELECT * FROM mypdfs WHERE id =$id;
Change it to :
$query = SELECT * FROM mypdfs WHERE id =.$id;
-Message d'origine-
De : Ross [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 8 mars 2007 09:39
À : php-general@lists.php.net
Objet : [PHP] server error or
This script change does not make a difference. What could have been turned
on/off on the server to cause this?
I can output the binary to screen but I cannot create the pdf.
R.
Flavien CHANTELOT [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I guess the problem is here :
$query =
On 3/8/07, Ross [EMAIL PROTECTED] wrote:
?php
include ('../phpscripts/connect.php');
$id = $_GET['id'];
$query = SELECT * FROM mypdfs WHERE id =$id;
$result= mysql_query($query) or die('Error, query failed');
if (!mysql_num_rows($result))
{
die(No matching records were found in the
4 matches
Mail list logo