MySQL Forums
Forum List  »  Newbie

Use data from the database
Posted by: Mladen Dokic
Date: October 17, 2012 02:58AM

Screenshot mysql: http://www.balkanselection.com/mysql.jpg

If I want to use the data in fields “Sender name” then i use code

echo $profil[sender_name];

or for "Subject" i use code

echo $profil[subject];



but how to use other data that users enter and are located in the “data”?

for example
in the database in the “data” there are fields City, Address, Phone,…

What code to use to insert just name of the city (in example: Berlin) ?



Tnx

Options: ReplyQuote


Subject
Written By
Posted
Use data from the database
October 17, 2012 02:58AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.