Forum: PHP Nov 15th, 2007 |
| Replies: 2 Views: 1,000 |
Forum: PHP Nov 12th, 2007 |
| Replies: 3 Views: 979 Do they offer database support? Most free hosts don't. You should contact them to see if they do and ask them how to connect. |
Forum: PHP Aug 29th, 2007 |
| Replies: 2 Views: 917 http://www.sitepoint.com/article/toughen-forms-security-image |
Forum: PHP Aug 7th, 2007 |
| Replies: 3 Views: 866 Yes it is. Using the date() function you can find which day of the week it is and base your content on that. |
Forum: PHP Jul 23rd, 2007 |
| Replies: 2 Views: 727 Put it in a session or cookie. |
Forum: PHP Jul 22nd, 2007 |
| Replies: 2 Views: 3,017 You'll need to run a cron job periodically to handle the schedule tasks. You should check for the conflicts when the users enters the scheduled task. You definitely don't want to wait until the tasks... |
Forum: PHP Jul 16th, 2007 |
| Replies: 16 Views: 4,432 It also can be defeated, like all JavaScript, simply by turning JavaScript off. Or, in FireFox, you can even leave JS on and tell FF to block scripts like that. |
Forum: PHP Jul 15th, 2007 |
| Replies: 16 Views: 4,432 You can't reliably do it. If someone wants it they will get it. If you don't want people to have it, don't put it on thew web.
FYI, your javascript is not special. If you can write it, so can... |
Forum: PHP Jun 26th, 2007 |
| Replies: 7 Views: 4,512 This is pretty basic PHP/MySQL. Have you read any tutorials on this yet? How much code have you written so far? |
Forum: PHP Jun 25th, 2007 |
| Replies: 7 Views: 4,512 Yes. Just select that one column name and use a WHERE clause to limit it to the one row you want:
SELECT column_name FROM table_name WHERE spme_column = 'some value' |
Forum: PHP Jun 19th, 2007 |
| Replies: 3 Views: 5,181 That means you are submitting it in the wrong format. If you are trying to put the current date in the use mysql's NOW() function to do it for you. It will be faster, always correct, and less code,... |
Forum: PHP Jan 17th, 2007 |
| Replies: 3 Views: 13,380 <input type="checkbox" name="chkboxarray[]" value=1>
<input type="checkbox" name="chkboxarray[]" value=2>
<input type="checkbox" name="chkboxarray[]" value=3>
To access them as a group:
... |
Forum: PHP Jan 15th, 2007 |
| Replies: 3 Views: 1,605 Have you written any code for this yet? We can help you with what you have but we won't do the work for you. We're here to help, not be free labor. :) |
Forum: PHP Oct 31st, 2006 |
| Replies: 8 Views: 1,445 A TD can't be an array. Only form elements like INPUT. |
Forum: PHP Oct 31st, 2006 |
| Replies: 8 Views: 1,445 In that case you need to declare the variable you pass to it an array before passing it to that function.
$fee2_choice = new array(); |
Forum: PHP Oct 30th, 2006 |
| Replies: 8 Views: 1,445 array_filter() (http://us3.php.net/function.array_filter) takes two arguments you only gave it one. |
Forum: PHP Oct 3rd, 2006 |
| Replies: 6 Views: 5,534 Of course there is. This is basic PHP. Have you tried to write code for this yet? |
Forum: PHP Jul 14th, 2006 |
| Replies: 2 Views: 6,491 $newstring = str_replace('\r\n', '', $string)
or
$newstring = preg_replace('/\r\n/i', '', $string);
If that doesn't work use \n without the \r |
Forum: PHP Jul 11th, 2006 |
| Replies: 2 Views: 8,250 You can't as an array. But I don't think you're using the word "post" properly so you might want to explain yourself better.
No. All you are doing is assign the value "hello" to a new variable... |