Customer feedback
One of the great bits of my job is getting feedback from customers who have commissioned a portrait and been delighted with the outcome. Below is a sample of the comments I've received since setting up my website.
include '../includes/db.php'; open_database(); $query = "SELECT feedback.feedback_ref, feedback.portrait_filename, feedback.text, portrait_data.portrait_name, portrait_data.publish_flag FROM feedback LEFT JOIN portrait_data ON feedback.portrait_filename = portrait_data.portrait_filename ORDER BY portrait_data.publish_flag DESC, RAND()"; $result=mysql_query($query); $counter=0; while ($row = mysql_fetch_assoc($result)) //for each testimonial record { $portrait_name[$counter] = stripslashes($row[portrait_name]); $portrait_filename[$counter] = $row[portrait_filename]; $feedback[$counter] = $row[text]; $publish_flag[$counter] = $row[publish_flag]; $counter+=1; //print_r($row); } $number_of_feedback = count($feedback); ?>
One of the great bits of my job is getting feedback from customers who have commissioned a portrait and been delighted with the outcome. Below is a sample of the comments I've received since setting up my website.