• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to avoid errors in view when I am using variable for the php session

#11
[eluser]aidehua[/eluser]
[quote author="shinokada" date="1263153736"]I may be ignore the error.[/quote]

That is the most beautifully-expressed solution to a coding problem that I have ever seen. Whatever form of transcendental meditation you practise, I want some of it.

And I'm going to tell my clients to try it too. Smile

I love that so much I'm going to repeat it, I hope you don't mind.

[quote author="shinokada" date="1263153736"]

I may be ignore the error.
[/quote]

Copyright © shinokada 2010


Ahhh. Peace....

#12
[eluser]shinokada[/eluser]
I practice Transcendental Meditation for 3 years.

I recommend it to my clients.

#13
[eluser]shinokada[/eluser]
Only way I can avoid errors is put valiable in controller like this.


Code:
$data['total']= 0;

$data['grandtotal']= 0;
etc.

This will surpress the errors.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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