Re: [PHP-DB] Newbie: Modify - Delete entries

2001-08-18 Thread sg
Thank you Kate! I'll try that, but I may need some more help on the way. Cheers! Sébastien. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL

[PHP-DB] Accents and postgresql

2001-08-18 Thread Florian Blaser
Hi everybody ! I've got a quite confusing problem : Yesterday, I upgraded my postgresql server from 7.0.3 to 7.1. I did some pg_dumps and created the DBS on the new server. Everything went fine. But now, I've got some problems : When accessed through php, *sometimes* characters with accents

Re: [PHP-DB] Help with update...

2001-08-18 Thread BD
it's amazing.. I've been banging my head for over an hour on this, then as soon as I send for help, I see the obvious - first of all, my error checking was done *before* the query executed... then, to make it even more of an effort in mindlessness, the table name capitalization was throwing it

[PHP-DB] Filtering

2001-08-18 Thread Felipe
Will PHP have any kind of active filter such as ASP's rs.Filer Criteria And what about searching as ASP's rs.Find Criteria ??? Thanks -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

[PHP-DB] Table results returning 2 sets of the same row

2001-08-18 Thread Ron Gallant
I used the code from this page http://php.net/manual/en/ref.mysql.php And my table results are shown 2 times per row. http://www.chizeledlight.com/test.php I also don't know how to specify the column I want the result from. Like $columnName. -- PHP Database Mailing List

[PHP-DB] Re: Table results returning 2 sets of the same row

2001-08-18 Thread Hugh Bothwell
Ron Gallant [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... And my table results are shown 2 times per row. http://www.chizeledlight.com/test.php ... at a guess, you requested the same field twice in your SELECT statement. I don't like the sample code given

[PHP-DB] Re: Filtering

2001-08-18 Thread Hugh Bothwell
Felipe [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Will PHP have any kind of active filter such as ASP's rs.Filer Criteria And what about searching as ASP's rs.Find Criteria ... that's what SQL is for; in fact, I wouldn't be at all surprised if these

[PHP-DB] Re: Table results returning 2 sets of the same row

2001-08-18 Thread Ron Gallant
I get Warning: Wrong parameter count for explode() in /www/chizeledlight/test.php on line 39 when I use this code. The line in error is explode($row); Hugh Bothwell [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Ron Gallant [EMAIL PROTECTED] wrote in

[PHP-DB] Re: Table results returning 2 sets of the same row

2001-08-18 Thread Ron Gallant
OK, I got it... I used $date = $row[date]; $news = $row[news]; to define the rows. Thats great. I am a Cold Fusion user by trade and am diving head first into PHP. I like it a bunch. Ron Gallant [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I get

[PHP-DB] Re: Table results returning 2 sets of the same row

2001-08-18 Thread Hugh Bothwell
Doh! I meant extract($row); Ron Gallant [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I get Warning: Wrong parameter count for explode() in /www/chizeledlight/test.php on line 39 when I use this code. The line in error is explode($row); --

Re: [PHP-DB] saving to two tables at the same time

2001-08-18 Thread CrossWalkCentral
I got it it appears that i had forgotten my } at the end of my secound insert -- Cross Walk Central www.crosswalkcentral.net Support Center Your Web Hosting Community! Jason Wong [EMAIL PROTECTED] wrote in message 004c01c127a1$7efe56a0$[EMAIL PROTECTED]">news:004c01c127a1$7efe56a0$[EMAIL

[PHP-DB] Include

2001-08-18 Thread CrossWalkCentral
OK here is one for you folks that know what you are doing. I am making a script and I have about 5 php files in it. That have alot of the same system variables can I create one file with these settings in it and if so any one want to give me some hints on this thanks again. -- Cross Walk

RE: [PHP-DB] Include

2001-08-18 Thread Seb Frost
chuck all the common variables in var.php then just put ?php require(var.php); ? - seb -Original Message- From: CrossWalkCentral [mailto:[EMAIL PROTECTED]] Sent: 19 August 2001 03:18 To: [EMAIL PROTECTED] Subject: [PHP-DB] Include OK here is one for you folks that know what

Re: [PHP-DB] Include

2001-08-18 Thread CrossWalkCentral
so in var.php i will put something like this $db=mydatabse; $username=myusername; $password=mypassword; and so on? -- Cross Walk Central www.crosswalkcentral.net Support Center Your Web Hosting Community! Seb Frost [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL