No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
6 Posted Topics
could you explain it better? i didn't got it... do you want to access some PHP $variables inside the .js file?
try to use mysql_num_rows instead mysql_numrows here: [CODE] if(!$result || (mysql_num_rows($result) < 1)){ return 1; //Indicates username failure } [/CODE] and here: [CODE] if(!$result || (mysql_num_rows($result) < 1)){ return 1; //Indicates username failure } [/CODE] and try to fetch the result to fill $dbarray like this: [CODE] $result = mysql_query($q, …
It's because you miss the jQuery Callback function: [CODE] $(function() { $("#submit_js").click(function() { $.post("user_submit.php", {comment: $("#comment").val() }, function(fn) { alert (fn); } ); }); });[/CODE] be sure that the POST data is being posted... see in firebug the post data.. check step by step... if you don't figure it out, …
you should redirect your domain to the free hosting... and place the .php file there...
Try to use: [CODE] $("#categories :selected").text(); [/CODE]
The End.
furutani