Jump to content

Need help with simple syntax


Dustin013

Recommended Posts

Although inline variables can be used in PHP, I prefer to avoid them. I do the following. I feel that appropriate code indentation, spacing and use of structure makes reading, modifying and writing new code much easier to follow than code that is all bundled together.

 

<?php
$url = 'http://' . $match1;
?>

 

Please remember to hit "Topic Solved" ;)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.