Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

http://i172.photobucket.com/albums/w11/urboyfriend/symbols.jpg

<?PHP
        $user_name = "root";   //connect to server
    $password = "";
    $database = "testdb";
    $server = "127.0.0.1";

    $db_handle = mysql_connect($server, $user_name, $password);
    $db_found = mysql_select_db($database, $db_handle);



        $queryString = "SELECT * FROM symbols";  
        $result = mysql_query($queryString);
        $totalRows = mysql_num_rows($result);

        for ($i = 0; $i < $totalRows; ++$i) {

                 $postData[$i] = mysql_fetch_array($result);

            }


        $myJSONString = json_encode($postData);
        echo $myJSONString;




?>

im not sure where to go next

share|improve this question
What exactly is your question? – Wesley van Opdorp Sep 21 '11 at 8:00
So how should we know where to go next?? – xdazz Sep 21 '11 at 8:01
add comment (requires an account with 50 reputation)

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.