Jump to content
Stef's Coding Community

lesley

Member
  • Content Count

    63
  • Joined

  • Last visited

Community Reputation

0 Neutral

About lesley

  • Rank
    Member
  1. lesley

    PHP Banner Count

    I am using this code below to have random images on my site with unique hyperlinks. All of the hyperlinks go to external domains, and i need a way to know how many times people click on them. Is this possible? <?php $bannerAd[1] = '<a href="http://www.link.com"'>http://www.link.com"'>http://www.link.com"'>http://www.link.com" target="_blank"><img src="http://link.com/images/sample1.jpg" border="0"></a>'; $bannerAd[2] = '<a href="http://www.link.com" target="_blank"><img src="http://link.com/images/sample2.jpg" border="0"></a>'; $bannerAd[3] = '<a href="http://www.link.com" target="_blank"><img src="http://link.com/images/sample3.jpg" border="0"></a>'; $bannerAd[4] = '<a href="http://www.link.com" target="_blank"><img src="http://link.com/images/sample4.jpg" border="0"></a>'; $adCount = count($bannerAd); $randomAdNumber = mt_rand(1, $adCount); echo $bannerAd[$randomAdNumber]; ?>
  2. Thankyou for the responses. @Wickam: I use the REFORMAT HTML to simply "beautify" the code. @Eddie: I can use PHP in my code, however it is fairly new to me. Can you show me how the code would be written to accomplish this?
  3. i also just noticed that the code are being translated here also...which make sense. However here is the code with spaces between: " & # 6 4 ; "
  4. The link did not take properly - here it is agian: email Obscucator
  5. Hello, I read this article (http://www.killersites.com/webDesignersHandbook/emailObscucator.htm) online and started to make these code changes on my website. I use Microsoft Expression Web as my editor and when i type "@" and then choose to formet the document (using REFORMAT HTML) it replaces "@" with "@" Does anyone have a suggestion how i can still use the function of reformatting and not lose the code "@"? Or is there a better method to make an email address antispam? Thank you, Lesley
  6. thank your for the reply! That really helped me out. I am still strugging with the search field on the right, it is sitting too low.
  7. Hello, I am needing some help with CSS. I have built a site that works in all browsers, except when i click on compatibility view in IE. The menu on the left is offset and the search bar on the right is too low. Also the list items in the content area are very close the the text. Here is a link: http://ticau.com/pages/nursing.php Does anyone have any suggestions? Thanks, Lesley
  8. lesley

    css is off

    Thank you for the response. I have added IE statements for now. I am still not sure why things just changed on their own. Anyway, i am just have one more problem. the text on my homepage "welcome to tica" is being cut off by part of the image and i am not sure why. Any suggestions? Thanks, Lesley
  9. lesley

    css is off

    Hello, i am looking for some help. I havent changeed any of my code - but for some reason today my website is not rendering correctly in IE, it looks fine in Safari. the domain is tica.org. when you look at the page in IE, there is some text at the top that is appearing lower than it should, so is the search box. Anyway i try to correct it - it affects how the website renders in Safari and other browsers. So i am not sure what to do, any suggestions? Thanks, Lesley
  10. lesley

    link problem

    That worked great! Thank you so much for the help! It fixes it in all IE versions except IE5.5, but i dont think ill worry about that.
  11. lesley

    link problem

    Thank you! I was able to make that change and the webpage validates - however it did not solve the problem. The hover text not turning into a link does seem to be a problem only on older versions of IE. Is there anything i can code in like "if your using IE7 or earlier, do this"??
  12. lesley

    link problem

    Actually, its seems to be a problem just with Internet Explorer. I know i havent populated the links yet, but in IE, it only shows up as text.
  13. lesley

    link problem

    Hello, I am working on a webpage where i have an image and when you roll-over parts of it, text boxes pop up. I have been tring to make the text itself a hyperlink, but nothing i have tried has worked. You can see the page here: http://tica.org/_university/home.php Advice? Thanks, Lesley
  14. Thank you for your response. I agree CMS is a way to collect data from my customers - However i need to collect data that will feed directly into my internal database which is already built and not stored on my web server. Do those CMS products allow that type of data connections?
×
×
  • Create New...