Announcements | Last Post | |
---|---|---|
SoC Curricula | 09/30/2017 01:08PM | |
Demarcation or scoping of examinations and assessment | 02/13/2017 07:59AM | |
School of Computing Short Learning Programmes | 11/24/2014 08:37AM | |
Unisa contact information | 07/28/2011 01:28PM |
Insert script inserting three players into database at the same, but two of them are blank April 23, 2013 02:28PM |
Registered: 11 years ago Posts: 7 Rating: 0 |
Language: PHP$query = "INSERT INTO playerinfo(name,surname,contactnumber,email,position,username,password) VALUES (';".$_POST[';name';]."';, ';".$_POST[';surname';]."';, ';".$_POST[';contactnumber';]."';, ';".$_POST[';email';]."';, ';".$_POST[';position';]."';, ';".$_POST[';username';]."';, ';".$_POST[';password';]."';)"; $result = mysql_query($query) or die ("Query failed: " . mysql_error());
Re: Insert script inserting three players into database at the same, but two of them are blank April 23, 2013 03:14PM |
Admin Registered: 18 years ago Posts: 10,001 Rating: 353 |
Re: Insert script inserting three players into database at the same, but two of them are blank April 24, 2013 06:47AM |
Registered: 11 years ago Posts: 106 Rating: 0 |
Re: Insert script inserting three players into database at the same, but two of them are blank April 25, 2013 01:06PM |
Registered: 11 years ago Posts: 7 Rating: 0 |
Re: Insert script inserting three players into database at the same, but two of them are blank April 25, 2013 02:28PM |
Admin Registered: 18 years ago Posts: 10,001 Rating: 353 |
Re: Insert script inserting three players into database at the same, but two of them are blank April 25, 2013 06:36PM |
Registered: 11 years ago Posts: 106 Rating: 0 |
Language: PHP$SQL = "INSERT INTO Players (name, surname, contact_number, email, position,username, password, Picture) VALUES (\"$this->Name\", \"$this->Surname\", \"$this->ContactNo\", \"$this->Email\", \"$this->Position\", \"$this->Username\", \"$this->Password\", \"$this->Picture\")";
Language: PHP$SQL = "UPDATE players SET name=\"$this->Name\", surname=\"$this->Surname\", contact_number= \"$this->ContactNo\", email=\"$this->Email\", position=\"$this->Position\", username= \"$this->Username\" WHERE player_id = \"$this->ID\"";
Re: Insert script inserting three players into database at the same, but two of them are blank April 26, 2013 08:27AM |
Admin Registered: 18 years ago Posts: 10,001 Rating: 353 |
Re: Insert script inserting three players into database at the same, but two of them are blank April 26, 2013 01:51PM |
Registered: 11 years ago Posts: 106 Rating: 0 |
Re: Insert script inserting three players into database at the same, but two of them are blank April 26, 2013 03:31PM |
Admin Registered: 18 years ago Posts: 10,001 Rating: 353 |
Re: Insert script inserting three players into database at the same, but two of them are blank April 26, 2013 04:40PM |
Registered: 11 years ago Posts: 106 Rating: 0 |