Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #9730
| From | Jerry Stuckle <jstucklex@attglobal.net> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: can one make a php function or macro with arguments to generate HTML code? |
| Date | 2013-06-01 10:16 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <kocvg2$8qq$1@dont-email.me> (permalink) |
| References | <129060de-f94d-4853-ab35-0246d9cc2e35@2g2000yqr.googlegroups.com> <kocrjr$j5c$1@dont-email.me> <62df4f05-e09b-43e0-9860-5e429dadb58d@g8g2000yqa.googlegroups.com> |
On 6/1/2013 9:23 AM, steve nospam wrote: > On Jun 1, 8:10 am, Jerry Stuckle <jstuck...@attglobal.net> wrote: > > >> As Luuk said, you can do it in PHP. But in reality, how much are you >> going to save? You'll have to copy/paste the PHP code instead of the >> HTML, and your code (which is basically static). >> >> Maybe a better solution would be to use an editor which support macros. >> > > > Good idea! why do the php processing each time, if it can be done > once. > I thought about this after posting the question, that now the server > has to do this string replacement each time the page is called, which > is silly actually. > > What do recommend for this "macro" part? I use notepad now > and it does not have many features. do you one which is HTML/php/ > javascript > friendly? so many editors and will take long time to try them all. > Editors are a very personal decision. What works for me may or may not work for you, and will definitely not work for some others. And since this has nothing to do with PHP, you are much better off asking in an appropriate newsgroup such as alt.html. The people there can better recommend editors which will suit your needs for html coding. -- ================== Remove the "x" from my email address Jerry Stuckle JDS Computer Training Corp. jstucklex@attglobal.net ==================
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
can one make a php function or macro with arguments to generate HTML code? steve nospam <steve.nospamm@gmail.com> - 2013-06-01 03:21 -0700
Re: can one make a php function or macro with arguments to generate HTML code? Luuk <luuk@invalid.lan> - 2013-06-01 12:42 +0200
Re: can one make a php function or macro with arguments to generate HTML code? Luuk <luuk@invalid.lan> - 2013-06-01 12:57 +0200
Re: can one make a php function or macro with arguments to generate HTML code? Jerry Stuckle <jstucklex@attglobal.net> - 2013-06-01 09:10 -0400
Re: can one make a php function or macro with arguments to generate HTML code? steve nospam <steve.nospamm@gmail.com> - 2013-06-01 06:23 -0700
Re: can one make a php function or macro with arguments to generate HTML code? Jerry Stuckle <jstucklex@attglobal.net> - 2013-06-01 10:16 -0400
Re: can one make a php function or macro with arguments to generate HTML code? Twayne <nobody@spamcop.net> - 2013-06-01 10:22 -0400
csiph-web