Re: How to change pictures everyday using php



On Tue, 31 May 2005 08:41:47 +0100, Geoff Berrow <blthecat@xxxxxxxxxxx>
wrote:

>I noticed that Message-ID: <482o91dsednsp9s89371earj09873c63fn@xxxxxxx>
>from nemo contained the following:
>
>>If you want to use the same piece of alt text, no matter which picture you
>>are displaying, don't save any alt text with the pictures, just choose what
>>you want as alt text and insert it as a constant into the script when
>>pulling the picture's details from the database
>
>It would be better to use alt="" in that case.
No, it wouldn't. alt="" would produce exactly that when the cursor is over
the picture "", blank, zero, zilch, nothing, notta sozzidge. There is no
point in storing nothing in a database, and even less in storing the same
thing for each record.

$alt="alt=\" This is my standard text.\" ";
$Query="select piccy from piccy_table where etc";
while ($Row=mysql_fetch_array ($Result))
{
$piccy=$Row[piccy_filename];
$piccy=$piccy.$alt;
)

.



Relevant Pages

  • Re: Document title does not work on web
    ... I have marked your response not prefixed by ">" as Q..and my response as A. ... a picture is displayed. ... Q. If the image is in a link, it needs alt text to describe the ... Q. This reflects the fact that on the Web it is not your blue bar ...
    (microsoft.public.scripting.jscript)
  • Re: How to change pictures everyday using php
    ... create a file with all of the picture names. ... Where should I write the "alt text" if I used the kind of code which you ... Which were the advantages/disadvantages to use/not to use a database? ... Luigi ...
    (alt.php)
  • Re: alt attribute and the purpose/meaning of an image
    ... what do the folks here think about my alt text for the picture on my home page - "Me when I was seven."? ... With respect, I get the impression, from your examples, that you're confusing the function/purpose of the alternative text with the function/purpose of a caption. ...
    (uk.net.web.authoring)
  • Re: how can I add pop ups by hovering over a word in publisher?
    ... Pub 2003 you found where to add your alt text, ... >> Select the picture to which you want to add alternate text. ... >> Click the Web tab. ... >>> Max Patmoy ...
    (microsoft.public.publisher.webdesign)
  • Re: alt attribute and the purpose/meaning of an image
    ... what do the folks here think about my alt text ... If the picture is worth captioning, ... then give it a caption, ... achieve by including an image, so, in the final analysis, no outsider ...
    (uk.net.web.authoring)