Jump to content

php code to retrive data from the table and show in browser???


Recommended Posts

Hello Friends,

 

here is my question so is anyonecan help me will be highly appriciated!!

 

How to write php code to retrive data from the table and show in browser

---------------

 

In this question what i hav is

# I have one form and im able to send data in mysql table.

 

Nj

 

well you will need something like

 

$result = mysql_query( "
SELECT * 
FROM `table name` 
") 
or die('Query failed. ' . mysql_error());
while($row = mysql_array($result)
{
$a = ['database_feild']
}
echo $a

 

Thanks for reply!!

one simple and foolish question if you dont mind that i had a similar script  but i jst want to know about field??

I mean what fields i have to mention and how .If you can place any example  for me it would be a vry gd help for me.

--------------

Regards,

Nj

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.