| | |
echo statement
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
php Syntax (Toggle Plain Text)
echo "<td align=center style='width: 30px'><strong><a href='' . $link1 . '' style='color: red'>CID</a></strong></td>";
Is this part properly coded
php Syntax (Toggle Plain Text)
<a href='' . $link1 . '' style='color: red'>
I tried like
php Syntax (Toggle Plain Text)
<a href="' . $link1 . '" style='color: red'>
Pls advise.
Last edited by lordx78; Mar 8th, 2008 at 4:19 am.
"I might not be the BEST but I'm not like the REST!"
php Syntax (Toggle Plain Text)
echo "<td align=center style=\"width: 30px\"><strong><a href=\"$link1\" style=\"color: red\">CID</a></strong></td>";
Last edited by johnsquibb; Mar 8th, 2008 at 4:25 am. Reason: changed all to escaped double quotes
The End
another way to tackle it would be...
php Syntax (Toggle Plain Text)
echo '<td align=center style="width: 30px"><strong><a href="' . $link1 . '" style="color: red">CID</a></strong></td>';
The End
![]() |
Similar Threads
- Help using "include" inside of "echo" (PHP)
- if-statement help (Shell Scripting)
- Newbie Question. how to put url into echo $row (PHP)
- Error comparing strings from arrays (PHP)
- Whats wrong with this code (PHP)
- Go to a new page inside an if statement (PHP)
- PHP-Nuke Tutorial #1: Altering the Header Tags (PHP)
- if statement in php (PHP)
Other Threads in the PHP Forum
- Previous Thread: Can any one help me?
- Next Thread: Deleting Files
| Thread Tools | Search this Thread |
Tag cloud for PHP
.htaccess access ajax apache api array basic beginner binary bounce broken cakephp checkbox class cms code computing cron curl database date delete directory display domain download dynamic echo email error file files folder form forms function functions google href htaccess html image include insert integration ip java javascript joomla limit link load login loop mail menu methods mlm mod_rewrite multiple mysql oop parse paypal pdf php problem query radio random recursion regex remote return script search select server sessions sms soap source space speed sql structure syntax system table tutorial update upload url validation validator variable video web xml youtube





