Extracting post from database using PHP -


i can , insert text form input, sql database , able retrieve on separate page, when try retrieve on same page form displays blank white page, none of code showing.

i enabled decoder, not displaying anything. feel it's because placed block of code in wrong area.

anyway, here's code: http://pastebin.com/nwrwg0xj highlighted block i'm having issue with. put div around way, still did not anything.

i've tried moving block of code around many times still not achieve anything.

you have

 $template = "anonymous posted: " . $row[0] <br>; 

it should

 $template = "anonymous posted: " . $row[0] . "<br>"; 

and assume want print it, not store in useless variable. should

echo "anonymous posted: " . $row[0] . "<br>"; 

Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -