www.webdeveloper.com

Search:

Type: Posts; User: swl7

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    1,240

    Change this: $yname" To This:

    Change this:




    $yname"



    To This:
  2. Replies
    6
    Views
    831

    I tried the code and it half works some jpegs...

    I tried the code and it half works some jpegs download while JPG doesn't and PNG doesn't so I will try on the apache section like you said.

    Thanks for all the help i'll mark this as resolved!!
  3. Replies
    6
    Views
    831

    Brilliant that worked! Thanks for your help...

    Brilliant that worked!

    Thanks for your help and the explanation!

    One question though: .doc and .pdf documents download straight away but the images open up in the browser. Is there a way of...
  4. Replies
    5
    Views
    1,240

    $email_body = "We have received a new message ...

    $email_body = "We have received a new message \n".
    "Here are the details:\n
    Name: $firstname $surname \n
    Email: $email \n
    Message: $message \n
    Contact information: $contactinfo \n" .
    ...
  5. Replies
    5
    Views
    1,240

    Not sure if this is what you want but... you must...

    Not sure if this is what you want but... you must think about injections as well research code that will help prevent them... Its a start :)



    $email = $_POST["email"];
    $message = $_POST...
  6. Replies
    6
    Views
    831

    [RESOLVED] Downloading

    Hey Everyone,

    I've been creating a few pages that allow users to upload the own work / images / docs etc which works fine but.... I want them to be able to view their uploads and have the option...
  7. Found the problem!! There was a space being...

    Found the problem!!

    There was a space being added to the database. The culprit ->




    $imploded = implode(', ', $out);
  8. All the tests worked fine but the one below...

    All the tests worked fine but the one below looked weird:-

    They only value it greyed out it the first string.

    I put this in


    while($row = mysql_fetch_assoc($grey)) {
    var_dump($row);
    }
  9. [RESOLVED] PHP code not working SQL Results not showing all results

    Hey Guys,


    The code below makes my datepicker grey out days which have been entered into my database but its gone a little weird! It only greys out certain dates which means the same date can be...
  10. Replies
    1
    Views
    308

    I made it insert into the database the way i want...

    I made it insert into the database the way i want BUT it leaves all the other fields blank HELP

    THanks :)
  11. Replies
    1
    Views
    308

    [RESOLVED] for each array problem

    Hey peeps,

    I have a form which has checkboxes and textboxes.

    Im trying to make a for each to duplicate all the data appart from one cell and make a new insert for every checkbox that has been...
  12. Replies
    5
    Views
    466

    hello again, Yeah i've tried that with no...

    hello again,

    Yeah i've tried that with no luck.

    Ive also tried it with quote marks and comas

    would I need another array for the 'place' column, like I have for 'date' and how would I combine...
  13. Replies
    5
    Views
    466

    Thanks for taking the time to look. Im trying...

    Thanks for taking the time to look.

    Im trying to select all dates from the table which are equal the submitted form

    the form uses checkboxes so they can select multiple destinations (in my...
  14. Replies
    5
    Views
    466

    Select rows & print out

    Hey Guys,

    Basically im trying to compare 2 cells. Im using datepicker and need to grey out dates that have been booked

    Database rows are date and place

    It works when I have one 'place' in...
  15. Replies
    2
    Views
    333

    Great thank you. Learnt something there!! Now to...

    Great thank you. Learnt something there!! Now to tackle the next part lol
  16. Replies
    2
    Views
    333

    [RESOLVED] for each array problem

    Im trying to add a coma to my form results but its just returning

    'oak', 'wren'SELECT date FROM activities WHERE place IN (Array)Unknown column 'Array' in 'where clause'



    $out = array();...
  17. Replies
    6
    Views
    557

    Thats so weird. I copied the code over and...

    Thats so weird. I copied the code over and replaced it making sure it was all good. saved it and checked on firefox, safari, chrome but nothing just loads the page.

    Ive also tried this on a blank...
  18. Replies
    6
    Views
    557

    You were right on that one lol but it didn't...

    You were right on that one lol

    but it didn't solve the problem, It refreshes the page and adds a question mark at the end of the URL? if that helps?
  19. Replies
    6
    Views
    557

    Why does this not work? dropdown duplicate

    Im trying to get a drop down box to duplicate when a user presses a button but it just refreshes the page on click





    <form id="form">
    <select id="time2" name="time2">

    ...
  20. Replies
    0
    Views
    274

    Datepicker help needed

    I dont know where to put this so im sorry if its in the wrong place to start!

    I have a date picker that inserts into a datebase a number of days in one column so for example:

    datearriving...
  21. Replies
    1
    Views
    421

    Datepicker help needed

    I have a date picker that inserts into a datebase a number of days in one column so for example:

    datearriving would have: 11-8-2012, 12-08-2012, 12-8-2012


    What im struggling with is calling...
  22. Thank you for helping me understand it. Case...

    Thank you for helping me understand it.

    Case Closed :)
  23. Thank you that worked!! :D So are back quotes...

    Thank you that worked!! :D

    So are back quotes better to use than normal quotes?

    Thank you again I think I lost some hair over this lol
  24. Thank you for replying... The error spat out this...

    Thank you for replying... The error spat out this

    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'group,...
  25. [RESOLVED] Can anyone see whats wrong with this??

    Hey guys,

    All this code below used to work! I then changed troop to group and since then its not been inputing into the database! I've debugged and all the information is coming through, its just...
Results 1 to 25 of 88
Page 1 of 4 1 2 3 4
HTML5 Development Center



Recent Articles