supportahm1980
Technical User
Hello. I was wondering what I can do to remove a leading slash when data is displayed on a webpage after a mysql query.
For example:
<?php
while ($row = mysql_fetch_assoc($rs)) {
echo "<tr><td>".$row['Name']."</td><td>";
?>
Result is \John
\John is in the DB.
For example:
<?php
while ($row = mysql_fetch_assoc($rs)) {
echo "<tr><td>".$row['Name']."</td><td>";
?>
Result is \John
\John is in the DB.