echo from mysql and Mix with HTML
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
sagive
Junior Poster in Training
87 posts since Dec 2009
Reputation Points: 34
Solved Threads: 8
You got your quote marks mixed up.
Try
title='" . $row['username'] . " - " . $row['password']
smantscheff
Nearly a Posting Virtuoso
1,233 posts since Oct 2010
Reputation Points: 300
Solved Threads: 254
sagive
Junior Poster in Training
87 posts since Dec 2009
Reputation Points: 34
Solved Threads: 8