Hello.
In a database, i have a table called site_item. The table contains three feilds, "id", "title" and "text". What i need to be able to do is read the last row of the table (the one most recently added) and store the value located in the id collum in a variable. The id collum is auto incrementing (that is, the first entry for id reads 1, the second entry reads 2 and so forth) Can anyone help me?
In a database, i have a table called site_item. The table contains three feilds, "id", "title" and "text". What i need to be able to do is read the last row of the table (the one most recently added) and store the value located in the id collum in a variable. The id collum is auto incrementing (that is, the first entry for id reads 1, the second entry reads 2 and so forth) Can anyone help me?