PHP » PYTHON |
login |
register |
about
|
mysqli::querymysqli_query(PHP 5) mysqli::query -- mysqli_query — Performs a query on the database DescriptionObject oriented style (method): Procedural style: Performs a query against the database. Functionally, using this function is identical to calling mysqli_real_query() followed either by mysqli_use_result() or mysqli_store_result(). Parameters
Return ValuesReturns TRUE on success or FALSE on failure. For SELECT, SHOW, DESCRIBE or EXPLAIN mysqli_query() will return a result object. Changelog
ExamplesExample #1 Object oriented style
<?php Example #2 Procedural style
<?php The above example will output: Table myCity successfully created. Select returned 10 rows. Error: Commands out of sync; You can't run this command now See Also
|
more
Recently updated
more
Most requested
more
Last requests
|