Type: Posts; User:
I'm sorry, I should have added that I...added the parenthesis at the and of the query. Even then, the info is added to my DB, but the error message is still relayed. I'm thinking I'll...
The information uploaded to my DB, but it still gave me an error code. I'm assuming it's something to do with how many rows are being affected, I'll have to test it out..
Crud... I have a DB error. Looks like I need to review my DB connection. I know the connectiong to my DB is ok, becasue I can display the information to my page. But for some reason I can't add info...
$addMember = mysql_query("INSERT INTO family (first_name, second_name, last_name, birth_date, death_date)
VALUES ('$firstName', '$secondName',...
I'm trying to add some info to my database via a form. I've done this int he past with no issues, but for some reason I'm having a major brain fart and it stinks.
Here's my PHP:
Works great! Thanks!
I just have to tweak it to recognize who each family member is related to. Lol...should be fun.
Thanks for the reply! I know I can go on-and-on, but thank you, seriously.
I'll give what you recommend a try, it looks like it's exactly what Im after!
I'm trying to make a simple family tree website, but I'm running into issues with information from my database. I have a column called "gen" for generation. In this column I have different...