Jump to content

sean14592

Members
  • Posts

    157
  • Joined

  • Last visited

Everything posted by sean14592

  1. Hey, I'm new to using mod_rewrite, I have two url's I currently want to make more SEO friendly: 1) http://domain.com/dir/index.php?p=list&d=all 2) http://domain.com/dir/index.php?p=list&d=cat&c=2 I want these to turn into: 1) http://domain.com/list/all/ 2) http://domain.com/list/cat/2/ Currently my .htaccess looks like this: Options +FollowSymLinks RewriteEngine on RewriteRule (.*)/(.*)/(.*)/ index.php?p=$1&d=$2&c=$3 [L] RewriteRule (.*)/(.*)/ index.php?p=$1&d=$2 [L] Now the rewrite itself works, however all my images and css have disappeared? I'd appreciate it if anyone could help? Kind Regards, Sean
  2. I have 2 images which will be used as a forward and backward arrow, however I don't know how to make them change the image. heres my Javascript: slideshow.js http://pastebin.com/m2d7c15c4 Javascript code to show slideshow <script type="text/javascript"> //new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause (0=no, 1=yes), optionalRandomOrder) new fadeshow(fadeimages, 511, 205, 0, 3000, 1, "") </script>
  3. Hello, thanks in advance for checking this out. I have recently updated my design with this awesome client login dropdown, saldy it doesnt alight with the rest of the page in IE7, its fine in FF, Google and IE8, but in IE7 it makes the page width massive... Preview: http://alturl.com/f9ys - as you can see the top bar which has a tab saying "client login" slips off the page to the right in IE7. HTML Code: http://pastebin.com/d4174d06f slide.css: http://pastebin.com/m1b1e2f62 style.css: http://pastebin.com/m22978c5a Thanks for a BIG help in the past, please help me again Sean
  4. ok, nice, which one should I do first, order it then limit? sean
  5. anyone? I thought this would eb an easy fix, but I can't find anything anywhere.
  6. Hello. How do I do a mysql query to return the top 10 results ordered by points. For example my database looks like this: User | Points 1 | 10 2 | 45 3 | 0 4 | 10 5 | 45 6 | 0 7 | 10 8 | 45 9 | 0 So i basically want a leaderboard showing the top 10 users. Cheers Sean
  7. It sent before, and now not, lol. I have looked over it multiple times but can't see anything wrong??? http://pastebin.com/m24f4c2ac thanks again sean
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.