www.webdeveloper.com

Search:

Type: Posts; User: simplypixie

Page 1 of 7 1 2 3 4

Search: Search took 0.02 seconds; generated 26 minute(s) ago.

  1. Replies
    3
    Views
    805

    The reason for your error is that you are...

    The reason for your error is that you are checking to see if posted values are empty but with your radio buttons they already have values (which is correct) so the value will never by empty but if...
  2. Don't repeat your self in your code - all your...

    Don't repeat your self in your code - all your blu boxes have exactly the same styling so change it to a class and re-use that class instead of using id's. To centre the boxes in your container you...
  3. Replies
    4
    Views
    739

    As bionoid has said, you have an empty H5 tag at...

    As bionoid has said, you have an empty H5 tag at the bottom of your content in the sidebar with a large amount of bottom padding and margin which is why the page is so long.

    With regard to your...
  4. Replies
    2
    Views
    1,124

    No reason at all, so could be a conflict in the...

    No reason at all, so could be a conflict in the page in that you have more than on centernav div? Is there anything else in the surrounding or inner divs (in the css) that could be affecting that...
  5. As simple as the fact that you are adding...

    As simple as the fact that you are adding Origprice and DeliveFee and then deducting the DeliveFee again instead of the credit, should be:

    Finalcost = (parseInt(Newcost) - parseInt(credit));
  6. Replies
    4
    Views
    1,011

    What is your current CSS?

    What is your current CSS?
  7. Replies
    2
    Views
    707

    I haven't used bindValue in PDO but maybe because...

    I haven't used bindValue in PDO but maybe because you have a lowercase i in your query but an uppercase I in your bindValue (:id and :Id)
  8. Please post your CSS as it may be to do with...

    Please post your CSS as it may be to do with screen size but then it might not but it is difficult to answer / help you without your code.
  9. Replies
    4
    Views
    2,300

    If you apply a border around your photo div you...

    If you apply a border around your photo div you will see that some divs are higher than others and this will always throw out a layout like this. There you need to specify a minimum, maximum or set...
  10. The problem is that the image itself (in the...

    The problem is that the image itself (in the script) has styling applied directly to it so that will override your styling. You need to remove that styling first if you can
  11. What code are you using to send the email?

    What code are you using to send the email?
  12. 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,...
  13. 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...
  14. 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.
  15. Replies
    7
    Views
    2,018

    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...
  16. Replies
    7
    Views
    2,018

    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...
  17. Replies
    7
    Views
    2,018

    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.
  18. Replies
    7
    Views
    2,018

    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...
  19. 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...
  20. 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
  21. 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)...
  22. Replies
    4
    Views
    1,505

    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...
  23. Replies
    4
    Views
    1,505

    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')
  24. Replies
    11
    Views
    1,917

    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: ' ....
  25. Replies
    11
    Views
    1,917

    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'...
Results 1 to 25 of 155
Page 1 of 7 1 2 3 4
HTML5 Development Center



Recent Articles