Jump to content

Markus1954

Members
  • Posts

    28
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Markus1954

  1. 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
  2. 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.