This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

get the User name and email from db
#1

Hi guys

Actually I have question about if I can do a php code get the User name and user email from database table is called Customers, I mean I dont want the user to type name, email and country. I need the user to log in then if he/she wants to comment just they have to type something in the comment box, but the name, emails and country will be taking from that table.
I hope you can help.

Thank you
Reply
#2


Have you completed the interview?
Reply
#3

Thank you very much Steven
it works ok but still I dont want the user to have a chance to change name or email, because now after those changes in the code the form has to include name input and email input to insert the user information to the db, but what I'm trying to do is to allow the user just to write a comment, I mean the form should display only the comment box, and the user information have to be inserted without changes.
Thank you again
Reply
#4


Have you completed the interview?
Reply
#5

Thank you very much Steven

It works very well
Reply
#6

(22-Mar-2012, 04:25 PM)Abdul Wrote:  Thank you very much Steven

It works very well


Steven, I get this every time I try to comment using the change to default name:

You have just been banned.
This can be due to a variety of reasons including swearing, spamming and hacker-related behaviour.

If you feel that this was in error, please contact the administrator, quoting your IP Address.
Reply
#7

Hi jjevans, I answered this in your other thread:
http://www.commentics.org/forum/showthread.php?tid=499

Have you completed the interview?
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by Steven
28-Mar-2015, 01:45 PM
Last Post by skilife
13-May-2012, 01:11 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)