Jump to content

[SOLVED] Mysql problems


ballhogjoni

Recommended Posts

I have some type of issue here. for some reason I cannot get these values to write to my db. Any help would be great.

 

 

if (isset($too_small)) {
$sql = mysql_query("SELECT * FROM contact_n_questions LIMIT $from, $max_results");
	while($row = mysql_fetch_array($sql)){
		if (isset($row['fname'])) {
			mysql_query("INSERT INTO dispo_tooSmall (fname, lname, position, email, state, areacode, prefix, linenumber, question1, question2, question2q1, question2q2, question2q3, question2q4, question2q5, question2q6, question3, question4q1, question4q2, question4q3, question4q4, question4q5, question5q1, question5q2, question5q3, question5q4, question5q5, question5q6, question6, question7, question8, question9, tandc, comments) VALUES ('$row[fname] $row[lname]','$row[position]','$row[email]','$row[state]','$row[areacode]','$row[prefix]','$row[linenumber]','$row[question1]','$row[question2]','$row[question2q1]','$row[question2q2]','$row[question2q3]','$row[question2q4]','$row[question2q5]','$row[question2q6]','$row[question3]','$row[question4q1]','$row[question4q2]','$row[question4q3]','$row[question4q4]','$row[question4q5]','$row[question5q1]','$row[question5q2]','$row[question5q3]','$row[question5q4]','$row[question5q5]','$row[question5q6]','$row[question6]','$row[question7]','$row[question8]','$row[question9]','$row[tandc]','$comments')");

Link to comment
https://forums.phpfreaks.com/topic/48809-solved-mysql-problems/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.