Learn, Share, Build

169
September 20, 2017, at 1:13 PM

kindly please help me to pass the variable from multiple isset and echo the result in another after submitting in the same PHP file. The code given below is actually the sample and it work good for individual isset but I need to pass that to another isset. Hope you guys can help me. Thanks in advance.

<?php
if(isset($_post['help1'])){
$a = "help1";
}
if(isset($_post['help2'])){
$b = "help2";
}
if(isset($_post['help3'])){
$c = "help3";
}
if(isset($_post['help4'])){
$d = "help4";
}

// I need to the pass the above isset variable this isset

if(isset($_post['done'])){
echo $a."<br />";
echo $b."<br />";
echo $c."<br />";
echo $d."<br />";
}
?>
READ ALSO
Learn, Share, Build

Learn, Share, Build

This is my cases table

194
Learn, Share, Build

Learn, Share, Build

I seem to be unable to identify why my foreach loop is able to loop for all 5 of the ProductionOrderID's created but only returns the data for the first ID

217
Learn, Share, Build

Learn, Share, Build

I'm trying to search something content special character and use execute($params) to escape stringA incorrect result is return

196
Learn, Share, Build

Learn, Share, Build

I have a pretty simple spring-data-jpa + Hibernate application, which stores customers data in MySql Database (the full source code is posted here)

215