Hello i dont know how to echo from one table row ( table row name title )

id | id_publisher | title | price |......... so what i want is to echo title and how many games like

Exaple: surrounded with ( ) is how many i have.
Call of Duty (8)
Call of Duty black ops 2 (15)
Need for speed most wanted 2 (10)

i dont know if you understand what i mean ?? :) if so can somebody explain how to do that if possible ?

Any help is appreciated :) Thanks

Recommended Answers

All 3 Replies

Member Avatar for diafol

Are you referring to a mysql DB table or a table in html?

@diafol.

mysql DB table

If you're starting from scratch, here is a very basic tutorial that would help get you started
http://www.w3schools.com/php/php_mysql_select.asp

Once you start and have some code going, you can ask us questions here if you run into problems.

Also, the best and first resource for all questions regarind PHP http://php.net

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.