Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 14-09-2009
Member
 
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.
Reply With Quote
  #2  
Old 14-09-2009
Member
 
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.
Reply With Quote
  #3  
Old 14-09-2009
Member
 
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.
Reply With Quote
  #4  
Old 14-09-2009
Member
 
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 "\"".
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to pop up Interactive map by sending data from MYSQL using PHP"
Thread Thread Starter Forum Replies Last Post
How to Use the MySQL Data Reader? Deabelos Software Development 4 05-02-2010 06:35 AM
Mysql Error : Can't connect to local mysql server through socket ' var lib mysql mysql.sock' 2 roshan45 Software Development 3 07-11-2009 09:36 PM
Problem sending mysql database MahaGuru Software Development 3 05-05-2009 01:15 PM
Sending data to a file puk284 Software Development 0 28-04-2009 07:25 PM
Data Types in MySQL Jacek01 Software Development 2 10-02-2009 03:08 PM


All times are GMT +5.5. The time now is 01:24 AM.