RE: [PHP] MySQL substrings?
| From: | Seb Frost | Date: | Sun, 19 Aug 2001 15:19:19 +0000 |
| Subject: | RE: [PHP] MySQL substrings? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-63399@lists.php.net to get a copy of this message | ||
This doesn't work:
$result = mysql_query("SELECT * FROM $table ORDER BY SUBSTRING(date,5,2)")
Any idea why?
- seb