www.webdeveloper.com

Search:

Type: Posts; User: swl7

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. 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);
  2. 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);
    }
  3. [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...
  4. Replies
    1
    Views
    121

    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 :)
  5. Replies
    1
    Views
    121

    [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...
  6. Replies
    5
    Views
    160

    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...
  7. Replies
    5
    Views
    160

    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...
  8. Replies
    5
    Views
    160

    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...
  9. Replies
    2
    Views
    96

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

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

    [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();...
  11. Replies
    6
    Views
    207

    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...
  12. Replies
    6
    Views
    207

    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?
  13. Replies
    6
    Views
    207

    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">

    ...
  14. Replies
    0
    Views
    94

    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...
  15. Replies
    1
    Views
    140

    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...
  16. Thank you for helping me understand it. Case...

    Thank you for helping me understand it.

    Case Closed :)
  17. 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
  18. 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,...
  19. [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...
  20. Replies
    0
    Views
    54

    PHP with html form??

    Hey guys,

    Im not sure whether you can do this or not but i want to direct a html for to another page with a php string




    $place = $_POST ["place"];

    <div id="stylized" class="myform">
  21. Replies
    2
    Views
    338

    Thanks for replying... I've tried to implement...

    Thanks for replying...

    I've tried to implement this into my code but Ive had no luck! I also tried using it on its own to see whether it worked without my code but it doesn't. (changing the dates...
  22. Replies
    2
    Views
    338

    datepicker with SQL?

    Hey Guys,

    Im having difficulty trying to work this out.

    Im trying to grey out the dates that have already been entered into the database.

    heres what I tried
  23. Replies
    10
    Views
    185

    Been messing about with it and im fed up lol ...

    Been messing about with it and im fed up lol

    heres what ive done

    I've added installed all the pear files

    but it still cant find them
  24. Replies
    10
    Views
    185

    update... I took out > ...

    update...

    I took out >


    $message->addAttachment($path_of_uploaded_file);

    and it sent the email (and i received it) and the file got uploaded into the uploads folder on the server but I...
  25. Replies
    10
    Views
    185

    /home4/webcatc1/public_html/eddies/error_log:...

    /home4/webcatc1/public_html/eddies/error_log:
    [02-Oct-2012 16:49:02] PHP Fatal error: Call to a member function addAttachment() on a non-object in...
Results 1 to 25 of 82
Page 1 of 4 1 2 3 4
HTML5 Development Center



Recent Articles