dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: lilfellabob

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Mail via SwiftMail failing to send links

    Hey all,

    I have a simple script that sends an email to a couple of people. I have had it running for a year or two without any issues but all of a sudden it seems to have stopped working (no idea...
  2. Thread: PDO usage

    by lilfellabob
    Replies
    6
    Views
    754

    Thanks guys - makes sense!

    Thanks guys - makes sense!
  3. Thread: PDO usage

    by lilfellabob
    Replies
    6
    Views
    754

    Thanks for the reply! I have indeed put the...

    Thanks for the reply!
    I have indeed put the connect script into a function that I can call! One more thing - Do I only need to use the array method for user variables? So can I do something like:
    ...
  4. Thread: PDO usage

    by lilfellabob
    Replies
    6
    Views
    754

    PDO usage

    Hey all,

    I have been told that I should be using PDO for my mysql stuff. I have been doing some reading and have started implementing it but I want to clarify a few things before I go ahead and...
  5. Replies
    7
    Views
    1,277

    haha, all good! thanks dude! One more thing I'm...

    haha, all good! thanks dude!
    One more thing I'm wondering, is it possible to run this query but have it show the duplicated rows? What I need to do is compare some of the other columns then decide...
  6. Replies
    7
    Views
    1,277

    I got it working by changing that up a little: ...

    I got it working by changing that up a little:


    SELECT
    CONCAT_WS(', ', first_name, last_name) AS full_name,
    COUNT(*) AS num_res
    FROM table_name GROUP BY full_name
    ORDER BY num_res...
  7. Replies
    7
    Views
    1,277

    Yeah, there is an int as a unique id Hmm,...

    Yeah, there is an int as a unique id



    Hmm, that seems to be returning all rows with num_instances as the full row count..
  8. Replies
    7
    Views
    1,277

    Find duplicates in table

    Hey, I am trying to find rows that have the same value for 2 columns in my table. Specifically duplicate people in the table (same first and last names).
    I have tried the following (plus some...
  9. Replies
    2
    Views
    1,214

    jQuery Awesome, thank you!

    Awesome, thank you!
  10. Replies
    2
    Views
    1,214

    jQuery Set element's text as a target's value

    Hey,
    What I want to do is pretty simple, but I am very new to jquery. I can set text to a div by doing
    $("#target").text("This is text");
    But what if I want the "This is text" to be replaced by...
  11. Replies
    3
    Views
    2,270

    Hey - I don't know if I solved it (sorry) - I...

    Hey - I don't know if I solved it (sorry) - I think I may have just pulled all columns then compared them in php since there wasn't that many to go through..
  12. AJAX Run two XMLHttpRequests with the second based off the first

    Hey all,

    I am trying to use a javascript function to run an sql query via an external php page and then use the returned value of that to then execute more javascript before executing another...
  13. Thanks heaps man, it works! The logic is a...

    Thanks heaps man, it works!
    The logic is a little confusing but that's ok :P
  14. Select one row with a distinct column, ordered by another column..

    Hi,

    I am trying to make a simple search where I can look up orders. The thing that's getting me is I want only one result for each unique 'client_name', and it has to be the most recent row (I...
  15. Replies
    3
    Views
    2,270

    dynamic column query mysql

    Hey all,

    I am trying to make a script where I can query for a column that changes depending on a passed variable. So I have a variable passed called division, lets say it will be a, b, c or d.. I...
  16. Ok after some troubles it's now working :D - I...

    Ok after some troubles it's now working :D - I think maybe I had issues with quotation marks..
    Thanks guys!
  17. Awesome, thanks so much dude!

    Awesome, thanks so much dude!
  18. Memory problem when uploading large(ish) images

    Hey all,

    I have a page where I can upload an image and php will create 2 down-scaled images. One is for the thumbnail which is max width of 125px and max height of 95px and the other for the...
  19. Sweet, I may look into it! thanks

    Sweet, I may look into it! thanks
  20. Get height of an element /if/ set to auto

    Hey all,

    So I am making a nav for a mobile webapp and I found an awesome guide that I have picked apart then changed.
    http://designshack.net/articles/css/verticalaccordionav/
    He says in there...
  21. Replies
    2
    Views
    2,137

    Thanks for the reply! I think the precomposed has...

    Thanks for the reply! I think the precomposed has indeed fixed it.
    Apple says:
    'If you donít want Safari on iOS to add any effects to the icon, replace apple-touch-icon with...
  22. Replies
    2
    Views
    2,137

    iDevice 'add to homescreen' icon

    Hey guys,

    So I have a mobile website that I have made compatible with iPhones using


    <meta name="apple-mobile-web-app-capable" content="yes" />

    and I have tried to get it to have an icon...
  23. Replies
    2
    Views
    2,711

    After more searching, I found what I am looking...

    After more searching, I found what I am looking for. In case anyone else find this when trying to do the same thing:


    $sql = "SHOW TABLES FROM demonsi1_db LIKE '&#37;_gallery'";
    $do_sql =...
  24. Replies
    2
    Views
    2,711

    List tables that have specific string

    Hi all,

    I am wanted to list tables from my database, but only tables that contain a certain string.
    Say I have a database with four tables:
    honda_car
    yamaha_bike
    kawasaki_bike
    ford_car
    I...
  25. Replies
    4
    Views
    2,221

    thanks NogDog, you are seriously a champion mate...

    thanks NogDog, you are seriously a champion mate :D
Results 1 to 25 of 57
Page 1 of 3 1 2 3
HTML5 Development Center



Recent Articles