I am writing a resume script and I need the heading “Reference” to be inserted if a mysql query finds at least one occurence of the current job_id in the table “references”, how would I be able to that?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can determine the number of rows returned by a query with
mysql_num_rows()or$mysqli_result->num_rowsif you’re using MySQLi. Which I recommend.Then it’s a simple
if: