twitter bootstrap - php, print all rows into <p> -
I am trying to print data in a Bustrap 3 blockquote and small paragraphs.
The blockkote displays users
& lt ;? Php $ query = $ db- & gt; Ready (Using PDO to print all the rows with the codes given below) "Choose from the review"); $ Query-> Executed (); $ Result = $ query- & gt; Fatch ALL (); Forex Currency ($ result as $ line) {echo "
" . $ Line ['short'] "& lt; / blockquote & gt;"; Echo "& lt; small & gt;" . $ Line ['first name'] "& lt; / small & gt;"; }? & Gt;
However this code does not display it correctly, such as I personally code this
Basically the top line is how it looks in HTML but IM is trying to get the code above
< Fixed: class = "post-text" itemprop = "text">
fixed:
foreach ($ result as $ line) {resonant "block" Lt; p & gt; $ Line ['Short'] "& lt; / p & gt; & lt; p & gt; Echo "& lt; small & gt;" . $ Line ['first name'] "& lt; / small & gt;" "& Lt; / p> & lt; / blockquote & gt;"; }
Comments
Post a Comment