I have a table containing tutorials people have submitted to my site. One of the rows is called "author" I want a command that looks in this row for all tutorials by the same author, and displays the number of tutorials that user has submitted.
I tried
$query = "SELECT authors FROM tutorials";
$result=mysql_query($query);
$num=mysql_numrows($result);
But I just get an error.
I just started this php thing yesterday, and am already impressed with what can be accomplished with it so far, but obviously I don't know what the heck I'm doing yet.🙂