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 about it. Does it mean that 
> the SQL commands
> that are used in the php script are out dated and need to be changes
> to...( use mysql_select_db() and mysql_query() instead ) what 
> the warning
> says???

Unfortunately for you, yes.

The PHP function 'mysql()' is outdated, and it's been replaced with
mysql_select_db() and mysql_query() as the error says.

I see two possible solutions:

1. Downgrade your PHP to a version where 'mysql()' is not deprecated
(version 3.* i think).

or

2. Change all instances of 'mysql()' to 'mysql_query()' and make sure to
use 'mysql_select_db()' to choose your database or use
'mysql_db_query()' instead.

regards,
//andreas
http://phpwizard.dk (in Danish)


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to