|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1998-02-16 15:53 UTC] jim
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 09 21:00:01 2025 UTC |
I am not reading the php mailing lists, so I may ask for a frequently requested feature or i may cause a flame war, but I would really like to have a way that allows me to define pseudo-tags and bind them to functions. For example, if I had a function that created a HTML-Table from a database query called dumptable(), I would like to be able to bind dumptable() to a pseudo-tag of an arbitrary name. If I chose for example to bind dumptable() to SQLTABLE and its parameter $query to an attribute "QUERY=" of SQLTABLE, I want to be able to write <SQLTABLE QUERY="select ...">...</SQLTABLE> instead of <?php dumptable("select ...") ?> How far-fetched is such an idea? Kristian