thedigicraft / Atom.CMS

Atom.CMS
56 stars 52 forks source link

Echoing out user information? #109

Open ninasmurffh opened 9 years ago

ninasmurffh commented 9 years ago

Hi, it's me again. So I've created a "profile page" for only the user to see where i would like to echo out all the user's information from the database (first name, email etc.). I figured out that echo $_SESSION["firstname"]; echoes out the user's email, but is it possible to echo other information too?

creptor commented 9 years ago

if it can be view from phpmyadmin, it can be shown with php :3

creptor commented 9 years ago

do you need more help to do that, or you where just asking?

ninasmurffh commented 9 years ago

I think i'll be fine, i'm watching all the videos from the beginning and also reading a book on php, mysql and stuff to make dynamic websites, so that i might be able to solve most of my problems by myself :) But thank you for helping out!

creptor commented 9 years ago

remember to use prepared statements then if you can.. :smile: