Welcome Guest, Not a member yet? Register   Sign In
Checking if a user has submitted an approval with if statements
#4

Don't use the <?php opening tag right after you closed a previous code statement with ?>
Just write the statements inside one opening and one closing tag until you switch to html in your view.

Example:
PHP Code:
<div>
<?
php
$message 
'PHP is great!';
echo 
$message;
$message .= 'And CodeIgniter is great too!';
echo 
$message;
?>
</div> 
Reply


Messages In This Thread
RE: Checking if a user has submitted an approval with if statements - by Wouter60 - 10-28-2016, 05:52 AM



Theme © iAndrew 2016 - Forum software by © MyBB