MySQL Forums
Forum List  »  PHP

Local database can read and online can't
Posted by: Max Priessnitz
Date: December 07, 2019 03:38PM

Hey Guys!

Following line can't be read by my webhoster, but by my local Apache.

$item = mysqli_fetch_array(mysqli_query($conn, "SELECT `Flasche` FROM flaschen500 WHERE ID=" . $id . ""))["Flasche"];

I want to read in one cell from a table. When someone sees any mistake pls write... (or a simpler way to do it)

Thank you!

Options: ReplyQuote

Written By
Local database can read and online can't
December 07, 2019 03:38PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.