Answer the question
In order to leave comments, you need to log in
What do these parts of the code do?
A)
$sql = mysql_query("INSERT INTO `user` (`id`, `profesie`, `img`)
VALUES (' ',' с сюрпризами ',' http ')");
$sql = mysql_query("SELECT `id`, `nume`, `linkimg`, `money`, `time`, `trimite` FROM `utilizator` WHERE `id`= '$userin' ", $link);
while ($result = mysql_fetch_array($sql)) {
$name1 = $result['nume'];
$linkimgg = $result['linkimg'];
$moneyok = $result['money'];
$timpul = $result['time'];
$trimiteokk = $result['trimite'];
$sql = mysql_query("SELECT `id`, `time`, `trimite` FROM `utilizator` WHERE `id`= '$utilizatorid' ", $link);
while ($result = mysql_fetch_array($sql))
Answer the question
In order to leave comments, you need to log in
1. Inserts a record into the database.
2. Gets the data.
3. Gets the data.
No one will give you more precise explanations without the structure of the database.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question