> mysql_select_db("$DBName");
> mysql_query("SELECT Date,BuyerID,OrderNumber FROM Buyers")
>
> How do I assign the variable to both of those lines that make
> up the DB
> call???
Unless you're planning to use several databases, you only have to use
mysql_select_db($DBName); once, normally where
I just started going into some of the other files that will need updating
and I have run into another little prob dealing with the same thing
Here it is, maybe you can shed some light on it for me.
$result=mysql_db_query("$DBName","SELECT Date,BuyerID,OrderNumber FROM
Buyers");
The $Result v
> .. if mysql_db_query is what you're using.
Actually below is waht I am using...
mysql("$DBName","INSERT INTO Category VALUES('$Category','')");
After your response, I changed it to...
mysql_select_db("$DBName");
mysql_query("INSERT INTO Category VALUES('$Category','')");
Works like a charm
> > It means something is out of date...looks like you need an update of
> > something...
>
> This is the line 7 that it is talking about How do I know
> what is out of
> date and how to fix it? Are there any utilities out there for updating
> scripts or do I need to manually go into each .p
Hi,
> Warning: mysql is deprecated; use mysql_select_db() and mysql_query()
> instead in (rootPath here)\cart\admin\addcategoryresponse.php
> on line 7
[snip]
> What does depricated mean? I have searched the manual and the
> resources
> online but cannot find anything abou
quot;test","select * from tablename")
.. if mysql_db_query is what you're using.
Hope this helps,
Björn Swift
- Original Message -
From: "Robbie Newton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 18, 2002 12:53 AM
Subject: Warnin
> It means something is out of date...looks like you need an update of
> something...
This is the line 7 that it is talking about How do I know what is out of
date and how to fix it? Are there any utilities out there for updating
scripts or do I need to manually go into each .php file and upd
> Hello everyone.
>
> I am new to MySQL and am trying to setup a shopping cart using MySQL and
> PHP.
> They are files that I found online for free from Rosenet Internet
Services.
>
> The problem is that when I try to add a category for a product I get this
in
> return:
Hello everyone.
I am new to MySQL and am trying to setup a shopping cart using MySQL and
PHP.
They are files that I found online for free from Rosenet Internet Services.
The problem is that when I try to add a category for a product I get this in
return:
Warning: mysql is deprecated; use