Welcome Guest, Not a member yet? Register   Sign In
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


Messages In This Thread
undefined function anchor() - by davy_yg - 11-04-2014, 02:19 AM
RE: undefined function anchor() - by sv3tli0 - 11-04-2014, 04:03 AM
RE: undefined function anchor() - by InsiteFX - 11-04-2014, 05:47 AM
RE: undefined function anchor() - by Narf - 11-06-2014, 04:20 PM
RE: undefined function anchor() - by Hobbes - 11-06-2014, 07:32 PM
RE: undefined function anchor() - by Narf - 11-06-2014, 11:22 PM
RE: undefined function anchor() - by Chroma - 11-08-2014, 08:39 AM
RE: undefined function anchor() - by Chroma - 11-08-2014, 08:38 AM
RE: undefined function anchor() - by sv3tli0 - 11-08-2014, 01:11 PM
RE: undefined function anchor() - by Hobbes - 11-08-2014, 01:59 PM
RE: undefined function anchor() - by sv3tli0 - 11-08-2014, 02:29 PM



Theme © iAndrew 2016 - Forum software by © MyBB