I use ...
Code: [select]
<?php
$pag = isset( $_GET['pag'] ) ? $_GET['pag'] : null;
switch ( $pag )
{
case 'webscript_top_albums':
include "webscript_top_albums.php";
break;
case 'webscript_top_songs':
include "webscript_top_songs.php";
break;
etc...
}
?>
Everything worked but when i added the web_script_requst page, when i click to add buttom to requst aa song it doesn't redirect to the mesage and name form. it goes to the home page., i think go to home page because home page is the default case in my page content.php (code above)
<?php
Deprecated: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in C:\wamp\www\home\webscript_request.php on line 217
Call Stack
# Time Memory Function Location
1 0.0020 200400 {main}( ) ..\webscript_request.php:0
2 0.0910 257336 mysql_escape_string ( ) ..\webscript_request.php:
?>
How can i solve this issue?