www.webdeveloper.com

Search:

Type: Posts; User: chrisguk

Search: Search took 0.03 seconds.

  1. Replies
    0
    Views
    1,160

    Panels not aligning correctly

    Hi there,

    I am creating a sticky type panel that opens to the left when you click on the button. You can see an illustration below:

    http://d.pr/i/3jfC

    And when you click a button the...
  2. jQuery Session cookie etc to remember my last selection

    Hi there,

    I have been looking for a solution to the following:

    My site has three buttons or hyperlinks as buttons. With each one I click it changes the display layout of the items in my cart. ...
  3. Replies
    2
    Views
    591

    Thanks for the advice, I amended it to this...

    Thanks for the advice,

    I amended it to this and it works fine now:


    print "<link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"".BASE_URL."images/favicon.ico\">" . "\n";
  4. Replies
    2
    Views
    591

    Can I use a defined constant like this?

    Hi,

    I have defined a constant like:


    define('BASE_URL', 'http://www.mysite.com');

    Can I use the BASE_URL like this and if so how because my example below is not working?
  5. Replies
    2
    Views
    564

    Hi Dasher, I have resolved that issue now I...

    Hi Dasher, I have resolved that issue now I believe, I now have another issue located here, if you are to help then great.

    http://www.webdeveloper.com/forum/showthread.php?p=1204640#post1204640
    ...
  6. Replies
    3
    Views
    601

    I get that, I think :confused: But how can I...

    I get that, I think :confused:

    But how can I be sure that it will use the .mo file in the locale folder. What I am attempting to do is have a backend panel that I can choose the preferred...
  7. Replies
    3
    Views
    601

    Maintaining the selected Language?

    Hi,

    I have managed to get the code below working with a few tweaks here and there. However, you can see that I have written a small function in the file name local.php to allow the user to select...
  8. Replies
    2
    Views
    564

    Gettext not passing values

    Hi,

    I have looked through the forum for a fix for this but I was unable to find one.

    Basically the code I have provided below is not giving me the correct output in other words changing the...
  9. Replies
    4
    Views
    1,009

    Hey Sheldon, Thanks for the reply, Since...

    Hey Sheldon,

    Thanks for the reply,

    Since then I decided to re-write the script completely to incorporate an edit function too. I have the DB connect file elsewhere now to keep things neat.
    ...
  10. Replies
    1
    Views
    635

    Friendly URL help

    Hi all!

    I have the link below which I created to test the functionality of the script I wrote. But because the rest of my site is setup with friendly or extensionless URLs, I want to do the same...
  11. Replies
    1
    Views
    550

    Values not going in DB a Further Step

    Okay,

    With this issue I am having trouble get the script to update or add new records. It produces no error messages:

    My DB:

    Column Type Null Default
    id int(11) ...
  12. Replies
    4
    Views
    1,009

    Values not going in DB

    Hi,

    I have put the following code together in an attempt to insert data into my DB. It isnt producing any error messages just posting to self returning back to the start again.

    Any ideas?

    ...
  13. Replies
    1
    Views
    937

    Cancel that, I fixed it and it works perfect: ...

    Cancel that, I fixed it and it works perfect:

    changed mysql_select_db('dbname', $connect); to:

    mysql_select_db($dbname, $connect);
  14. Replies
    1
    Views
    937

    Meta tags from a database

    Okay this is what I have so far, will this work or not.

    At the moment I get an error message saying "no database selected".

    I have called the db - "mydb" and the table "url"


    <?php ...
  15. Replies
    10
    Views
    973

    lol :) :p This is driving me crazy :P Now...

    lol :) :p

    This is driving me crazy :P

    Now im at this stage and it still doesnt work :)


    <?php
    $pages = array(
    'another_page' => array(
  16. Replies
    10
    Views
    973

    Hi, That has not fixed it. This is what I...

    Hi,

    That has not fixed it. This is what I have:


    <?php
    $pages = array(
    'another_page' => array(
    $title => 'Another Title';
    $keyword => 'some more keywords';
  17. Replies
    10
    Views
    973

    Hi, I have tried your code and keep getting an...

    Hi,

    I have tried your code and keep getting an error regarding this line:

    Parse error: syntax error, unexpected ';', expecting ')' in /var/www/test/page_stuff.php on line 7


    $title = 'My...
  18. Replies
    0
    Views
    982

    Rewriterules for different folder levels

    Hi,

    After some great assistance from a friend I have got to a stage where im a little stuck. Firstly in plain English I will try to explain the result im trying to achieve:

    NB. Please feel...
  19. Replies
    0
    Views
    416

    URL not displaying correctly

    Hi,

    I think my problem is a mixture of MODREWRITE and PHP.

    I have the following .htaccess located in the web root.



    RewriteEngine On
    RewriteRule ^about/(([^/]+/)*[^/.]+)$...
  20. Replies
    10
    Views
    973

    In fact just to add to that. The code I...

    In fact just to add to that.

    The code I supplied is contained within my index.php, which of you can see pulls the content pages in. My header and footer are includes.

    because the variable...
  21. Replies
    10
    Views
    973

    Thanks NogDog, I have been doing some reading...

    Thanks NogDog,

    I have been doing some reading and your suggestion seems to be the most practical method. Are there any issues with performance in that example?
  22. Replies
    10
    Views
    973

    Is there a better way to do this?

    I have been using the following method for a long time now, but someone recently said to me its ugly and there are ways to do it that will perform quicker too. He mentioned using and array in a...
  23. Replies
    18
    Views
    3,288

    Hi NogDog, A belated question/reply to this...

    Hi NogDog,

    A belated question/reply to this thread but I wanted to ask you something about the solution you provided.

    Basically I am using what some people describe as an ungly case/switch...
Results 1 to 23 of 23
HTML5 Development Center



Recent Articles