How do I remove and view the last element of an array?
$values = array("I","Like","Sentences","That","Don't","Finish");
$discard = array_pop($values);
echo "Bye bye to $discard...\n\n";
$sentence = implode(" ",$values);
Which gives us the following output:
Bye bye to Finish...
I Like Sentences That Don't
More arrays PHP Questionswhen we retrieve values from db and show in drop-down list then how can i get selected particular value from drop-down so that programe will go next page??
How do I find if a value is already in an array or not?
what is a array?
How do I remove the first element from an array?
im getting a Resource id #5 $rs_comp = mysql_query("select * from company where autoID='$row_settings[compid]'");