close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Creating product catalog

Thread began 10/05/2014 12:31 pm by Daniel | Last modified 10/06/2014 2:49 pm by Daniel | 291 views | 3 replies

Daniel

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

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...