Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #13276 > unrolled thread
| Started by | richard <noreply@example.com> |
|---|---|
| First post | 2014-03-26 14:51 -0400 |
| Last post | 2014-03-27 00:54 +0000 |
| Articles | 6 — 5 participants |
Back to article view | Back to comp.lang.php
simple link won't show richard <noreply@example.com> - 2014-03-26 14:51 -0400
Re: simple link won't show Scott Johnson <noonehome@chalupasworld.com> - 2014-03-26 13:04 -0700
Re: simple link won't show richard <noreply@example.com> - 2014-03-26 18:23 -0400
Re: simple link won't show Jerry Stuckle <jstucklex@attglobal.net> - 2014-03-26 22:53 -0400
Re: simple link won't show Norman Peelman <npeelman@cfl.rr.com> - 2014-03-26 20:02 -0400
Re: simple link won't show Denis McMahon <denismfmcmahon@gmail.com> - 2014-03-27 00:54 +0000
| From | richard <noreply@example.com> |
|---|---|
| Date | 2014-03-26 14:51 -0400 |
| Subject | simple link won't show |
| Message-ID | <iq5j8368505b$.1g174wrk7hdjh.dlg@40tude.net> |
$t=$row['title']; echo "<td>"; echo "<a href='#'>.$t.</a>"; http://mroldies.net/dailyplayer.php I have tried numerous combinations of single and double quotes and I the link still will not show up.While on my main page, and elsewhere, they show up just fine. What am I missing? It's time to laugh and bash stupid. So go for it boys. Give it your best.
[toc] | [next] | [standalone]
| From | Scott Johnson <noonehome@chalupasworld.com> |
|---|---|
| Date | 2014-03-26 13:04 -0700 |
| Message-ID | <lgvc33$52u$1@dont-email.me> |
| In reply to | #13276 |
On 3/26/14, 11:51 AM, richard wrote: > > $t=$row['title']; > echo "<td>"; > echo "<a href='#'>.$t.</a>"; > > > http://mroldies.net/dailyplayer.php > > > I have tried numerous combinations of single and double quotes and I the > link still will not show up.While on my main page, and elsewhere, they show > up just fine. What am I missing? > > It's time to laugh and bash stupid. > So go for it boys. Give it your best. > look at your source code in the browser and it may become evident. Scotty
[toc] | [prev] | [next] | [standalone]
| From | richard <noreply@example.com> |
|---|---|
| Date | 2014-03-26 18:23 -0400 |
| Message-ID | <1eaija5bw78b3$.bmk8f1vm958g$.dlg@40tude.net> |
| In reply to | #13277 |
On Wed, 26 Mar 2014 13:04:21 -0700, Scott Johnson wrote: > On 3/26/14, 11:51 AM, richard wrote: >> >> $t=$row['title']; >> echo "<td>"; >> echo "<a href='#'>.$t.</a>"; >> >> >> http://mroldies.net/dailyplayer.php >> >> >> I have tried numerous combinations of single and double quotes and I the >> link still will not show up.While on my main page, and elsewhere, they show >> up just fine. What am I missing? >> >> It's time to laugh and bash stupid. >> So go for it boys. Give it your best. >> > > look at your source code in the browser and it may become evident. > > Scotty The big problem for me was the damned caching. I deleted the code for the table, uploaded the page and I was still seeing the old table.
[toc] | [prev] | [next] | [standalone]
| From | Jerry Stuckle <jstucklex@attglobal.net> |
|---|---|
| Date | 2014-03-26 22:53 -0400 |
| Message-ID | <lh03r6$d3h$1@dont-email.me> |
| In reply to | #13278 |
On 3/26/2014 6:23 PM, richard wrote: > On Wed, 26 Mar 2014 13:04:21 -0700, Scott Johnson wrote: > >> On 3/26/14, 11:51 AM, richard wrote: >>> >>> $t=$row['title']; >>> echo "<td>"; >>> echo "<a href='#'>.$t.</a>"; >>> >>> >>> http://mroldies.net/dailyplayer.php >>> >>> >>> I have tried numerous combinations of single and double quotes and I the >>> link still will not show up.While on my main page, and elsewhere, they show >>> up just fine. What am I missing? >>> >>> It's time to laugh and bash stupid. >>> So go for it boys. Give it your best. >>> >> >> look at your source code in the browser and it may become evident. >> >> Scotty > > The big problem for me was the damned caching. > I deleted the code for the table, uploaded the page and I was still seeing > the old table. > Been there... Done that... :) -- ================== Remove the "x" from my email address Jerry Stuckle jstucklex@attglobal.net ==================
[toc] | [prev] | [next] | [standalone]
| From | Norman Peelman <npeelman@cfl.rr.com> |
|---|---|
| Date | 2014-03-26 20:02 -0400 |
| Message-ID | <lgvpq0$juk$1@dont-email.me> |
| In reply to | #13276 |
On 03/26/2014 02:51 PM, richard wrote: > > $t=$row['title']; > echo "<td>"; > echo "<a href='#'>.$t.</a>"; > > > http://mroldies.net/dailyplayer.php > > > I have tried numerous combinations of single and double quotes and I the > link still will not show up.While on my main page, and elsewhere, they show > up just fine. What am I missing? > > It's time to laugh and bash stupid. > So go for it boys. Give it your best. > Are you sure $row['title'] is not blank? Even so, that code works here and if it were blank you should still see: <a href='#'>..</a> in the source. That being said, are you really after: echo "<a href='#'>".$t."</a>"; or echo "<a href='#'>$t</a>"; -- Norman Registered Linux user #461062 -Have you been to www.php.net yet?-
[toc] | [prev] | [next] | [standalone]
| From | Denis McMahon <denismfmcmahon@gmail.com> |
|---|---|
| Date | 2014-03-27 00:54 +0000 |
| Message-ID | <lgvsrd$m77$1@dont-email.me> |
| In reply to | #13276 |
On Wed, 26 Mar 2014 14:51:48 -0400, richard wrote: > $t=$row['title']; > echo "<td>"; > echo "<a href='#'>.$t.</a>"; > > > http://mroldies.net/dailyplayer.php > > > I have tried numerous combinations of single and double quotes and I the > link still will not show up.While on my main page, and elsewhere, they > show up just fine. What am I missing? > > It's time to laugh and bash stupid. > So go for it boys. Give it your best. A couple of suggestions. When creating a large table, write a newline character after the closing tag of every tr. Use htmlspecialchars or htmlentities to preprocess text that you are inserting into a web page. If your original data has a combination of escaped and unescaped ampersands, you may need to set the double_encode param to false. Use a lang attribute for your html element. Use utf-8. -- Denis McMahon, denismfmcmahon@gmail.com
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.php
csiph-web