"Database tags" ala Lasso
| From: | Sverre Johan Tøvik | Date: | Mon, 29 Oct 2001 14:41:46 +0000 |
| Subject: | "Database tags" ala Lasso | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-72719@lists.php.net to get a copy of this message | ||
Hi,
For the futurists around here: Is there any chance that php will include "database tags" ala Lasso? 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