mysql php variable nested -


my mysql select statement out put string me:

$domain = "test.com"; $time = "12345";  echo $result; 

outputs below:

i pull $domain $time 

i don't know else need mysql select statement show when echoing... i'm trying make show following:

i pull test.com 12345 

any kind of can on appreciated!

simply put next string in,

$result = "i pull '$domain' '$time'"; 

i adding single quotes learn use query string php variables between single quotes. it's practice prevent sqli.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -