> For the futurists around here: Is there any chance that php will
> include "database tags" ala Lasso?

highly unlikely, but you can achieve similar ends with one of the template
engines for PHP. with a little work, you should be able to accomplish the
same ends. check out Smarty (dont remeber the URL - check Hotscripts.com)
and see what you come up with.

Sverre Johan TÝvik <[EMAIL PROTECTED]> wrote in message
> Hi,
For those who don't know what I
> mean, here's an axample (not quite correct Lasso code, but it should
> get the point across):
> [db select="somedb"]
> [db query="sql"]
> <table>
> [record]
> <tr>
> <!-- everything in this tag is repeated for each record
> <td>
> [field="name"]
> </td>
> <td>
> [field="address"]
> </td>
> </tr>
> [/record]
> </table>
> Err... You get the point... Or, for those of you who have problems
> recognizing simple stuff when you see it (like myself when trying to
> learn applescript when I was used to stuff like C), the point is that
> you don't have to do all that annoying escaping of quotes, and if you
> open the code in a graphical editor, you can edit to your heart's
> delight, cuz the db tags stays put.
> Regards,
> Sverre Johan Toevik
> --
> <disclaimer> I speak for myself only! </disclaimer>
> "to be yourself, in a world that tries, night and day, to make you just
> like everybody else - is to fight the greatest battle there ever is to
> fight, and never stop fighting" -- e.e. cummings

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 PROTECTED]

Reply via email to