While reading the WROX book ‘Professional PHP Programming’, I came across an example where the code is outdated I believe. At the time of writing, the examples are written using PHP3.x.
In a text field named ‘user’, after the guest types their name and clicks submit, it takes them to a php page with the following code:
[code=php] <?php echo(“Welcome ” . $user); ?>
Testing this out using PHP5, I knew it wouldn’t work and I had to use
[code=php] <?php echo(“Welcome ” . $_POST[user]); ?>
My question is, is this book extremely outdated? Is there going to be [I]a lot
To get a better idea, you can view the book i’m reading [URL=http://www.amazon.com/exec/obidos/tg/detail/-/B0000B0T0W/qid=1113107208/sr=8-1/ref=sr_8_xs_ap_i1_xgl14/103-2472510-4524629?v=glance&s=books&n=507846]here