Search Results

Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: jakesee ; Forum: PHP and child forums
Forum: PHP Apr 24th, 2009
Replies: 5
Views: 1,211
Posted By jakesee
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
Posted By jakesee
// 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
Posted By jakesee
// get number of colors
$val = $_GET['val'];

// $val starts from 1
for($i = 1; $i <= $val; $i++)
{
$color = $_GET["col".$val];
echo $color;
}
Showing results 1 to 3 of 3

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC