Smart Boy Designs Forums » Programming

php start and end code

(1 post)
  • Started 9 months ago by admin

Tags:

  1. A beginner PHP coder was asking me the other day what code to use to start and end a PHP script. Use the following:

    <?php code goes here ?>

    I would get in the habit of starting your code with <?php instead of <? now - as it will become easier to integrate with different scripts, other people's coding, and if there are certain settings on your site that don't allow short tags.

    Posted 9 months ago #

RSS feed for this topic

Reply

You must log in to post.

About Smart Boy Designs

Amongst many things, the Smart Boy Designs blog is meant to be a fun, educational location for the connection of web development knowledge for all online users. I have an intense passion for the world of web development - and hopefully this engaging energy transfers seamlessly through my writing. Rest your weary fingers - and stay for a while. Above all - enjoy!

Sponsors

Plurk with Me!