Posted by Greg Schumacher on 12/06/05 00:09
A cleaner copy of the script (I hope)
<html>
<body>
<pre>
<?php
$query = "CALL sp_select()";
$query = "select
* from test";
$link = mysqli_connect("localhost", "root",
"gr8db","test");
var_dump($link);
$result = mysqli_query($link,
$query);
var_dump($result);
$row =
mysqli_fetch_row($result);
var_dump($row);
mysqli_free_result($result);
var_dump($link);
$result = mysqli_query($link,
$query);
var_dump($result);
$row
=
mysqli_fetch_row($result);
var_dump($row);
mysqli_free_result($result);
mysqli_close($link);
?>
</pre>
</body>
</html>
[Back to original message]
|