Fetching row data php mysql?

Based on your comments, I would do something like.

((int) $_GET'url') : NULL; if (!empty($id)) { $sql = "SELECT title FROM some_table WHERE link_id = $id"; // etc. } else { // some error message and exit } Although I really would use PDO, but that´s another story.

That seems to work but I will look into PDO thanks. – chris Feb 26 at 23:59.

Use correct db server/user/password mysql_connect('localhost', 'user', 'pass'); $id = mysql_real_escape_string($_GET'id'); $result = mysql_query(.

Rather WHERE link_id = $id – Xavinou Feb 26 at 23:36 1 What an odd way to create a query – Col. Shrapnel Feb 26 at 23:39 You're going to have to be waaay more specific. – tandu Feb 27 at 4:03.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions