Variables in fwrite function
Posted: Mon Mar 02, 2009 7:09 am
$i['qty'] is a variable that I want to write to a file. The following line gives me an error or unexpected ".".
fwrite($fx, .$i['qty'].);
What is the correct syntax for this?
fwrite($fx, .$i['qty'].);
What is the correct syntax for this?