Thread
:
Undefined Index error with DB
View Single Post
#
2
(
permalink
)
Apr 21st, 2008, 12:35
CloudedVision
Nerdy Moderator
Join Date: Feb 2008
Location: In My Own Little World
Age: 14
Posts: 942
Blog Entries:
8
Thanks: 2
Thanked 22 Times in 22 Posts
Re: Undefined Index error with DB
Line six is this line:
PHP
:
Select all
$author_id
=
$_POST
[
'author_id'
];
And undefined index means one
PHP
can't find a certain section of an array, in this case $_POST['author_id']. So $_POST['author_id'] must not be set.
__________________
echo
"Take it easy, "
.$CloudedVision
;
.links {
site
:
other-road-design
;
blog
:
only-nerds-allowed
;
project
:
resource-fish
;
organization
:
ARMIES6
;
}
<quote>
"
I think it's wrong that only one company makes the game Monopoly
"
-
<name>
Steven Wright
</name></quote>
CloudedVision
View Public Profile
Visit CloudedVision's homepage!
Find all posts by CloudedVision
View Blog