Jump to content
Larry Ullman's Book Forums


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Deleter

  • Rank
  1. Hello everyone! I recreated the script from chapter 11 about file compression exactly as it is in the book but it only backs up the first table from any database. Here's the code as it is in my IDE: <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Database Backup</title> <link rel="stylesheet" href="style.css"> </head> <body> <?php # Script 11.1 - db_backup.php // Set the name of the database $db_name = 'testlogin'; // Make sure that the backup directory exists $dir = "backups/$db_name"; if (!is_dir($dir)
  2. Hi there! I encountered a problem within the view_cart.php script that has to do with the only input field - Quantity. When there's already something in the cart, the quantity can't be changed manually and after I press the Update My Cart button nothing changes and the already preset qty is again displayed. Here is the part of the script that in my opinion is problematic: 61 // Print the returned records 62 echo "\t<tr> 63 <td align=\"left\">{$row['artist']}</td> 64 <td align=\"left\">{$row['print_name']}</td> 65 <td align=\"right\">\${$_SES
  • Create New...