Re: [PHP] conjecate a variable to a string in a function

2001-03-09 Thread Aaron Tuller
At 1:42 PM -0500 3/9/01, Mike wrote: >Whats wrong with this? >$MaxID="select Max($Table.'ID') from $Table"; I assume you want to do: $MaxID="select Max($TableID) from $Table"; as long as you don't have a variable called $TableID that is. if you do then do: $MaxID="select Max(".$Table."ID) f

[PHP] conjecate a variable to a string in a function

2001-03-09 Thread Mike
Whats wrong with this? $MaxID="select Max($Table.'ID') from $Table"; MikeP [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTE