Reply to comment

PHP verus ASP.NET versus LISP, all in PHP

There's more than one way to do the same thing...
traditional PHP or ASP style

<input id="foo" 
    style="color:<?=$color?>;" />

versus a quasi asp.net style

<?
$foo 
= new Input('foo');
$foo->css->color $color
?>
<?=$foo
()?>

versus functions

<?
$css 
css_style('color',$color);
echo(
html_input('foo',$css));
?>

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <b> <dd> <dl> <dt> <i> <li> <ol> <u> <ul> <p> <br> <div> <pre> <code> <img><h1><h2><h3><h4> <blockquote>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

.