WmZilla - Webmaster and Marketplace

The Next Generation Webmaster and Trade Forum

Retrieving data from a database

Yamagi

New member

0

0%

Status

Offline

Posts

42

Likes

0

Rep

0

Bits

230

3

Months of Service

0%
There is the following code snippet: "$check = $db->query(sprintf("SELECT * FROM testler WHERE u_id = %s AND kullanici_id = %s", secure($this->_data['u_id'], 'int'), secure($u_id, 'int') )) or _error(SQL_ERROR_THROWEN); I want to retrieve the value of kullanici_id from this code and print the matching result in another table where kullanici_id matches in that table. How can I do this? In other words, I will retrieve kullanici_id, search for it in the record table, and print the matching result. Thank you.
 

249

6,622

6,642

Top