Results 1 to 4 of 4

Thread: How to pop up Interactive map by sending data from MYSQL using PHP

  1. #1
    Join Date
    Feb 2009
    Posts
    62

    How to pop up Interactive map by sending data from MYSQL using PHP

    How to pop up Interactive map where we need to read data from MYSQL using PHP, this is an important feature that I need to enable in my project I have tried out so many thing to get it enable but it does not happen this I just wanted to have some guideline if anyone has any knowledge please let me know.

  2. #2
    Join Date
    Oct 2008
    Posts
    161

    Re: How to pop up Interactive map by sending data from MYSQL using PHP

    The web browser sends this address in a so-called HTTP request (HyperText Transfer Protocol) to the web server. I have looked into some examples but my problem is they all directly turn the table structure of the database into the XML file but I need to just cherry pick the required columns If the web server receives a request for a static HTML file (typically indicated by a file name ending in .html or .htm) it merely locates the corresponding file on its harddrive and sends it back to the computer that had requested it.

  3. #3
    Join Date
    Jan 2009
    Posts
    134

    Re: How to pop up Interactive map by sending data from MYSQL using PHP

    PHP can do more than simply outputting some text. Almost all programming requires working with what are called variables. Are you sending the appropriate content-type header? If you don't explicitly send one, the web server will send the default text/html header.

  4. #4
    Join Date
    Feb 2006
    Posts
    90

    Re: How to pop up Interactive map by sending data from MYSQL using PHP

    A somewhat tricky issue in PHP is the use of special characters and quotes. By default, the reason my feed was failing in flash was a single 'white' space before the XML doc tag. Making sure the echo writing this was placed right at the beginning before any other script fixed the whole issue. you should put all string values in double-quotes as in "some string". If you want to output a double-quote character itself you need to escape it by preceding it with a backslash as in "\"".

Similar Threads

  1. How to Use the MySQL Data Reader?
    By Deabelos in forum Software Development
    Replies: 4
    Last Post: 05-02-2010, 06:35 AM
  2. Replies: 3
    Last Post: 07-11-2009, 09:36 PM
  3. Problem sending mysql database
    By MahaGuru in forum Software Development
    Replies: 3
    Last Post: 05-05-2009, 01:15 PM
  4. Sending data to a file
    By puk284 in forum Software Development
    Replies: 0
    Last Post: 28-04-2009, 07:25 PM
  5. Data Types in MySQL
    By Jacek01 in forum Software Development
    Replies: 2
    Last Post: 10-02-2009, 03:08 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,856,340.17738 seconds with 17 queries