$sq7 = ' $SQL = "SELECT * from MANUAL where IDNUMBER='$id'"; $result = mysql_query( $SQL ); while( $row = mysql_fetch_array( $result ) ) { $btn_sql = $row["BTN_STANDARD"]; } ';
The problem is the ' ' around '$id'
how can i put ' ' into $sq7?
thanks
put a backslash before it. Backslash is the escape character you use in most strings to change normal characters to their special meaning (if they have one) and special charachters to their literal value. HTH Bubble
thanks!