Using PDO PHP and MySql -
alright peeps, first question on stack overflow , should easy 1 @ since cannot figure out right words trying making incredibly difficult me search it.
i using pdo db connection.
anyways, trying query database , set $fname
string, know how set array while ($fname = $name->fetch()){}
how can set $fname
string instead?
the snippet of code , link can read more appreciated.
you mean this?
while ($fname = $name->fetch()) { echo "{$fname['fieldname']}"; }
Comments
Post a Comment