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

after adding universal email facing problem with rs.

Thread began 9/06/2016 4:30 am by Kumel | Last modified 9/07/2016 1:55 pm by Kumel | 360 views | 1 replies

Ray BorduinWebAssist

The issue is with your recordsets on lines 48-76. You are using IN statements for your queries and my best guess is that they aren't returning values. I'm not sure why you are using an IN statement since it is only sending a single value to the query.

My guess is that one of the earlier recordsets aren't returning a value which is resulting in an empty IN statement and that is the cause of the error. I'm sure it has nothing to do with the email unless you have another recordset in the email body file that I haven't seen.

If you give me FTP access and a full URL to reproduce I could debug it more. (I'd write the SQL statements to the page before each mysql_query() line like:

$query_smsBookingDetails = "SELECT BookingID, PickUpID, DriverID FROM Bookings WHERE BookingID IN (".$_GET['BID'].")";
$smsBookingDetails = mysql_query($query_smsBookingDetails, $con1) or die(mysql_error());

and so on for the others.

That will write the SQL statements before the error and allow you to diagnose at least which is causing the problem.

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