Forum: PHP Apr 24th, 2009 |
| Replies: 5 Views: 1,211 or you can do a fopen HTTP POST from the email_order.php
$fp = fsockopen($host, 80);
// send headers
fputs($fp, "POST /cgi-bin/webscr HTTP/1.1\r\n");
fputs($fp, "Host:... |
Forum: PHP Apr 20th, 2009 |
| Replies: 4 Views: 410 // this code will (should) do what you are asking for, but it's not the best method imo.
$final_array = array();
for($i = $val; $i >= 1; $i--)
{
$array = "array". $val;
$co = "co".$val;... |
Forum: PHP Apr 20th, 2009 |
| Replies: 4 Views: 410 // get number of colors
$val = $_GET['val'];
// $val starts from 1
for($i = 1; $i <= $val; $i++)
{
$color = $_GET["col".$val];
echo $color;
} |