Jump to content
Larry Ullman's Book Forums

Recommended Posts

I am new to using PHP and MySQL.  Previously used MS Access.

One ability in creating a query in Access was very helpful to me.

I am asking if something like it is available in PHP-MySQL.

 

Here is a query designed for use in  MS Access:

------------

SELECT tblCourses.[ClassID], tblCourses.[Coursename], tblCourses.[TeaLastname], tblCourses.[TeaFirstname]
FROM tblCourses
WHERE (((tblCourses.[TeaLastname])=[Enter teacher's last name:]));
------------

This query allowed the user of the query to input a teacher's last name and then receive all the data for the courses taught by that teacher.

 

Can anyone tell me how to accomplish this using PHP and MySQL?

 

I would appreciate any guidance or assistance.

Thank you.

Wes Smith

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...