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 P
chuck all the common variables in var.php
then just put
- 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 you are doing.
I am making a sc
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 Centra
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 PRO
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);
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
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]>
"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 'f
"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 giv
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 (http://www.php.net/
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 the
"Caleb Walker" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am wondering if there is an easier way to format dates that come out of
a
> database. My database stores my date in the format- "-MM-DD". I know
> that I can take this and rearrange it with s
I am wondering if there is an easier way to format dates that come out of a
database. My database stores my date in the format- "-MM-DD". I know
that I can take this and rearrange it with some string manipulation but is
there any other easier way to do that say like making it say Sep. 09,
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 all
I'm working under the gun here, so please excuse me if this turns out to be
something really simple, but it's got me stumped... I'm trying to update the
"cover" field in a table by using the album_id field in the table and adding
a ".jpg" extention to it...
For example:
"Update albums set cover =
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 d
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 PRO
17 matches
Mail list logo