mysql - Using PHP variable in mysql_query string -


OK guys, mysql_query is a little complicated issue with passing PHP variables in string

$ _GET ['Date']. Some will like when passed:. 2015_01_07_1

I need the data passed in the table names using the $ week variable

  " text "itemprop =" text "> 

Text changes to the string:

 " SELECT games_brixx_gastonia_ $ week.rank, players_brixx_gastonia.name, Games_brixx_gastonia_ $ week.points from Games_brixx_gastonia_ $ week, players_brixx_gastonia WHERE Games_brians_gastonia_ $ weeks.email = players_biris_gastonia.members order by_library_gastonia_ $ weeks.Rank LIMIT 20 " 

You have to remove the ' characters; It is db going as games_brixx_gastonia_'2015_01_07_1'rank


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

java - Messages from .properties file do not display UTF-8 characters -

javascript - amcharts makechart not working -