@$conn=new mysqli('localhost','root','','baza'); $sql="insert into tabela values (null,'1','2')"; $wynik = $conn->query($sql); while($row = $wynik->fetch_assoc()){ }
próbowałem też 2 opcje:
@$conn=new mysqli('localhost','root','','baza'); $sql="insert into tabela values (null,'1','2')"; $polecenie = $conn->query($sql); $wynik = $polecenie->get_result(); while($row = $wynik->fetch_assoc()){ }
"Fatal error: Call to a member function get_result() on a non-object in C:\wamp\zadanie\testy.php on line 5"
Pomocy
