Jump to content

get one element out of databse instand of all


clankill3r

Recommended Posts

I get different persons in the tabel.

 

How can i get the last tweet from a person?

(can by by last date or highest tweet_id).

 

I have this now which gets them all i think:

 

function getLastTweet($twitter_id) {

$query = "SELECT * FROM tweets WHERE twitter_id='$twitter_id'";

$data = execQuery($query);

return $data;

 

}

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.