Jump to content

print_r


cabbie

Recommended Posts

Im doing a PDO query and need help with the while loop and printout.  Without showing the whole script here is the code,,

Need a printout similar to this.. I can do the html etc.  A format easy to read for surveyor.

 

Voter ID       9003256
Name           John Doe
Address      123 Main St
Phone          5553123698

 

http://libertarian-forum.com/larimerlp/survey.php

 

 

$query = $db->query("SELECT * FROM `members` WHERE `members` . `index` = $que");
$rows = $query->fretchAll(PDO::FETCH_ASSOC);

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.