MySQL Forums
Forum List  »  PHP

Re: index/redirect problem on localhost/mysql
Posted by: Peter Brawley
Date: January 16, 2019 09:42AM

> Class 'mysqli' not found in C:\Apache24\htdocs\php_del.php:8

PHP isn't finding the mysqli class library in your run environment, run phpinfo() to see what it can find, read mysqli docs for how to make that library available to your scripts (you need to uncomment it in apache's copy of php.ini).

> I don't understand: header("Location: index.php");

Well by all means don't look up header() in the php manual, heh.

Edited 1 time(s). Last edit at 01/17/2019 11:01AM by Peter Brawley.

Options: ReplyQuote

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.