You are here: Re: How to change pictures everyday using php « All PHP « IT news, forums, messages
Re: How to change pictures everyday using php

Posted by nemo on 10/10/09 11:17

On Tue, 31 May 2005 08:41:47 +0100, Geoff Berrow <blthecat@ckdog.co.uk>
wrote:

>I noticed that Message-ID: <482o91dsednsp9s89371earj09873c63fn@4ax.com>
>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;
)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация