Displaying 2 results from an estimated 2 matches for "strrev".
2003 Dec 14
5
reverse lexicographic order
Hi all,
I have some email addresses that I would like to sort in reverse
lexicographic order so that addresses from the same domain will be
grouped together. How might that be done?
Murray
--
Dr Murray Jorgensen http://www.stats.waikato.ac.nz/Staff/maj.html
Department of Statistics, University of Waikato, Hamilton, New Zealand
Email: maj at waikato.ac.nz
2012 Nov 12
3
Unable to lauch php-script to truncate database
...**************************************************/
$result=mysql_query("SHOW TABLES FROM $DBName ") or die(mysql_error());
if(mysql_num_rows($result)>0)
{
while($row=mysql_fetch_row($result))
{
if(substr($row[0], 0, 3) === '___' && strrev(substr($row[0], 0,
3) === '___'))
{
$sql = "DROP TABLE $row[0]";
mysql_query($sql);
}
}
}
?>
------------------------------------------------------------------------------------------------------------------------------...