I am having trouble getting php functions to work:

When I load the following page, nothing shows up:

<html>
<body>
<?php
function do_squat() {
print "<P>got here!!</P>\n\n";
}

do_squat;

?>

</body>
</html>

Any ideas on what in heck I am doing wrong?  All the rest of
php-related stuff that I've tried to do works fine, I'm trying to use
a function just to keep the code easier to read.





Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list




SPONSORED LINKS
Php mysql Job postings


YAHOO! GROUPS LINKS




Reply via email to