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
Post a Comment