Jump to content

Markus1954

New Members
  • Posts

    7
  • Joined

  • Last visited

Markus1954's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I think so. Not sure if they are installed mysqli should be by default. gizmola I am running windows 11.
  2. HI, If any of you remember me I have a new book on php. It uses phpmyadmin. I have created a folder htdocs/php admin/. I tried using loclahost/php admin/setup/config.php. Here is what I get: Composer detected issues in your platform: Your Composer dependencies require the following PHP extensions to be installed: mysqli, openssl. OK so how do I set these dependencies to on? I went to php.ini and removed the ;
  3. Look I have muscle spasms all over my body so I make lots of typos. I also don't have my full ability to concentrate. So I may not be all that clear. As for the book that was written in 2015 as long as the code works, I can try to update it to php 8. Barand, got it. Thanks everyone
  4. Hey GingerM, Where am I going to fine error_reporting(E_ALL) and ini_set('display_errors','1');
  5. While all of you are here I have another question. I am using php 8. There is a book called the joy of php published in 2015. Can I use this book with PHP 8?
  6. Hi All, Thanks for responding, I made some corrections and it still doesn't work. The book is from a British publisher. I have not had much luck with these books. I unfortunately purchase two of these crappy books on C++ and their support staff is horrible. I am using the php.ini production version. I removed the ; from the is this phi ini production in php.ini. I cannot fin ini_set in this file. Mark
  7. Hi, I have a book called Learning PHP 7. Yesterday I installed Mysql, PHP 8 and Apache 2.4. Apache and php both work. I copied some code from the book into Notepad++. It does not work. Here is the code: <?php $looking = isset($_GET)['title']) || isset($_GET['author']); ?> <!doctype html> <html lang = "en"> <head> <meta charset ="UTF-8"> <title>Bookstore</title> </head> <body> <p><you looking'? <?php echo (int) $looking; ?> </p> <p>The book you are looking for is </p> <ul> <li><b>Title</b>: <?php echo $_get['title']; ?></li> <li><b>Author</b> <?php echo $_get[author']; ?></li> </ul> </body> </html> I got rid of the misspelled words. I made a directory called book and put this file in there. I did a localhost/book. It did not work so I moved the file to htdocs, it still did not work. Right now I am baffled. Anyone have an idea what is wrong? Your help is appreciated. Mark
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.