Jump to content

TheFilmGod

Members
  • Posts

    1,941
  • Joined

  • Last visited

    Never

Posts posted by TheFilmGod

  1. Hey!
        I'm coding a website that is dynamic. - it uses php include for its sidebar elements so one text file change would edit the whole site. My question results from these elements refering to images/something.jpg The problem here is that if the web page that is being viewed is not in the top directory then images/something.jpg would not work. So a few possible solutions would be to use a meta tag with base url (that refers all pages to the top directory links), or using php variables in the elements depending where the page is located. So what is better using a meta HTML tag, or using some awesome php. Which one would be more google friendly?

      thanks!
  2. Hi,
    I got my script to work and all but I have a simple flaw. (Which I can't figure out)... Maybe you can help:

    Script Line:

    $path="xpoll/";
    include(".$path.functions.php");

    - The first line works fine, but the second gets a result of:

    .xpoll/.function.php

    As you know, that is not proper relative link.

      Thanks!
  3. Hi,
    I need help getting a php mysql 5 star rating system on my website. I have a table column voting script that works, but the results end up with colorful bars and that isn't visitor appreciated ;) I was wondering if you can help me get a 5 star rating system where I can have it very simple. Just the starts and a click and poof! the average score is right there, and no wacky colorful bars. Furthermore, I was hoping if you can integrate it as PHP with Mysql, since that would be the most efficient way to do it now. Lastly I would like for my homepage and the sidebars to be able to connect to the MySql data and arrange the top voted content first. A lot like youtube or those other websites that have the pictures dynamically changed by itself, - depending on the final rating. Any help are suggestions would be greatly appreciated thanks!

    - TheFilmGod
×
×
  • 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.