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

HTACCESS Friendly URL doesnt work

Thread began 8/15/2014 2:19 am by Christopher West | Last modified 8/19/2014 10:09 am by Christopher West | 1062 views | 18 replies

Christopher WestCommunity Expert

Hi Thanks for that...Im wondering if I would still need it though as I kinda got it working so far. but still would like to disect your method shortly :)

Im wondering if my version isnt working perfectly yet because I need to impliment Jamie's suggestion of altering my recordsets in both the categpry and product pages? Did you see the error that is display when you go directly to a product?

eg this link: http://www.dinkyfingerprintjewellery.co.uk/Gift-Vouchers

im wonderign what it means my OFFSET 0 is invalid and why its references the category.php page rather than the product.php page (sine the above url is essentially on the product.php page). So Im wondering if Jamie's recordset tweak would do the trick. I wanna find out first before trying it :)


the error message is referencing this code on line 81 : mysql_data_seek($rsProducts,0);

the code block in context is:

php:
<?php  

                mysql_data_seek
($rsProducts,0);
                while (
$row_rsProducts mysql_fetch_assoc($rsProducts)) { ?>
        <li class="category-wrap"> <a href="product.php?Product=<?php echo $row_rsProducts['ProductLink']; ?>"><img  src="images/products/thumbs/<?php echo $row_rsProducts['ProductImage']; ?>" alt="<?php echo $row_rsProducts['ProductName']; ?>" width="190" height="190" /></a>
          <div class="category-price">From &pound;<?php echo $row_rsProducts['ProductPrice']; ?></div>
          <div class="category-link"><a href="product.php?Product=<?php echo $row_rsProducts['ProductLink']; ?>">View Product</a></div>
        </li>
        <?php ?>

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