I have a csv file and I am not sure how to set dates on it... For example, if somebody submits a form and its information shows up in the csv but has a date that shows when it was submitted... Can someone help me with this?
<M/>
170
Why so serious?
Featured Poster
Recommended Answers
Jump to Post@<MICHAEL>
For example, if somebody submits a form and its information shows up in the csv but has a date that shows when it was submitted... Can someone help me with this?
You need to used this
STR_TO_DATE(str,format)
function to get the date:
Jump to Post@<MICHAEL>
Is there a way to do this purely out of php because for some odd reason I can't connect to mysql with DreamWeaver?
NO
Here is a link to connect to DreamWeaver:
http://helpx.adobe.com/dreamweaver/kb/connect-mysql-database-dreamweaver.html
and another example:
Jump to PostWork through your problem with DW - or simply stop using it - there are plenty of great free-to-use editors/IDEs out there.
Using php without a DB but still needing storage is v.difficult. You have to rely on CSVs, textfiles, XMLs etc. Highly inconvenient.Have you searched the php manual …
Jump to PostDo you have a cPanel setup? If so, there should be a way to connect to your DB remotely as you can provide your own IP addresses.
All 15 Replies
LastMitch
PrimePackster
commented:
To Rectify what some retard did to LastMitch
+0
<M/>
170
Why so serious?
Featured Poster
LastMitch
PrimePackster
commented:
To Rectify what some retard did to LastMitch
+0
diafol
<M/>
170
Why so serious?
Featured Poster
<M/>
170
Why so serious?
Featured Poster
diafol
<M/>
170
Why so serious?
Featured Poster
diafol
<M/>
170
Why so serious?
Featured Poster
diafol
<M/>
170
Why so serious?
Featured Poster
diafol
<M/>
170
Why so serious?
Featured Poster
diafol
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.