... variables which are in there.
for example i get this from my Database
Your account "$row[1]" has been created!
Your Website url is http://xfusion-designs.homeip.net/$row[1] or http://24.68.81.150/$row[1]
FTP username: $row[1] password: $row[2] server ip: 24.68.81.150 serverport: 21
Greetz your Webmaster
then in the php script i read this and i want the value $row[1] and $row[2] have, be replaced by $row[1] and $row[2]
while ($row = mysql_fetch_row($read_queue))
{
....
$get_content = mysql_query("SELECT content FROM $settings_table WHERE settingsid=1");
$content = mysql_fetch_row($get_content);
if (mail("$row[3]","Your account has been activated!","$content[0]","From: $from_name <$from_email>")) {
?>
<tr class="formrows">
<td>Mail sent to <?php echo("$row[3]"); ?> about activating his account!</td>
</tr>
<?
}
....
}
But all i get is
Your account "$row[1]" has been created!
Your Website url is http://xfusion-designs.homeip.net/$row[1] or http://24.68.81.150/$row[1]
FTP username: $row[1] password: $row[2] server ip: 24.68.81.150 serverport: 21
Greetz your Webmaster
I want:
Your account "php-forum" has been created!
Your Website url is http://xfusion-designs.homeip.net/php-forum or http://24.68.81.150/php-forum
FTP username: php-forum password: mypassword server ip: 24.68.81.150 serverport: 21
Greetz your Webmaster
can u help me plz? THX 🙂