Timma
Members-
Posts
80 -
Joined
-
Last visited
Never
Everything posted by Timma
-
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.
-
It could be the fact that msn and yahoo usually do not accept emails from php mail(). Probably depending on your host.
-
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.
-
Nono, I did not put the bbcode there, there forum auto did it because it saw the ['url']
-
"<a href=".$row['url'].">".$row['title']."</a>";
-
That still does not resolve his main problem, getting the information that a user typed into that box.
-
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.
-
Oh, maybe something to do with body onLoad or just execute the function in a <script>
-
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.
-
But that is exactly what you do, submit it.
-
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.
-
With variables inside strings use . print("Deleted ".$value.""); Use dots. echo $PageTitle; No quotation marks. There could be more.
-
He may have been posting at the same time you were.
-
Very Basic Sessions help DESPERATELY needed @ verge of bankruptcy
Timma replied to hoodedclaw69's topic in PHP Coding Help
Stuff housekeeping, I shall use her as a pony, a nonsexual pony athankyou. -
Well you could probably make each button open up a different page, for example, make it open blah.php?preview or blah.php?submit
-
print '<td class="mainrow2">Nickname: <b>'.$player.'</b></td>'; Do this!
-
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"
-
Very Basic Sessions help DESPERATELY needed @ verge of bankruptcy
Timma replied to hoodedclaw69's topic in PHP Coding Help
Now you two are going to be unhappy if those were 3 year olds. -
Very Basic Sessions help DESPERATELY needed @ verge of bankruptcy
Timma replied to hoodedclaw69's topic in PHP Coding Help
So Guilty, which daughter are you going to choose? -
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>";
-
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?
-
Don't forget to press Topic Solved
-
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.
-
Hopefully this short, simple script will work. <?php echo " <a href='".rand(1,50)."/'> Click on this. </a> "; ?>
-
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.