Thursday, September 23, 2010

Check a varaible after call it PHP

Programmer Question

Hello,



I have a varaible:



$this->valuepicname = isset($_POST['picname'][$numberpicname]) ? $_POST['picname'][$numberpicname] : "";


The varabile $numberpicname is static and each time I call to - it has another value, so, I want to do it too with th varaible $valuepicname - but I can't define it as static ($valuepicname) because its IF statement (i think this is the reason..).



Hope you understand.. (my english is bad)
Thank you.



Find the answer here

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails