Jump to content

MishelM

Members
  • Posts

    11
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

MishelM's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thank you sooo much - that did the trick!!
  2. look at this page here http://www.sonlifenetwork.net/index.php?option=com_djschedule&view=all&Itemid=91 I want the time to display as 2:00 am instead of simply 02:00 or 08:30 to display as 8:30 pm - this is the code that I have currently. time_format(b.dj_starttime,'%h:%i') as djstarttime, I am not very good with php (obviously) is there anyone that will take pity on me and share their knowledge with me?
  3. I have a problem with the menu on a site that I run. The site was originally built by someone else but I had to fix just about everything on it. Although I am ok with code I am far from a developer- and I can not figure this one out. The menu spits when you first land on the site and the menu font is small - then after a few minutes it resolves itself and the font becomes bigger and the menu jpegs flow together as they should. I do not know how to fix this!!
  4. Ok here is what I am using in the individual ad slots right now- ( see below) would I place $random+1 in the place I have highlighted in bold? If I had four slots would I use +1, +2 etc ? Sorry for being so thick but this is all pretty new to me. I really appreciate the help!! <?php $random = rand(0, count($image)-1); echo "<p><a href=\"" . $link[$random] . "\"><img src=\"" . $image[$random] . "\" alt=\"My affiliate\" /></a></p>"; ?>
  5. I am not quite sure how to do that
  6. Ok this code is actually working now however, it sometimes repeats the same ad twice on a page- what can I add to this code to prevent that? Could someone please have pity on me? Puleeeeease?
  7. Ok I keep getting a syntax error with this... any ideas?? Forgive me when I say I am a newbie ... I am REALLY a newbie
  8. Thank you soooooooo much- I will try this!!!
  9. Puleeeeeease... there has to be someone who can help me- I need someone who knows more than I do ( which is probably everyone on this forum)... can someone take a minute and help?
  10. Ok I am trying to rotate ads on a page ( no big deal.. very simple ad rotation script) HOWEVER how do I ensure that the same ads do not show on the same page? What would I need to ad to the following code? I am using this code between <head> and </head> <script type="text/javascript"> function reload() { window.location.reload(); } function countdown() { setTimeout("reload()", 10000); } </script> Then I am using this in the individual ad placement slots <?php include("config.php"); $random = rand(0, count($image)-1); echo "<p><a href=\"" . $link[$random] . "\"><img src=\"" . $image[$random] . "\" border="0" /></a></p>"; ?> Then I have aconfig.php file which looks like this <?php $image[0] = "Ads/Ad_01.jpg"; $link[0] = "http://www.mysite.org/myproduct"; $image[1] = "Ads/Ad_02.jpg"; $link[1] = "http://www.mysite.org/myproduct"; ?> ( there are more links but you get the drift) Is there anyone that can help me- I am a beginner so be gentle!!!!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.