Hey guys.. could someone please help me with..

What wrong with this:

echo "<td width='25%'><img src='images/Lock.png' title='" . $row['username'] . "' - '" . $row['password'] . "'></td>";

i Get only the username..

Cheers, Sagive

Recommended Answers

You got your quote marks mixed up.
Try

title='" . $row['username'] . " - " . $row['password']
Jump to Post

All 2 Replies

You got your quote marks mixed up.
Try

title='" . $row['username'] . " - " . $row['password']

Great man, 10x a lot :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.