Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
Thread Tools Display Modes
Share |
  #1  
Old 02-14-2014, 11:26 AM
Oxy8's Avatar
Oxy8 Oxy8 is offline
Junior Member
 
Join Date: 10-30-13
Posts: 24
iTrader: 0 / 0%
Question Help - Can you create alt tags using php?

I have wallpaper site that currently have no alt tags, does anyone know if you can create alt tags that pull data from a mysql database wallpaper name
or
add option to script

SITE > HDWallpaperKing (dotcom)

Thank you!!!!
 
Reply With Quote

Advertisement

Advertisement

  #2  
Old 02-19-2014, 03:18 PM
J. H. Rasmussen J. H. Rasmussen is offline
Super Moderator
 
Join Date: 11-11-11
Location: Copenhagen, Denmark
Posts: 6,009
iTrader: 1 / 100%
If you have the wallpaper informations in a MySQL database, then it shouldn't be very difficult to fetch those data and use them as alt-text for your images. However, since i have no idea what your php-code looks like, or how the database is setup, it is difficult to come with a suggestion.

I recommend that you post the php-code used on the pages where you want to fetch data from MySQL and add it to the alt attribute of the img-html-tag.

It may also help, if you tell us what CMS you use(if you use a CMS).
 
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
H1 Tags luggie34 SEO Forum 18 08-07-2013 02:45 AM
Tags JMasterJ SEO Forum 4 01-18-2012 02:47 AM
DIV Tags GeXus SEO Forum 16 06-09-2010 07:57 AM
Use of H1 vs. H2 tags catman SEO Forum 21 09-03-2007 07:04 AM
<h1> tags andregenovese Google Forum 11 04-14-2004 11:54 AM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 04:23 PM.
Powered by vBulletin
Copyright 2000-2014 Jelsoft Enterprises Limited.
Copyright © 2003 - 2018 VIX-WomensForum LLC