I've had an ongoing thread about making an administrator application in java that will be able to display update and delete table data. My question is:
Where would i find how to make this same line in java:
code:
--------------------------------------------------------------------------------
$result = mysql_query($sql, $dbase) or die(mysql_error());
--------------------------------------------------------------------------------
thats from a php file i made. It also has:
code:
--------------------------------------------------------------------------------
$dbase = "riverview";@$sql = "SELECT * FROM riverview WHERE month = ".$month." AND year=".$year;
--------------------------------------------------------------------------------
then there's an array in a while statement that fetches all of the data from the field specefied:
code:
--------------------------------------------------------------------------------
while ($TEMPArray[$tempi] = mysql_fetch_array($result)){ $tempi=$tempi+1; }
--------------------------------------------------------------------------------
So what i'm trying to do it get into an existing table, fetch everything on that table thats in the specified field, then display it somehow.
My old threads here if you wanted to see anything else we went through.
https://coderanch.com/t/341155/GUI/java/Visibility-help