Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Showing results 1 to 6 of 6
Search took 0.00 seconds.
Search: Posts Made By: UseLess
Forum: BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 March 24th, 2012, 07:00 AM
Replies: 12
Views: 15,332
Posted By UseLess
<?php /* commented due to not running db...

<?php

/* commented due to not running db server
session_start();

$db= mysql_connect('localhost', 'bp6am', 'bp6ampass');
if( !$db )
{
die ('Unable to connect. Check your connection...
Forum: BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 March 16th, 2012, 03:20 PM
Replies: 12
Views: 15,332
Posted By UseLess
Greetings, Simple. You copied the code...

Greetings,

Simple.

You copied the code and have not changed the names of the textboxes, they are all called 'text'. Therefore none of the following are passed;

- username
- first name
-...
Forum: BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 March 16th, 2012, 08:52 AM
Replies: 12
Views: 15,332
Posted By UseLess
Greetings, Change this; // check if...

Greetings,

Change this;
// check if username already is registered
$query = 'SELECT username FROM palgo_info WHERE username = "' . $username . '"';
to this;
// check if username...
Forum: BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 March 15th, 2012, 02:45 PM
Replies: 12
Views: 15,332
Posted By UseLess
Greetings, So have you corrected all the...

Greetings,

So have you corrected all the other errors in the 2nd file you posted above?

If not then no wonder it's not working.

Errors I found in no particular order:

- you have 2 ) and...
Forum: BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 March 15th, 2012, 04:19 AM
Replies: 12
Views: 15,332
Posted By UseLess
Greetings, You do not need to use an array,...

Greetings,

You do not need to use an array, so this (name changed due to the word filter);
<select name="gender[]" id="gender" >
<option value="0">Select</option>
<option...
Forum: BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 March 14th, 2012, 12:26 PM
Replies: 12
Views: 15,332
Posted By UseLess
Greetings, As you failed to specify exactly...

Greetings,

As you failed to specify exactly what the problem is I am guessing it's a problem with the date of birth selects... you should name them;

dob_year
dob_month
dob_day

as each...
Showing results 1 to 6 of 6

 


All times are GMT -4. The time now is 05:54 AM.


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