dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: Gravy

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    574

    Thank you so much! It's always the stupidly...

    Thank you so much! It's always the stupidly simple things that get me stuck the longest.

    I must have done that to temporarily make it longer when I first started before there was any content.

    I...
  2. Replies
    3
    Views
    574

    [RESOLVED] DIV wont wrap around other DIVs.

    On the page I'm building the wrapper DIV with the background colour wont wrap around the child DIVs. I believe it has something to do with my usage of floats.

    If anyone could tell me how to fix...
  3. Replies
    5
    Views
    1,050

    Ignoring all the bad code... Perhaps in the...

    Ignoring all the bad code...

    Perhaps in the cpanel (assumption) you added a user, added the database, but didn't give the user permission to access/modify the database?
  4. Replies
    6
    Views
    1,699

    If it's possible for coupons to be combined, it's...

    If it's possible for coupons to be combined, it's possible to be combined in PHP.
    How to do it in PHP is just a matter of implementation.
    They real question is does the bar code standard have an...
  5. Replies
    6
    Views
    1,036

    Well then a good place to start may be with what...

    Well then a good place to start may be with what functions you require.

    It may seem all good and well to say that WordPress isn't suitable, but we need more reasons.

    So my new answer now is...
  6. Is this a programming problem? I've never even...

    Is this a programming problem?

    I've never even heard of a UPC Coupon Code before, I'm guessing it's this:?
    http://couponing.about.com/od/groceryzone/ss/couponcodeupc.htm

    In which case after a...
  7. Replies
    6
    Views
    1,036

    Try looking at some WordPress news themes and you...

    Try looking at some WordPress news themes and you might find something you like.
  8. Replies
    3
    Views
    1,354

    I would remove any i I l L o O 1 0, these tend to...

    I would remove any i I l L o O 1 0, these tend to give people too many headaches trying to figure out which is which.
  9. Replies
    2
    Views
    856

    I recommend SublimeText 2/3 for writing PHP code....

    I recommend SublimeText 2/3 for writing PHP code.

    What you want to do is as jedaisoul said no simple task.

    You'll most probably need to learn:
    • SQL
    • PHP
    • HTML & CSS
    • JavaScript
    •...
  10. Replies
    3
    Views
    810

    Steps: (1) They upload the image (2) You make...

    Steps:
    (1) They upload the image
    (2) You make sure the image is an image and nothing creepy going on in there
    (3) You rename the file and put it somewhere you want. Like...
  11. Replies
    9
    Views
    2,374

    Ah, I thought you correct that. Then my guess...

    Ah, I thought you correct that.

    Then my guess is that the problem is in your scripts/connect.php file.
    Perhaps the root password you're using is wrong?

    I'm assuming your code looks something...
  12. Replies
    9
    Views
    2,374

    Try changing: $sql=mysql_query("SELECT *...

    Try changing:



    $sql=mysql_query("SELECT * FROM admin WHERE name='$admin' AND password='$password' LIMIT 1");


    Temporarily to:
  13. Replies
    14
    Views
    1,371

    Which was also basically what I wrote in the...

    Which was also basically what I wrote in the second post (first reply to this thread)....
  14. Replies
    14
    Views
    1,371

    Anything at all that you want. The biggest secret...

    Anything at all that you want. The biggest secret about the key is that it even exists.
    The idea is to have an extra piece of data in hidden in the request that if people don't know it's there they...
  15. Replies
    14
    Views
    1,371

    You can't, all you can do is make it more harder...

    You can't, all you can do is make it more harder by preventing people easily finding out how they communicate. It's not THAT secure, but it's better than nothing.
    Using:
    (1) A secret HTTP header...
  16. Replies
    5
    Views
    835

    bool setcookie ( string $name [, string $value [,...

    bool setcookie ( string $name [, string $value [, int $expire = 0 [, string $path [, string $domain [, bool $secure = false [, bool $httponly = false ]]]]]] )


    The second variable is the value,...
  17. Replies
    14
    Views
    1,371

    You can't really... Not any way that I can think...

    You can't really... Not any way that I can think of...

    But you can make it much harder.

    I would probably consider putting some data in a HTTP request header claiming it's from the app and also...
  18. Thread: mysql error....

    by Gravy
    Replies
    4
    Views
    741

    If you really refuse to use properly escaped...

    If you really refuse to use properly escaped code... at the very least in this case:



    if(isset($_GET['id']))
    $id = (int)$_GET['id'];
    else
    $id = 1;
  19. Replies
    3
    Views
    670

    I really have no idea what you're asking for...

    I really have no idea what you're asking for here, I'm guessing it has something to do with sending emails?
    But you do have a couple of other problems:

    1) Don't use mysql_ functions, use mysqli_...
  20. Replies
    18
    Views
    1,399

    Well, If you like NogDogs, this one should do...

    Well, If you like NogDogs, this one should do what you want. Note with this change you can use 'A' or 'a' to equal 30, or just a number.



    <?php
    function myArraySum()
    {
    $data =...
  21. Replies
    2
    Views
    888

    At a quick 3:30am glance: SELECT Username,...

    At a quick 3:30am glance:


    SELECT Username, Password, Active, UID FROM Users WHERE Username = :Uname, Password = :DbPass;

    SELECT Username, Password, Active, UID FROM Users WHERE Username =...
  22. Replies
    18
    Views
    1,399

    $g1 = [50,40,30]; $g2 = [20,10,2]; $g3 =...

    $g1 = [50,40,30];
    $g2 = [20,10,2];
    $g3 = [4,3,5];
    $g4 = [4,8,6];


    If the answer to the above is 150, the code you want is below. (50+40+30+20+10)
  23. Replies
    18
    Views
    1,399

    I'm not quite understanding your question, but...

    I'm not quite understanding your question, but I'll take a stab in the dark that what you want is:

    The highest 5 maximum unique values throughout the 5 arrays.



    $g1 = ['a','b','d','f','h'];...
  24. Replies
    3
    Views
    534

    I guess if you mean to move on from one column,...

    I guess if you mean to move on from one column, into the next column, you just add a comma ",".
    If it's the last column in the row and you want a new row, just add a new line:



    echo "column 1...
  25. Replies
    11
    Views
    1,181

    I got stuck the other day with a similar issue......

    I got stuck the other day with a similar issue... A single space somehow appears before my opening " <?php" tag.
    Strange thing was I hadn't edited that code in a long time and suddenly my site went...
Results 1 to 25 of 73
Page 1 of 3 1 2 3
HTML5 Development Center



Recent Articles