How do i store valid form inputs in a csv file? I am not sure how to start, but I know that php and mysql is involved.
<M/>
170
Why so serious?
Featured Poster
Recommended Answers
Jump to PostYou don't need MySQL to store data in a CSV, if you are using CSV for storing data rather than reporting on or exporting data, then I would have to wonder why you aren't just storing it in MySQL.
The function you need is fputcsv, plently of examples on google.
Jump to Postfopen gives you a handle to a file, you then need to use another function (Such as fwrite, fputcsv...) to put data into the file.
All 7 Replies
Will Gresham
81
Master Poster
<M/>
170
Why so serious?
Featured Poster
Will Gresham
81
Master Poster
cigoL..:)
-1
Newbie Poster
<M/>
170
Why so serious?
Featured Poster
<M/>
170
Why so serious?
Featured Poster
<M/>
170
Why so serious?
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.