www.webdeveloper.com

Search:

Type: Posts; User: simplypixie

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. OK, I should have been a bit more specific...

    OK, I should have been a bit more specific regarding the isset (better to use than empty on its own) and I would normally have a hidden input field in my forms to check that the form has been posted,...
  2. Your confirmRegistration page needs to be a .php,...

    Your confirmRegistration page needs to be a .php, not a .html (unless you are making changes in htaccess) and then at the top of the page you would put something like this (difficult without your...
  3. Please call it JavaScript, not Java - they really...

    Please call it JavaScript, not Java - they really are 2 different languages :) Also, using jQuery for your requirements is perfect so do a search and see all the scripts available to you.
  4. Replies
    7
    Views
    731

    Looking again, I said to put it in the wrong...

    Looking again, I said to put it in the wrong place. Try closing the div just before the endwhile.

    If you look at your source code on the live page you will see that the div is not being closed and...
  5. Replies
    7
    Views
    731

    As I said before, it is nothing to do with the...

    As I said before, it is nothing to do with the sidebar, it is to do with the fact that one or more divs before the sidebar have not been closed and looking at your code, it is this div

    <div...
  6. Replies
    7
    Views
    731

    Have a look in your loop template as what is...

    Have a look in your loop template as what is being displayed is not in this code as it is happening when actual results are found and the layout then is determined by the loop template.
  7. Replies
    7
    Views
    731

    After search you have a div called...

    After search you have a div called sidebar-secondary which appears to be inside your content div when it should be outside and looking at the source code I would say it is because you are not closing...
  8. Using javascript to show the larger images is not...

    Using javascript to show the larger images is not a problem at all, I have no idea how having images in hidden divs would help. If the problem is only occurring when you add the javascript to the...
  9. You are missing a closing > on the div before...

    You are missing a closing > on the div before your foot-menu div:


    </div

    <div id="foot-menu">

    Add it in and your menu should work as expected
  10. A couple of things you might want to look at: ...

    A couple of things you might want to look at:

    1. You are using both inline and external styles so take out the inline as not required (i.e. where you have specified the floats in your image tags)...
  11. Replies
    4
    Views
    837

    Well (if I am understanding what you have posted...

    Well (if I am understanding what you have posted correctly) it will return both Kebab Houses as one of the search elements is still Fireplace and both have a Fireplace according to what you have...
  12. Replies
    4
    Views
    837

    You can use "IN", it doesn't make it an OR...

    You can use "IN", it doesn't make it an OR statement and I am not sure why you think it does.

    AND tblLocDet.DetailID IN ('$string')
  13. Replies
    11
    Views
    1,250

    Get rid of it, not really required nowadays. ...

    Get rid of it, not really required nowadays.

    How I would format your PHP

    <?php
    if(isset($_POST['save1'])) {

    $con = mysql_connect(input my info...);
    if (!$con){
    die('Could not connect: ' ....
  14. Replies
    11
    Views
    1,250

    How did you test for errors? Using mysql_error or...

    How did you test for errors? Using mysql_error or in PHPMyAdmin?

    By the way, you are repeating your queries unnecessarily as well:


    $result = mysql_query("UPDATE 'homepage' SET title='$title1'...
  15. Replies
    11
    Views
    1,250

    Add mysql_error to the end of your update queries...

    Add mysql_error to the end of your update queries or run the query (replacing the variables with actual values) in PHPMyAdmin and see if you get an error.

    You also need to secure your queries by...
  16. This is not to do with centering so it must be...

    This is not to do with centering so it must be something to do with the positioning of your buttons. What is the html and css for those?
  17. Replies
    11
    Views
    1,250

    Your problem is the quote marks around your table...

    Your problem is the quote marks around your table name. Either remove them or use back-ticks instead

    'homepage' - wrong
    homepage - correct
    `homepage` - correct

    You also don't need quote marks...
  18. Replies
    2
    Views
    1,070

    Firstly it would be much better to use CSS...

    Firstly it would be much better to use CSS instead of a table but to answer your question I will use a table layout for you


    <?php
    $search = $num; //$num is the search for image with a specific...
  19. Replies
    2
    Views
    783

    Unfortunately (from trying to do the same thing)...

    Unfortunately (from trying to do the same thing) you generally have to use javascript (I can't remember what now). However, I suppose if you change your base font size in your media queries then the...
  20. Replies
    2
    Views
    772

    Firslty, when accessing post variables, you do...

    Firslty, when accessing post variables, you do not use $ in the variable name


    $_POST["$register"]
    Should be

    $_POST["register"]

    I would also change your if statement to this
  21. Do you have an index.html or index.php file? If...

    Do you have an index.html or index.php file? If not then you need one as all sites have to have an index file (generally the home page). If the file you have uploaded is something else and you just...
  22. If you have copied the code exactly then I don't...

    If you have copied the code exactly then I don't know why it isn't working for you as I built the page on my server and it appears exactly as required. There must be something else that is affecting...
  23. The problems you are having are because you are...

    The problems you are having are because you are using positioning (absolute and relative) which is totally unnecessary for a simple 3 column layout as you have. I have gone through and cleaned...
  24. What is the name of the file where your form is?...

    What is the name of the file where your form is? Is it contactformprocess.php?

    If it is not contactformprocess.php then you need to change the action in the form to post the form to the same page...
  25. Actually, now I look back at your form and email...

    Actually, now I look back at your form and email code I can see why you aren't getting any content - you are using variables in the body of your message but not defining them or allocating values...
Results 1 to 25 of 120
Page 1 of 5 1 2 3 4
HTML5 Development Center



Recent Articles