Board index   FAQ   Search  
Register  Login
Board index php forum :: Database mySQL & php coding

Php session and Mysql

Codes here !

Moderators: macek, egami, gesf

Php session and Mysql

Postby ridgegable » Thu Mar 20, 2014 1:30 pm

Hi guys

I have a website and I'm trying to create a very basic customer panel showing estimates and invoices for that customer in a pdf file. I have so far:

Register:
Log In
Log Out

I have a basic page called MyAccount which shows their personal details (or should do but have a small issue there too)

This was I script I downloaded from php-login-script.com

What I want to happen is this:

The customer logs in, gets access to a My Account page and on that page a link to Estimates and a Link to Invoice which will then display a table with their Estimates / Invoice

I have on the main My Account page a session like this: <h3 class="titlehdr">Welcome <?php echo $_SESSION['user_name'];

Which displays their user name which ia taken from the table users, but how can I do the rest?
ridgegable
New php-forum User
New php-forum User
 
Posts: 4
Joined: Tue Mar 18, 2014 3:37 pm

Return to mySQL & php coding

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.