Help count database using php... urgent 10 points?
heres my table
id equipment
1 a
2 b
3 c
4 a
the output will be
a = 2
b = 1
c = 1
i want to put them in to array... heres my code that only read a.
$result2 = mysql_query("SELECT count(*) FROM workorder WHERE equipment LIKE '$equip' AND...
here's my error:
Use of undefined constant id
help me to fix my error thanks in advance
heres my code
<?php
$host="localhost"; // Host name
$username="root"; // Mysql username
$password="121"; // Mysql password
$db_name="accounts"; // Database name
//$tbl_name="users"; // Table name
//...
frameset border white space remove in google chrome.
the border="0" frameborder="no" is not working
i want to remove white space in frameset border in google chrome..
please help me.
thanks in advance
help what is the code for this program
i want to create a color quiz game.
i have 5textbox,5labels and 1 button.
you need to determine what color in label and the answer will put in textbox.
when you done answering all question and you submit it, msgbox will appear and say that how many is...