But PHP is pretty savvy, and the folks that wrote the language are programmers,
too. They realized, like you, that you’re constantly having to drop variables into the
middle of strings. So instead of constantly ending a string and adding a variable,
you can just wrap a variable inside of { }, and PHP will print the value of that variable
instead of “$row[0]”. It makes for a lot simpler code, and that’s a good thing.
Save connect.php, revisit connect.html in your browser, and see what tables you’ve
got in your database. Figure 4-5 is connect.php running against a database with a
lot of tables. You may just have one or two, and that’s fine. Just make sure you see