Creating product catalog (not using mysqli so failing)
Hi, I'm using DW4 and all the up to date supersuite extensions. I seem to be having trouble with databae connection as you can see by the error message below. When setting up the mysqli connection it never connects to the the table straight away and always need to click a second time to see my db's.. Can you helo me would please it seems that it's inserting old code.
I'm also using Wampserver (64 bits & PHP 5.5) 2.5
( ! ) Warning: mysql_select_db() expects parameter 2 to be resource, object given in C:\wamp\www\vials_test\products_detail.php on line 40
Call Stack
# Time Memory Function Location
1 0.0010 283808 {main}( ) ..\products_detail.php:0
2 0.0140 387056 mysql_select_db ( ) ..\products_detail.php:40
( ! ) Deprecated: mysql_real_escape_string(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\wamp\www\vials_test\products_detail.php on line 11
Call Stack
# Time Memory Function Location
1 0.0010 283808 {main}( ) ..\products_detail.php:0
2 0.0160 387888 GetSQLValueString( ) ..\products_detail.php:41
3 0.0160 388096 mysql_real_escape_string ( ) ..\products_detail.php:11
( ! ) Warning: mysql_query() expects parameter 2 to be resource, object given in C:\wamp\www\vials_test\products_detail.php on line 42
Call Stack
# Time Memory Function Location
1 0.0010 283808 {main}( ) ..\products_detail.php:0
2 0.0280 395672 mysql_query ( ) ..\products_detail.php:42