close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

wrong article being shown

Thread began 7/22/2013 11:55 am by Jamie | Last modified 7/22/2013 1:21 pm by Jason Byrnes | 714 views | 5 replies |

Jamie

wrong article being shown

Hey Jason

Another one from workign on mod_rewrite from the Powerstore webinar the other night

If you click on any of the blog links on this page, regardless of which link you click it goes through to the first article. I cant see where I am going wrong ....

http://www.ybg.org.uk/blog.php

Have also attached the file if you needed to take a look at it.

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

Jamie

Thanks Jason - PM

Sign in to reply to this post

Jason ByrnesWebAssist

at line 43 - 46:
$colname_BlogRS = " 1";
if (isset($_GET['ID'])) {
$colname_BlogRS = $_GET['ID'];
}

line 43 needed to be changed to:
$colname_BlogRS = "-1";

Sign in to reply to this post

Jamie

thanks Jason

For future ref, what should I be looking for that differentiates what Ray had put (which was $colname_BlogRS = " 1";) and what is needed there?

Sign in to reply to this post

Jason ByrnesWebAssist

that variable correlates to the Default value setting in the recordset.

instead of setting the default value to 1, it should use -1

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