So, in my latest project I have decided to save all of the visible text a "strings" in a table in my database. The database structure is as follows:
+----+------+-----------------------------+------------+
| id | name | default_value | cust_value |
+----+------+-----------------------------+------------+
| 1 | str1 | This is a demo string | |
| 2 | str2 | This is another demo string | |
+----+------+-----------------------------+------------+
So I got the contents of the table called 'strings' like this:
$strings = mysql_query("SELECT * FROM `strings`;");
but after that I am unsure as to how I would go about placeing these strings in my code.
Can anyone help?
thanks