close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Multiple MySQLi Connections

Thread begun 2/15/2019 8:22 am by Dave Buchholz | Last modified 2/15/2019 8:47 am by Ray Borduin | 912 views | 6 replies |

Dave BuchholzBeta Tester

Multiple MySQLi Connections

I am having an issue where I need to connect to 2 different databases in a single page, the connections are set up in Dreamweaver and I can see the databases and the tables just fine when I view them using the DataBase window (see screenshot) but when I add the 2nd recordset using the extra connection the page dies with this error:
Fatal error: Call to undefined function getColumnVal() in /Users/***/Sites/***_new/wwwroot/_site-files/pages/product-pages/product-details-page.php on line 47

I suspect not many people try to do this so it might not have been flagged before.

Sign in to reply to this post

Ray BorduinWebAssist

Please attach the full page: product-details-page.php

I'll take a look to see what might be wrong. I may need FTP access and a URL to fully debug this.

Sign in to reply to this post
Did this help? Tips are appreciated...

Dave BuchholzBeta Tester

Attached, this page is pulled in by Framework Builder and all the connections etc. are handled in a separate application file

Sign in to reply to this post

Ray BorduinWebAssist

On line 47 you have:
$rsAdditionalImages>getColumnVal("large")

it should be:
$rsAdditionalImages->getColumnVal("large")

Sign in to reply to this post
Did this help? Tips are appreciated...

Dave BuchholzBeta Tester

I don't see any difference between the 2 pieces of code ?

Sign in to reply to this post

Ray BorduinWebAssist

One has ">" and the other has "->"

Sign in to reply to this post
Did this help? Tips are appreciated...

Dave BuchholzBeta Tester

I am an idiot, the perils of copying and pasting, thanks Ray

Sign in to reply to this post

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...