I am working on wamp and it is giving this -
Notice: Undefined variable: connection in C:\wamp\www\y.php on line 19
Call Stack
# Time Memory Function Location
1 0.0044 153272 {main}( ) ..\y.php:0
( ! ) Warning: mysql_query() expects parameter 2 to be resource, null given in C:\wamp\www\y.php on line 19
Call Stack
# Time Memory Function Location
1 0.0044 153272 {main}( ) ..\y.php:0
2 0.0968 161288 mysql_query ( ) ..\y.php:19
( ! ) Warning: mysql_fetch_assoc() expects parameter 1 to be resource, null given in C:\wamp\www\y.php on line 20
Call Stack
# Time Memory Function Location
1 0.0044 153272 {main}( ) ..\y.php:0
2 0.0970 161280 mysql_fetch_assoc ( ) ..\y.php:20
( ! ) Warning: mysql_data_seek() expects parameter 1 to be resource, null given in C:\wamp\www\x.php on line 32
Call Stack
# Time Memory Function Location
1 0.0044 153272 {main}( ) ..\x.php:0
2 0.0973 161400 mysql_data_seek ( ) ..\x.php:32
Where am i faltering?