Jump to content

Madatan

Members
  • Posts

    51
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Male

Madatan's Achievements

Member

Member (2/5)

0

Reputation

  1. Yeah I thought so too, and thus I did it as an iframe at first. But it refreshed the entire web browser every 5 second, which screwed up everything thats not within the iframe.
  2. Difficult to sum it up in the title perhaps... Anyway, I have a php script thats being refreshed every 5 seconds by a javascript. Now I want to include this php script on several other pages on the site. But currently when I'm using an ajax function or normal iframes the included page will refresh the entire site and not just itself. Simply put, how can I include a file without it doing anything with the page its included on? Thanks for any help!
  3. Not really sure what your question is, maybe you could clarify? Do you want suggestions on a battle script or how to choose winners or what?
  4. Thank you! I have found those myself and I was pretty sure there were no easy way to do it by myself, so thanks for confirming that! I guess I will have to use one of the free ones, just mod it a bit.
  5. Yes I have gotten that far myself, I create PDFs using PHP but so far I have only been able to create PDFs with normal text and images. If I for example use "<h1>Title</h1>" the PDF will display "<h1>Title</h1>". What i'm hoping to find is some class or function that possible could convert html into whatever PDF use. I hope that was a better explanation
  6. Try adding a line-height in the .search-box. Example: .searchbox { height: 12px; font-family: Arial, Helvetica, sans-serif; font-size: 11px; color: #3D1B00; border: 1px solid #FFFFFF; width: 90px; position: relative; top: 0px; _top: 1px; line-height: 33px; }
  7. As topic states, is it possible to get information from a database with html-tags stored in the table and build a PDF with H1, br, p, tables etc etc?
  8. Yes 1/10 to 10/10 will be replaced with different amounts of images, these are ratings. So 1/10 one image, 10/10 ten images.
  9. Not sure the title is that good, i'm not really sure how to put this. But what I want to do is this. I have a news script on my site adding news, anyone can add at any time. What I would like to do is that when someone add the chars 1/10 for example I would like it to be replaced with an image when people read the news article. Is this possible and how to? Thanks for you help!
  10. Thanks for that rhodesa but I do infact need the Counter column and I need the code to update the numbers in the database. Counter Column 1 2 3 4 10 12 If the Counter column looks like this I want it to update into looking like(in the database) this once I load the page: Counter Column 1 2 3 4 5 6 I hope I explained a little better now. Its not the output i'm really worried about its rather the numbers that are stored in the Counter column in the database.
  11. I'm gonna try to explain what i'm after here. I have lets say 11 rows in a mysql table with ID Name and Counter columns. ID is on auto_increment. Each time I add one row in this table with a php script the row gets for example 118 - Doofus.jpg - 12. By this I mean that every row gets an unique Counter number, but not random, instead they have to be from 1,2,3,4,5,6,7 etc etc. So that the first row always gets 1 and the last row always gets the last number in the order, in this case 12. When a row in this table is deleted, also via a PHP script, the range of number gets messed up. Maybe I delete a row with the Counter number 5. Now I have a gap. So what I want to do is that everytime I load a page I want these numbers rearranged so that it always is 1,2,3,4,5,6,7 etc etc. I hope I made myself clear and I hope someone can help me, I've tried loops with mysql Update but to no avail. Thanks for all your help!
  12. I have been pondering upon this matter but I just cant figure out a good solution. I would like to recieve some good ideas and help on how to create a pretty simple league fixture code. So lets say I got X vs Y G vs H A vs B and I want every team to meet every team 3 times. How should I code to do that automatically and random? Then I want the fixtures inserted into a database table. Any suggestions?
×
×
  • 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.