php code not working in index.html - Raspberry Pi Forums


i have php code in index.html.

code: select all

 $result = $mysqli->query("select * todolist");
'$result' '$mysqli', code works fine,but after '->', not work.
not treated code text , printed in webpage.
how can solve this?
alreay installed php5-mysql.

showing short piece of code without context not enough see wrong.


raspberrypi



Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support