Search:
Type: Posts; User: swl7
Search :
Search took 0.01 seconds.
Found the problem!!
There was a space being added to the database. The culprit ->
$imploded = implode(', ', $out);
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);
}
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...
I made it insert into the database the way i want BUT it leaves all the other fields blank HELP
THanks :)
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...
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...
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...
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...
Great thank you. Learnt something there!! Now to tackle the next part lol
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();...
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...
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?
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">
...
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...
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...
Thank you for helping me understand it.
Case Closed :)
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
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,...
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...
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">
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...
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
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
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...
/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...