File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11--TEST--
2- mysqli_prepare_result
2+ mysqli_get_metadata
33--FILE--
44<?php
55 include "connect.inc " ;
@@ -16,7 +16,7 @@ mysqli_prepare_result
1616
1717 $ stmt = mysqli_prepare ($ link , "SELECT * FROM test_affected " );
1818 mysqli_execute ($ stmt );
19- $ result = mysqli_prepare_result ($ stmt );
19+ $ result = mysqli_get_metadata ($ stmt );
2020
2121 $ fields = mysqli_fetch_fields ($ result );
2222 mysqli_free_result ($ result );
Original file line number Diff line number Diff line change 11--TEST--
2- mysqli_prepare_result
2+ mysqli_get_metadata
33--FILE--
44<?php
55 include "connect.inc " ;
@@ -26,7 +26,7 @@ mysqli_prepare_result
2626
2727 $ stmt = mysqli_prepare ($ link , "SELECT * FROM test_store_result " );
2828 mysqli_execute ($ stmt );
29- $ result1 = mysqli_prepare_result ($ stmt );
29+ $ result1 = mysqli_get_metadata ($ stmt );
3030 mysqli_stmt_store_result ($ stmt );
3131
3232 printf ("Rows: %d \n" , mysqli_stmt_affected_rows ($ stmt ));
You can’t perform that action at this time.
0 commit comments