On Fri, 25 Jun 2004 22:13:03 -0400, gohaku <[EMAIL PROTECTED]> wrote: > > Hi everyone, > I would like to know how to handle code breaks or code blocks > that takes up more than two lines. > For readability, I would like to know if there is something like the > following: > function input($type,$size,$name,$value) > { > return "<input type=\"$type\" size=\"$size\" value=\"$value\" >>> > name=\"$name\">"; > }
function input($type,$size,$name,$value) { return <<<EOF <input type="$type" size="$size" value="$value" name="$name"> EOF; } -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php