Hello i cant understand how i can send database info to user for example i want to send my note which contain (date, text, title and other info) and this info is under ID for ex. (123456) please someone explain me how i can do that or help me thank you :)
Stefce
146
Posting Pro
Recommended Answers
Jump to PostIf you have a db table ('notes') like so:
id | date | text | title | to | from
Then all you need to do is create a prepared statement (PDO or mysqli):
SELECT `id`, `date`, `title`, `text` ... FROM `notes` WHERE `to` = ? ORDER …
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.