Jump to content

Timma

Members
  • Posts

    80
  • Joined

  • Last visited

    Never

Everything posted by Timma

  1. Oh, your forgot to explode it $addresshandle = file("data/lista.lst"); $addresses = explode("|",$addresshandle) $addresses[0] should equal the first email and [1] should equal the second.
  2. It could be the fact that msn and yahoo usually do not accept emails from php mail(). Probably depending on your host.
  3. Well when $entry gets exploded, it turns into an array of the information. For example when you explode the commas in data1,data2,data3 it returns with $entry[0] = data1 $entry[1] = data2 $entry[2] = data3 Or atleast I think so.
  4. Nono, I did not put the bbcode there, there forum auto did it because it saw the ['url']
  5. "<a href=".$row['url'].">".$row['title']."</a>";
  6. That still does not resolve his main problem, getting the information that a user typed into that box.
  7. Better idea! Why not, when you click the preview button, make it post back to the page it was on, and then make it set the value of that textarea to the one that was there previously.
  8. Oh, maybe something to do with body onLoad or just execute the function in a <script>
  9. In the same php file as the form, if it is php, make it post to itself and when it has got something, make it open the window.
  10. But that is exactly what you do, submit it.
  11. Hmm, I can't see the CheckAll function even being used, also most of that function has javascript in it, so ask about it in that forum. The code on the inside, not the php stuff.
  12. With variables inside strings use . print("Deleted ".$value.""); Use dots. echo $PageTitle; No quotation marks. There could be more.
  13. He may have been posting at the same time you were.
  14. Stuff housekeeping, I shall use her as a pony, a nonsexual pony athankyou.
  15. Well you could probably make each button open up a different page, for example, make it open blah.php?preview or blah.php?submit
  16. print '<td class="mainrow2">Nickname: <b>'.$player.'</b></td>'; Do this!
  17. No idea, I must of picked it up somewhere. Probably is unneeded as people, with strings, usually do something like. "text goes here $var oh look more text" and I go "text goes here ".$var." oh look more text"
  18. Now you two are going to be unhappy if those were 3 year olds.
  19. Just wondering, but don't you have to cut a gaping hole? <<If wondering what the hell I am on about, look for the quotation marks>> echo "<div id='content' style='width:"<?php if ((mosCountModules('left') && mosCountModules('right')) < '0'): echo '800'; elseif ((mosCountModules('right') && mosCountModules('left')) > '0'): echo '380'; elseif ((mosCountModules('left') < '0') && (mosCountModules( "right" ) > '0')): echo '590'; elseif ((mosCountModules('right') < '0') && (mosCountModules( "left" ) > '0')): echo '590'; endif; ?>"px'> </div>";
  20. Well why not make it save, with some random name. (Using md5() makes good random file names) And then make it upload to the file hosting place, and then delete it from your server?
  21. Don't forget to press Topic Solved
  22. I can clearly see two question marks in that code box, qualifies as a question But seriously, he does not need help, he was just showing us that php thought that it's start tag was an error.
  23. Hopefully this short, simple script will work. <?php echo " <a href='".rand(1,50)."/'> Click on this. </a> "; ?>
  24. I know of a site with lots of PHP tutorials, yet the site also contains warez so I don't think I can post it.
×
×
  • 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.