JSProgramIA
Programmer
This simple example does not work:
and if I call it:
I get nothing ( and I Know there are records ).
Any advice?
Code:
function getProjectInfo($projectId){
global $row;
// Retrieve info for supplied project ID
// Returns $row
$page_sql = "SELECT * from myTable";
$result = mysql_query($page_sql);
$row = mysql_fetch_array($result);
return $row;
}
and if I call it:
Code:
getProjectInfo("999");
I get nothing ( and I Know there are records ).
Any advice?