close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

mysqli will not let me advance throught the record set

Thread began 8/08/2014 5:55 am by rpratt89080 | Last modified 8/08/2014 12:52 pm by Jason Byrnes | 2529 views | 14 replies |

rpratt89080

mysqli will not let me advance throught the record set

i have a record set and have it in a repeat and all is well. but when i place the paging behavior so i can advance throught the records i get an sql error that is non specific. if i remove the paging and just keep the repeat it works fine but i need to show all my records? any idea why this will not work? I really need the first last next and last behaviors.

Sign in to reply to this post

Jason ByrnesWebAssist

I'll need to troubleshoot directly, see the private message section.

Sign in to reply to this post

rpratt89080

thanks

Originally Said By: Jason Byrnes
  I'll need to troubleshoot directly, see the private message section.  
Sign in to reply to this post

Jason ByrnesWebAssist

ok, send a copy of the php file and a dump of the database so I can recreate the problem on my system.

Sign in to reply to this post

rpratt89080

for you

f

Sign in to reply to this post

Jason ByrnesWebAssist

I am not able to use this sql file to recreate the table.

I'll need an export of the table using phpMyAdmin, not sure what GUI Tool you used for the export, but it is not compatible with Sequel Pro

if all else fails, I will need you to upload the page to a server so I can troubleshoot.

Sign in to reply to this post

rpratt89080

try this

s

Sign in to reply to this post

Jason ByrnesWebAssist

change the following code:

$seeds_aor_id->setQuery("SELECT seed.seed_id, seed.seed_full, seed.seed_promo, seed.seed_f_name, seed.seed_l_name, seed.seed_city, seed.seed_state, seed.seed_boat_year, seed.seed_boat_length, seed.seed_date, seed.seed_homeport, seed.seed_homeport_type, seed.seed_member_number, seed.seed_member_exp, co.co_name, co.co_aor_id, boat_make.boat_make FROM seed INNER JOIN co ON seed.seed_co_id = co.co_id INNER JOIN boat_make ON seed.seed_boat_make_id = boat_make.boat_make_id WHERE co.co_aor_id = %s ORDER BY seed.seed_date DESC");
$seeds_aor_id->bindParam("int", "".$_GET['aor_id'] ."", "-1"); //WAQB_Param1



to:

$seeds_aor_id->setQuery("SELECT seed.seed_id, seed.seed_full, seed.seed_promo, seed.seed_f_name, seed.seed_l_name, seed.seed_city, seed.seed_state, seed.seed_boat_year, seed.seed_boat_length, seed.seed_date, seed.seed_homeport, seed.seed_homeport_type, seed.seed_member_number, seed.seed_member_exp, co.co_name, co.co_aor_id, boat_make.boat_make FROM seed INNER JOIN co ON seed.seed_co_id = co.co_id INNER JOIN boat_make ON seed.seed_boat_make_id = boat_make.boat_make_id WHERE co.co_aor_id = ? ORDER BY seed.seed_date DESC");
$seeds_aor_id->bindParam("i", "".$_GET['aor_id'] ."", "-1"); //WAQB_Param1





make sure you have the latest MySQLi version installed, 1.0.2, if you have a previous version, uninstall it from the extension manager before installing the new one.

Sign in to reply to this post

rpratt89080

still no love?

s

Attached Files
index.php
Sign in to reply to this post

rpratt89080

got it.

I had to rebuild all server behaviors to get it to work, not just the one you helped me with.

Thanks!

Sign in to reply to this post
loading

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