All pastes #470933 Raw Edit

Someone

public php v1 · immutable
·published 2007-05-04 16:39 UTC
rendered paste body
$query = "SELECT * FROM `makes` WHERE id='" . $row['makeID'] . "'";$sql = mysql_query($query);while($tmp = mysql_fetch_row($sql)){ $make = $tmp['make'];}$result=mysql_query($query);function getresult($query) {  if ($result==true) { 		{			while ($get=@mysql_fetch_array($result))  return $get;		}}