Forum: PHP Aug 8th, 2009 |
| Replies: 2 Views: 801 1. Keep an array to hold the random numbers
2. In order to add an element to this array, generate a random number in the required range, and check the array to see if the generated number is... |
Forum: PHP Jul 15th, 2009 |
| Replies: 7 Views: 577 Check with your network administrator if there is a mail server on your network. If you are running the website on your own server, you might have to configure your mail settings on the localhost |
Forum: PHP Dec 29th, 2008 |
| Replies: 2 Views: 1,641 Thank you for your reply, but I have read that GMail will just strip off whatever is in the head if the email.
Anyways I found a work around by using inline styling. |
Forum: PHP Dec 25th, 2008 |
| Replies: 2 Views: 1,641 Hi!
How can I include CSS styles in a PHP HTML Email?
This is what I have so far-
<?php |
Forum: PHP Dec 13th, 2008 |
| Replies: 2 Views: 1,266 try this-
<?php
$name="foo";
$age="bar";
header("Location: print.php?name=".$name."&&age=".$age);
?> |
Forum: PHP Dec 2nd, 2008 |
| Replies: 2 Views: 464 Thanks for your reply.
Thats a really good idea! |
Forum: PHP Nov 29th, 2008 |
| Replies: 2 Views: 464 Hi!
I am using a code to echo a row in a database table using ajax.
The code is working correctly.
The ajax will send the response text as follows-
... |
Forum: PHP Nov 24th, 2008 |
| Replies: 2 Views: 1,283 Worked like a charm, thanks for your reply! |
Forum: PHP Nov 24th, 2008 |
| Replies: 2 Views: 1,283 Hi!
I am using the following code for a file upload-
<?php
if(isset($_POST['b1'])) |
Forum: PHP Nov 16th, 2008 |
| Replies: 2 Views: 425 |
Forum: PHP Nov 16th, 2008 |
| Replies: 2 Views: 425 Hi!
In the following code-
<?php
header('Cache-Control:no-cache');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"... |
Forum: PHP Nov 13th, 2008 |
| Replies: 1 Views: 373 Hi!
Can anybody please explain this-
<?php
$num=5;
echo($num.++$num); |