close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Category Titles

Thread began 8/29/2009 11:09 pm by denise234045 | Last modified 2/17/2010 3:56 pm by denise234045 | 5297 views | 28 replies


Hi Eric,

Stepped away from it for a bit to clear my head. I have gotten DW to connect to the database. Basically, it was an embarrassing series of faux-pas in choosing the correct settings for the mySQL connection... sigh... what can I say?

Anyway now that that was sorted I immediately filled out the Recordset box as you showed above... hit ok, and realized it applied it to the first open page which was Globals! So, undoing that...

Closed everything and opened Product Results. Left the cursor at line 1 start.

Did the same and it inserted the following on it's own at line 113...

$currentPage = $_SERVER["PHP_SELF"];

$colname_rsCategories = "-1";
if (isset($_GET['CategoryID'])) {
$colname_rsCategories = $_GET['CategoryID'];
mysql_select_db($database_localhost, $localhost);
$query_rsCategories = sprintf("SELECT * FROM productcategories WHERE CategoryID = %s", GetSQLValueString($colname_rsCategories, "int"));
$rsCategories = mysql_query($query_rsCategories, $localhost) or die(mysql_error());
$row_rsCategories = mysql_fetch_assoc($rsCategories);
$totalRows_rsCategories = mysql_num_rows($rsCategories);

So then I copied your line(s) for the text display an put them in.

Uploaded the page and it returned this:

Fatal error: Call to undefined function getsqlvaluestring() in /home8/prefert5/public_html/Products_Results.php on line 121

which is this bit...

$query_rsCategories = sprintf("SELECT * FROM productcategories WHERE CategoryID = %s", GetSQLValueString($colname_rsCategories, "int"));

So, as you might assume I've no idea what's wrong...

I took out the above code chunk... but left in the text display code, and the page works again, showing the default of what I had typed in instead of 'Product List.'

What do you make of that?

Hope your weekend was cool,


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





Ease of use


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