dalecosp;10969813 wrote:Both, I'd expect.
Is there any example that i can follow so that i can head in the right direction.
i dont know how to go ahead
if($error == 'No'){
////count the number of records///
$sqlRec = "SELECT COUNT(*) AS NumberOfRec FROM ratecodes_TEST";
$resultRec = es_query($sqlRec);
$numRec = mysql_fetch_array($resultRec);
echo 'Number of Records '.$numRec[0];
?>
<script type="text/javascript" >
var answer= confirm("Total number of rows in the file are . If this matched with the rows in the uploaded file the click ok otherwise click cancel to cancel uploading the file" )
</script>
<?php
}
now if answer is yes i want to do some php coding but i dont know how to combine javascript and php variables..