I'm a Systems guy, and new to PHP...
I've figured out how to create forms, and display the data back to the screen...
I want to write (or append if the file already exists) this same form data to a flat file, using my own field delimeters...
i.e.:
Name : Street : City : State: Zip
If I've defined the following variable in my script, how can I write it to the file?
$record = "${name}:${street}:${city}:${state}:${zip}";
I can easily display the output back on my screen:
print $record
Next, how would I add the same data to a database table?
Thanks in advance, and have a great day...
I've figured out how to create forms, and display the data back to the screen...
I want to write (or append if the file already exists) this same form data to a flat file, using my own field delimeters...
i.e.:
Name : Street : City : State: Zip
If I've defined the following variable in my script, how can I write it to the file?
$record = "${name}:${street}:${city}:${state}:${zip}";
I can easily display the output back on my screen:
print $record
Next, how would I add the same data to a database table?
Thanks in advance, and have a great day...