XML filter with PHP

spherics

New Member
I need some assistance. I am trying to filter a specific row from sql into XML file\[code\]$query = "SELECT * FROM lbs_ WHERE 1";\[/code\]If I use this it shows all the rows from the SQL database, what i want to do is only show a line that equals a query from a formThe form code is as follow\[code\]<a href="http://stackoverflow.com/questions/15486446/phpsqlajax_genxml3.php?msisdn=<? echo $rows['msisdn']; ?>" class="update">\[/code\]If i use the following:\[code\]$query="SELECT * FROM lbs_ WHERE msisdn='$msisdn'";\[/code\]The URL shows the query but it is not filtering just that line it then shows no data in the XML file
 
Back
Top