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

create variable for Record ID and send in URL

Thread began 9/05/2010 12:26 pm by neilo | Last modified 9/06/2010 1:50 pm by neilo | 1455 views | 8 replies


I can't seem to get this working. Both sets of instruction given were very clear, and I'm convinced all is entered correctly.

The link is this:

<a href="eventInfo.php?id=<?php echo $row_calendar['event_id']; ?>">more . . .</a>

There is currently only one record, so the link directs correctly to the page with the query string in the URL ( eventInfo.php?id=1)

That (detail) page - eventInfo.php - has the recordset properly added, filtering by event_id (which is the unique auto-incrementing primary key) equal to 'URL', and populating the box next to it correctly with event_id. (Image: recordset.jpg)

When I press the 'Test' button (CS5) i get the message asking me to provide a test value for the URL Parameter: event_id. I enter the Test value 1 (the only record) and the test succeeds and shows me the correct data for that query. (Image: Test_SQL_Statement.jpg)

Howevr, when I click the 'more . . .' link from the home page, I get to a blank 'detail' page, with no record pulled from the database.

I hope someone may be able to throw some light on this.


P.S - I'm also getting an error message at the bottom of the page, if I use a template page with the 'Quick Links' include on the page:

Warning: mysql_free_result(): 17 is not a valid MySQL result resource in /home/users/uks45031/html/ on line 185.
(I don't know what the '17' is about)

If I create a 'detail' page from a blank .php page, I don't get that error, but I still don't get a record returned.

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