Re: [PHP] fscanf problem

2001-02-12 Thread John Vanderbeck
Hmm..noone has any ideas on this one? Its really driving me crazy - John Vanderbeck - Admin, GameDesign - Original Message - From: "John Vanderbeck" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, February 11, 2001 10:01 PM Subject: [PHP] fsca

[PHP] fscanf problem

2001-02-11 Thread John Vanderbeck
my code... WRITE TO FILE: if ($item_file = fopen("$thisdir/item.dat", "w")) { fwrite($item_file, "$new_item\n$asin\n$description\namazon"); fclose($item_file); echo "$new_item created"; } READ FROM FILE: $item_file = fopen("$thisdir/item.dat", "r"); fscanf(