Welcome Guest, Not a member yet? Register   Sign In
Form helper Set_value function
#5

[eluser]minerbog[/eluser]
I've been an idiot!!

Thinking aloud so bare with me :|

So if I get a database return to say the $db var.

Then using:
Code:
<?php echo set_value('address1',@$db['address1']); ?>
It will add the db value in or if the $db var is null or non-existent would just display nothing ignoring the error!!

Thanks Aken, sometimes we all need nudge!!

PS. Like you website by the way!


Messages In This Thread
Form helper Set_value function - by El Forum - 07-31-2012, 05:19 AM
Form helper Set_value function - by El Forum - 07-31-2012, 02:03 PM
Form helper Set_value function - by El Forum - 08-01-2012, 01:58 AM
Form helper Set_value function - by El Forum - 08-01-2012, 03:27 AM
Form helper Set_value function - by El Forum - 08-01-2012, 03:43 AM
Form helper Set_value function - by El Forum - 08-01-2012, 01:11 PM



Theme © iAndrew 2016 - Forum software by © MyBB