$outputstring = "\n".$date."\t".$tireqty." tire \t".$oilqty." oil\t".$sparkqty
." spark plugs\t\$".$totalamount."\t".$address . "\n";
//Otvaranje datoteke
@ $fp = fopen("$DOCUMENT_ROOT/orders.txt", 'ab');
if(!fp){
echo '<p><strong>Your order could not be processed at this time. '
.'Please try agein later.</strong></p></body></html>';
}
fwrite($fp, $outputstring, strlen($outputstring));
fclose($fp);
echo '<p>Order written.</p>';
Daj vise odmora jeziku nego rukama!!!!!!!!!!!!