elum.chaitu Posted September 4, 2010 Share Posted September 4, 2010 Can any boy clarify these queries. [*]How do I find out if an array has values posted to each of its elements? I need to know that EVERY element has been filled out. How can I send variables from a PHP script to another URL using POST without using forms and hidden variables? [*] Quote Link to comment https://forums.phpfreaks.com/topic/212521-i-need-clarify-these-queries/ Share on other sites More sharing options...
SixPath Posted September 4, 2010 Share Posted September 4, 2010 how about using php Curl? Quote Link to comment https://forums.phpfreaks.com/topic/212521-i-need-clarify-these-queries/#findComment-1107201 Share on other sites More sharing options...
sasa Posted September 4, 2010 Share Posted September 4, 2010 try <?php $test = array(1,'',2,3); $x = array_keys($test, ''); if(!count(array_keys($test, ''))) echo 'all filed'; else echo 'some empty'; ?> Quote Link to comment https://forums.phpfreaks.com/topic/212521-i-need-clarify-these-queries/#findComment-1107212 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.