in reply to array of MySQL data for substitution

In the second snippet, you're running a substitution on the variable $text without assigning it the result of your query first. Is that what the actual code does?
  • Comment on Re: array of MySQL data for substitution