All pastes #470934 Raw Edit

Stuff

public php v1 · immutable
·published 2007-05-04 16:40 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'];}function getresult($query) {  $result=mysql_query($query);  if ($result==true) { 		{			while ($get=@mysql_fetch_array($result))  return $get;		}}