Wrox Programmer Forums
BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6
This is the forum to discuss the Wrox book Beginning PHP, Apache, MySQLWeb Development by Michael K. Glass, Yann Le Scouarnec, Elizabeth Naramore, Gary Mailer, Jeremy Stolz, Jason Gerner; ISBN: 9780764557446
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old September 27th, 2008, 11:56 AM
Registered User
Join Date: Jul 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to newbreed65
Default Expanding on chapter 6 and the movie site in gen

Hey everyone

im bad at explaining things so sorry if i dont make any sense...right ive done all the chapters that are to do with the movie site and now im trying to expand on it and make it proper dummy site for my portfolio.

currently ive just split the fullname field into first name and surname which ill need to do for something im planning to do later but now i cant get peoples full names to show up in the list boxes for movie.php again only one field(full or surname) ive got a good idea of what i need to do i just not sure about whats the code u use to do it
one of my attempts was to edit the $people[$row[.... row but no luck any ideas?

  $peoplesql = "SELECT * FROM people";

  $result = mysql_query($peoplesql)
    or die("Invalid query: " . mysql_error());
  while ($row = mysql_fetch_array($result)) {
    $people[$row['people_id']] = $row['people_firstname' . 'people_surname'];

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 12 - movie example PatrickJ BOOK: Beginning ASP 3.0 8 June 7th, 2004 01:20 PM
HELP ME PLEASE!!! XML to XSLT FORM GEN elysio XSLT 1 November 15th, 2003 05:37 PM
Site organization by chapter Oregon BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 1 October 29th, 2003 06:44 PM
dynamic rs gen image with javascript binuacs Classic ASP Basics 1 June 5th, 2003 03:27 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.