Scott Hill wrote:
with renaming all of the columns in the SQL statement. If you are using Postgres or something besides MySQL you might do something like this in a stored procedure although I have never tried it. It would be neat if someone could figure out a nifty way to do this.
Are you using a version of MySQL that supports Views? If so, just make a View that has the column names the way you want, and then SELECT from the View instead of directly from the table.
--Dave _______________________________________________ UPHPU mailing list [email protected] http://uphpu.org/mailman/listinfo/uphpu IRC: #uphpu on irc.freenode.net
