Worked a treat, thanks a lot!!
splui
Search found 2 matches
- Sun Oct 12, 2003 3:04 pm
- Forum: Databases
- Topic: Timestamps
- Replies: 2
- Views: 999
Timestamps
In the following example the field name is a string and date is of type datetime. A query, SELECT name, date FROM sometable returns a result set. This is placed in $result and accessed via $info=mysql_fetch_array($result). A while loop takes each field in turn and places them in local variables $nam...