Welcome Guest, Not a member yet? Register   Sign In
HMVC and Layout = problems
#11

[eluser]tomcode[/eluser]
What is the @ sign supposed to do ?

Code:
<?=@$menu?>

Edit :
I've downloaded Your app and did find quite some files with UTF8 encoding, with BOM. Each of them causes an error Wink.

Here's the corrected version, might have some files with BOM left, though
app.zip
#12

[eluser]groyk[/eluser]
The @ sign is for optional value in variable, for not getting an error. Depends on your Apache/PHP config.

I think the problem is that my WebCoder does not give me the opitunity to save UTF-8 without BOM. I the use NotePad++ to do that.
#13

[eluser]tomcode[/eluser]
You can have Your code files in ISO-8859-1 encoding, as long as You have only ASCII chars in them, when I was on Windows, I did use SciTE
#14

[eluser]groyk[/eluser]
Tried to search through the entire project and found some language files that was encoded wrong. Now it is working!

Finally. Back to what it is all about. CODING

Thank you very much for all your help.




Theme © iAndrew 2016 - Forum software by © MyBB