Jump to content

thoha

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by thoha

  1. thoha

    Hanna Code

    Thank you cstenvsjr, that was the output I want to see. Now that I saw that it was no hanna problem, I found the solution. There was a little include(..) before the posted lines that was responsible for the error. you made my day /thomas
  2. thoha

    Hanna Code

    Hi all, if I write the following code in one of my template files: $result = $db->query("SELECT id, name FROM pages"); while($row = $result->fetch_array()) print_r($row); It works and prints a list of all my pages. If I write the same code in a "php hanna code", I get no result from the query. Is there any reason, that $db is not working in hanna codes? thanx for your help /thomas
×
×
  • Create New...