Re: [PHP-DB] "EOQ" what does it mean??

2001-11-03 Thread p.whiter
If you are running windows, I suggest you download the .chm version of the php manual, great for easy searching and bookmarking pages etc. http://uk2.php.net/distributions/manual/manual-en.chm To answer your question, the first piece of code will be, replace: $output = << EOQ; with $output =

Re: [PHP-DB] "EOQ" what does it mean??

2001-11-03 Thread p.whiter
If you look up 'here doc' in the manual you will see that the reference to EOQ below is part of that, you can use whatever you like in place of EOQ, I think your problem is that 'here doc' is not supported in php 3 Try replacing the lines $output = << EOQ; with $output = print(""); HTH Paul

Re: [PHP-DB] Forms error in a catalog by Greenspan & Bulger

2001-11-03 Thread p.whiter
Hi If you get yourself any decent text editor, it will have an option to show line numbers. Plenty of free editors here: http://download.cnet.com/downloads/0,10151,0-4003619-106-0-1-0,00.html?tag=d ir Personally I use and would recommend 'Ultra-edit' It would probably be a good idea to just p

Re: [PHP-DB] php bulletin/dicussion board

2001-11-01 Thread p.whiter
If you have mySQL phpBB is excellent http://www.phpbb.com/ HTH Paul - Original Message - From: "Tom Hodder" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 01, 2001 3:52 PM Subject: [PHP-DB] php bulletin/dicussion board : : Hi, : : can anyone recommend a good

Re: [PHP-DB] connecting to msql... easy question!

2001-10-20 Thread p.whiter
Hi Well you should have the server name from your host, *usually* 'localhost', a typical connection for me is below: $connection = mysql_connect("localhost","username","password") or die("Couldn't Connect"); HTH Paul - Original Message - From: "David Bedingfield" <[EMAIL PROTECTED]> To:

Re: [PHP-DB] Check Boxes!

2001-10-20 Thread p.whiter
Try removing the parenthesis from your update sql query $sql = "UPDATE vacancies SET AuthStatus='1' WHERE JobID = '$JobID'"; HTH Paul - Original Message - From: "Matt C" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, October 20, 2001 12:43 AM Subject: [PHP-DB] Check

Re: [PHP-DB] newbie - problems with Select and timestamp(14) calculation

2001-10-19 Thread p.whiter
ed out, still I have learnt a lot in the process, which is what it's all about I guess! Thanks again Paul - Original Message - From: "p.whiter" <[EMAIL PROTECTED]> Subject: Re: [PHP-DB] newbie - problems with Select and timestamp(14) calculation : Thanks to everyone for

Re: [PHP-DB] newbie - problems with Select and timestamp(14) calculation

2001-10-18 Thread p.whiter
Thanks to everyone for your help!! I have plenty to try here, I'll let you know how I get on with it Regards Paul - Original Message - From: "Jyrki Leppala" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "p.whiter" <[EMAIL PROTECTED]&g

Re: [PHP-DB] newbie - problems with Select and timestamp(14) calculation

2001-10-18 Thread p.whiter
joy at all. I have spent far too much time on this, it really should be quite straightforward to compare against a Timestamp column!! If anyone else has any ideas.. Thanks Paul - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> To: "p.whiter" <

Re: [PHP-DB] newbie - problems with Select and timestamp(14) calculation

2001-10-18 Thread p.whiter
should really be a rather simple query to achieve, but it is turning into a big headache. Thanks again Paul - Original Message - From: "Russ Michell" <[EMAIL PROTECTED]> To: "p.whiter" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, Octob

[PHP-DB] newbie - problems with Select and timestamp(14) calculation

2001-10-18 Thread p.whiter
Hi I am trying to set-up a type of anti-flood block on one of my forms, the way I am doing this is that when the first submission is made I log various details into a user_log table including IP no and a Timestamp (14) column called log_time. Now if the button is clicked again the php script will