close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

DataAssist

Thread began 5/01/2018 3:31 pm by vernon webb | Last modified 5/01/2018 6:35 pm by Ray Borduin | 20 views | 2 replies |

vernon webb

DataAssist

New info

Sign in to reply to this post

vernon webb

Sorry I didn't know what to call it Ray and my brain seems to be on overload today. This is in regards to the following page not displaying properly:

http://dev.rsavvy.com/customers_Results.php?S_company=test&S_client_type=&S_BrokerDealer=&S_active=&S_rep=&S_state=&S_city=&hideForm=1&S_city2=&Search.x=51&Search.y=9

Below is the FTP as requested

Sign in to reply to this post

Ray BorduinWebAssist

You had a hand written recordset that was still using MySQL in the middle of your page. It had the code:

php:
<?php

mysql_select_db
($database_connIO$connIO);
$query_rsCT2 "SELECT * FROM client_type WHERE clientTypeID = '" $WADAcustomers->getColumnVal('client_type') ."'";
$rsCT2 mysql_query($query_rsCT2$connIO) or die(mysql_error());
$row_rsCT2 mysql_fetch_assoc($rsCT2);
$rsCT->TotalRows2 mysql_num_rows($rsCT2);
echo 
$row_rsCT2['client_type'];
?>


It had to be updated to mysqli like:

php:
<?php

$rsCT2 
= new WA_MySQLi_RS("rsCT2",$connIO_i,1);
$rsCT2->setQuery("SELECT * FROM client_type WHERE clientTypeID = ?");
$rsCT2->bindParam("s""".($WADAcustomers->getColumnVal('client_type'))  ."""-1"); //parm
$rsCT2->execute();
    echo 
$rsCT2->getColumnVal('client_type');
?>
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...