[PHP-DB] PHP - INGRES II functions

2002-03-03 Thread Ismini Tsichli
Hi! Has ANYONE used the Ingres II functions in PHP for Windows? PHP and Apache crash when I activate the "extension=php_ingres.dll" line in php.ini I think there might be a problem with the file php_ingres.dll or something. Please answer if you know ANYTHING about it. Thanks! Ismini.

Re: [PHP-DB] WHERE clause

2002-03-03 Thread Greg Donald
On Sun, 3 Mar 2002, Jennifer Downey wrote: >Wondering do I have to have the WHERE clause in a select query? > >$b=mysql_query( SELECT * FROM my_table) <-can I use something like this >or do I have to put WHERE in the statement? The where clause is optional. -- -

Re: [PHP-DB] Pulling record by time of day

2002-03-03 Thread olinux
try this: if (900<=$time && $time<=1500) {$time = 1;} olinux --- [EMAIL PROTECTED] wrote: > Hello, > > I've been working on pulling one or more records > from my db by the time of > day. Here is what I've tried so far, > $time = date("Hi"); > if (900<=$time<=1500) {$time = 1;} > ?> > I would

Re: [PHP-DB] security

2002-03-03 Thread Paul Burney
on 3/3/02 7:39 PM, Ric Mañalac at [EMAIL PROTECTED] appended the following bits to my mbox: > i personally think that the developer still has > the control in making his php code secure. but how do you > think will this news affect php as one of the most popular > choice for web developers? Prob

[PHP-DB] security

2002-03-03 Thread Ric Mañalac
hi everyone, i'd just like to ask for comments re the current issue about security vulnerability of php. CERT has released an advisory regarding this. i personally think that the developer still has the control in making his php code secure. but how do you think will this news affect php as one o

[PHP-DB] WHERE clause

2002-03-03 Thread Jennifer Downey
Wondering do I have to have the WHERE clause in a select query? $b=mysql_query( SELECT * FROM my_table) <-can I use something like this or do I have to put WHERE in the statement? Thanks Jennifer -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP-DB] PHP + Oracle + Redhat Linux Stupid Question Maybe? Sorry

2002-03-03 Thread Steve Farmer
Hi Jason, You need the Oracle client installed and working rgds Steve At 11:39 AM -0500 1/3/02, Jason Lehman wrote: >This may be a stupid question but I am stuck. Do I have to have the Oracle >Linux Client to connet to a remote Oracle Database or can I just have the >php --with-oci8 turned on a

[PHP-DB] Pulling record by time of day

2002-03-03 Thread mike
Hello, I've been working on pulling one or more records from my db by the time of day. Here is what I've tried so far, I would then use $time in a query like this, $result = mysql_query("SELECT * FROM table WHERE id= $time",$db); But I can't get the IF statement to work, I've tried several dif

Re: [PHP-DB] Retrieving a date.

2002-03-03 Thread DL Neil
> > Ok? > Great, that explains better than "most" of the tutorials I've read. > It is unfortunate that most if not all reference documentation expect the > reader to have a college degree just on their subject in order to understand > "wot in 'ell" they're saying. > I've done pretty well in figur

Re: [PHP-DB] Tutorial?

2002-03-03 Thread Aron Pilhofer
Could you not put the form inside an if/else statement? If the button isset, or if the name equals submit, then show it disabled. Can't think of a lot of uses for this, unless, I suppose, you want to have a page with lots of forms on it, and you want to submit pieces of information. It wouldn't pr

Re: [PHP-DB] Retrieving a date.

2002-03-03 Thread Ken Thompson
On Sunday 03 March 2002 02:48 am, DL Neil wrote: > Ken, > > > > Check out DAYOFMONTH() and MONTH() and a wealth of other useful date > > > functions. RTFM: 6.3.4 Date and Time Functions > > > > There's a few interesting items here OK, Thanks for the pointer. > > Go for it... > > > > The answer to

Re: [PHP-DB] Tutorial?

2002-03-03 Thread Greg Donald
On Sat, 2 Mar 2002, Jennifer Downey wrote: >Can anyone point me to a good tutorial on how to disable a submit button >once clicked? >preferably in php. If you reload the page after the button is clicked then you can simply pass a $disable variable in your form as a hidden field, then you can che

Re: [PHP-DB] Retrieving a date.

2002-03-03 Thread DL Neil
Ken, > > Check out DAYOFMONTH() and MONTH() and a wealth of other useful date > > functions. RTFM: 6.3.4 Date and Time Functions > There's a few interesting items here OK, Thanks for the pointer. Go for it... > > The answer to your question about AUTO_INCREMENT 'reset' can be found at > > 6.5.3