Why isn't this number going into my database?
Posted on 2011-04-28
Here's my number: 2,666,672.86
When I do a echo $_POST['current_client_totals'], I get 2,666,672.86. But when I run the code that you see below and then look at what landed in the database, I only see "2." Why? What am I missing?
Here's the code:
$michelle = "INSERT into credibility (student_id, student_name, coaching_call_number, coaching_call_time, rev_goals_current, rev_goals_new, rap_completed, met_pca, prepared, attitude, face_face, rap_review) values ('$_POST[student_id]','$student_name', '$coaching_call_number','$coaching_call_time', '$_POST[current_client_totals]', '$rev_goals_new','$rap_completed','$met_pca',
'$prepared', '$attitude', '$face_face', '$review_rap')";