iostream71
Programmer
i'm trying to create dynamic buttons that can load news text from my database. basically, each button would represent a news post and pull it from the database. the algorithm i thought of is something like:
-count x posts in database
-duplicate x buttons for each post
(assign newsID from news database to button while creating it)
-when user clicks button, grab same newsID from database and write to text field
hope that makes sense
-count x posts in database
-duplicate x buttons for each post
(assign newsID from news database to button while creating it)
-when user clicks button, grab same newsID from database and write to text field
hope that makes sense