Skip to content
loading...
Discussion
markdown guide
 

the tag <?= is equivalent an <?php echo ..., so if you want to write some logic use <?php ... and if you just want to show something you can write <?= ...;

<?php foreach($users as $user) {
    ...
}
?>
<?= "Hello world!" ?>
 

Are you doing an echo?

<?php echo "something"; ?>
 
[deleted]
 

Pretty sure it has happen to all of us at some point! No stupid questions :)

Classic DEV Post from Jul 30 '19

PublishTo.Dev: Scheduling article publishing on dev.to

applepie profile image