• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
undefined function anchor()

#11
(11-08-2014, 01:59 PM)Hobbes Wrote: i was just sayin' that when I use any of the html helper functions, I half to put them in a variable before putting them into an array or else like I said, it either does not work or throws an error.
HTML helper functions are returning strings containing the html code. To display it you need just to echo it Smile
Code:
<?php echo br(3);?> // Correct way
<?= br(3);?> // Correct way
<?php br(3);?> // Wrong way
Best VPS Hosting : Digital Ocean
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.