php - Undefined variable, and invalid argument -
I am trying to link my array of clients to my table to properly output them in the table. , But I'm getting these errors notice: Undefined variables: C: \ wamp \ www \ son in Line 67: Warning: Invalid argument for foreach () in line 67 on C: \ wp has been given
Am I going to go about it completely wrong, it seems like a simple task, but I I was.
My Koo
method readCustomers
is not correct Try doing something like this:
class customer {public function customer ($ handle = fopen ("inputfile.txt", "r") or die ("failed to create file" ); If ($ handle) {while ($ line = fgets (handle $)) == wrong) {$ pieces_of_line = explosion (',', $ line); // whatever you like with you} } And {// open the error file} Fclose ($ handle);}}
readOrders
Comments
Post a Comment