With my limited knowledge (i.e none, lol) i was wondering if you are able to
give me the code you use to do it. i will then play around with it t get
Canberra, is that ok? doesn't matter if not.
--
Cheers
-
Simon Angell
Canberra ACT
I am having trouble with a PHP script. I am not the one who
made this and my knowledge on php is very little.
I came across this php script
www.canberra-wx.com/bomonster/bomonster01.php
Tried loading this and had too many page errors to figure out what you
are doing.
Thats a Nice feaure you have, How do you do that?
I have spoken to guy who made the php file and he will look into the bugs
for me, also i will keep playing around with it.
--
Cheers
-
Simon Angell
Canberra ACT
www.canberra-wx.com
Thats a Nice feaure you have, How do you do that?
I have a cron event on my server that grabs the relevant page from the
web site soon after it is updated (around 20 past each hour) using lynx
-dump url which then pipes the resulting page dump through grep to grab
just the line of data that
$query=INSERT INTO news VALUES($newsid,'$title','$author',$posted,'$body'
);
-Original Message-
From: menezesd [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 02, 2002 12:03 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Need some help please
Hello Friends.
I know I am asking for too much.
Hi. A quick hack to figure out your problem is
to change:
IF (mysql_query($query)){
print Row added to table;
} else {
print error adding row;
}
To:
if (!$result = mysql_query($query)) {
print 'Query Error: ' . mysql_error();
exit;
} else {
print 'Success! Row added.';
}
In
6 matches
Mail list logo