[PHP-DB] PHP+MySQL PROBLEM: mysql_fetch_fields mess?

2001-05-12 Thread Davor Pleskina
Hi Everyone, Is it just me, or something is BADLY wrong with some MySQL functions? Is there some rule in which order to call mysql functions? I made following routine: !--- code start -- ?php function prikazi_masku($tablica, $key_field, $key_value) { global $mycon_id; $data

Re: [PHP-DB] Cookie effect

2001-05-12 Thread Geoff Caplan
David problem is, the cookie only comes into effect after I've clicked thru to another page from login.php...any ideas on this? You don't explain why you need to access the cookie immediately. If you just want to check it has been accepted, the usual approach is to use headers to do a

Re: [PHP-DB] Cookie effect

2001-05-12 Thread Jason Brooke
David problem is, the cookie only comes into effect after I've clicked thru to another page from login.php...any ideas on this? Sure - it's because of the way the http protocol works. If you've just set a value in a cookie, why do you need to read the cookie back in order to check the

[PHP-DB] ASE serversRe: [PHP-DB] php4 and sybase-ct seg fault

2001-05-12 Thread Alain DESEINE
Paul Kozlenko wrote: Reporting errors to the web page I get; Warning: Sybase: Server message: Changed database context to 'pcs1prod'. (severity 10, procedure N/A) in /pcs/pk.php on line 10 (where line 10 is actually the first line shown here - sybase_connect) Data does come back

Re: [PHP-DB] True and Flase in mysql !!

2001-05-12 Thread Tomás García Ferrari
Hello, What about this: MyColumn enum('true','false') default 'false' hi all .. What is the best way to create True\Flase field in mysql ?? Regards, Tomas Garcia Ferrari Bigital http://bigital.com -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP-DB] Date display problem

2001-05-12 Thread vipin chandran
Hi, How do I display the time and date on my message board depending on the time of the place from where the data is entered.Everytime the date that is displayed is not what it was when the message was posted. thanx, vipin chandran [EMAIL PROTECTED] -- PHP Database Mailing List

[PHP-DB] variable vaule lost

2001-05-12 Thread Sharmad Naik
pls look at the attachment -- The secret of the universe is @*í!'ñ^#+ NO CARRIER ___ _ _ _ |_|_||_||_||\/||_|| \ _|| || || \| || ||_/ ? echo(FORM); $i=10; for ($j=0;$j3;$j++){ echo $j; echo(INPUT TYPE=checkbox NAME='$j'

RE: [PHP-DB] variable vaule lost

2001-05-12 Thread David Balatero
So what's the problem? I'm kind of lost here.. -- David Balatero -Original Message- From: Sharmad Naik [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 10, 2001 1:26 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] variable vaule lost pls look at the attachment -- The secret of the universe

[PHP-DB] about create index in interbase

2001-05-12 Thread Pan Gang
I create a table in PHP and next to create the index for it . But the create index statment can't work in PHP. It can work in ISQL . It's a bug in PHP? The program like that: $sql = CREATE TABLE $table_name (id integer ,name char(20)); $ibase_query($conn,$sql); $sql = CREATE INDEX