Would this work for the radio button inputs and menu/list input boxes as well?
M
Ok, I tried that and am getting these messages:
Code:
Database error in vBulletin 3.0.7:
Invalid SQL:
INSERT INTO vbportfolio_users (userid, firstname, lastname, text, gender, age, email, bmonth, bday, byear, talent, address, address2, city, state, postal, country, phone, phone2, phone3, phone4, website, insstatus, aftra, sag, natas, experience, breast, cup, waist, height, weight, hips, dress, shoes, chest, inseam, ethnic, stone, hcolor, ecolor, hstyle, piercings, glasses, braces, handicap, hearing, marks, beard, moustache, tattoos, runway, fashion, printmedia, casual, commercial, editorial, tradeshow, spokesmodel, sports, swimwear, artmodel, fineartphoto, fineart, photomodel, perfart, internet, bodyart, lingerie, glamour, acting, singing, dance, voiceover, stage, film, television, language, language2, flying, swimming, horse, skydiving, scuba, climbing, noagent, likeagent, agencyname, address3, address4, agentname, agencycity, agencystate, agencypostal, agencycountry, phone5, phone6, maillist, newsletter, lastactivity) VALUES (1, 'Michael', 'Commini', 'You may put anything here you\'d like. Build
a resume, list the models/photographers you\'ve
worked with, be creative.', ' ', ' ', '', '', '', '', ' ', '', '', '', '', '', '', '', '', '', '', '', ' ', ' ', ' ', ' ', '', '', '','', '', '', '', ' ', ' ', '', '', 'African', 'Fair', 'Blue', ' ', 'Bald', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ' ', ' ', '', '', '', '', '', '', '', '', '', '', ' ', ' ', '1116083892')
mysql error: Duplicate entry '1' for key 1
mysql error number: 1062
Date: Saturday 14th of May 2005 11:18:12 AM
Script: http://www.chicagotalentgroup.com/forums/vbportfolio.php
Referer: http://www.chicagotalentgroup.com/forums/vbportfolio.php?do=editportfolio
Username: mcommini
IP Address: 69.142.145.218
and when I tried to put the code back to the original I get the following parse error:
Code:
Parse error: parse error, unexpected T_STRING in /home/chicagot/public_html/forums/vbportfolio.php on line 177
I'm not sure why it tried to insert instead of updating....
Ok, I figured out what I did wrong - first, I modified the original code which already had what I needed built in! Talk about creating my own problem!
Next, I put the code you suggested in the wrong place! Once I realized that I was able to take care of the problems and get it working.
The only problems I'm having now is that I can no longer use checkboxes and radio buttons 'cause I can't figure out how to assign the variable value and the other is the pictures are expanding to the right. I don't know how to layer them in rows. Any suggestions?
Mike
PS - Give me the url you'd like me to use on my credits page and I'll be sure to give you the credit you deserve!
|