BreakBreak
Members-
Posts
26 -
Joined
-
Last visited
Never
Everything posted by BreakBreak
-
I used your idea, and it worked. Thank you for your time ken.
-
Er... What? checkone = 100 condition = > 1 Did you read the posts above before you posted?
-
$y = "if(\".$checkone.$condition.\"){ $ok = 'yes';}"; This does not work.
-
Thanks. Well i got that echo'd too on the page and it says this: 7 >= 5
-
$y = "if(".$checkone.$condition."){ $ok = 'yes';}"; eval($y); I get the following error: Parse error: parse error in /var/www/html/insidethecity.php(109) : eval()'d code on line 1 Line 109 is the code i showed. line 1 is <?
-
Is this possible? Variables in an If statement. Please help
BreakBreak replied to BreakBreak's topic in PHP Coding Help
Bump. -
Is this possible? Variables in an If statement. Please help
BreakBreak replied to BreakBreak's topic in PHP Coding Help
Why is it not recommended? What i'm trying to do is pull 2 variables from a sql database as strings and use them in the If statement. One of the strings will always have the operator in it. Thanks in advance. -
Is this possible? Variables in an If statement. Please help
BreakBreak replied to BreakBreak's topic in PHP Coding Help
$a = "2 >"; $b = 1; if($a $b){ echo "this works"; } So, Eval($a $b); if($a $b){ echo "this works"; } Is that right? -
I don't really like using echo at the beggining of these things, you'll have problems with the /'s and generally it gets messy. I had to do this A LOT for my latest project and i did this instead: <input name="number" type="text" class="text" value="<? echo "$row['number']"; ?>" size="15"/>
-
Which bit?
-
None, it doesn't run the function or repeat it.
-
Whenever i try and post it timeouts for some reason so i'll link it. http://absinth.modernmethod.com/sajax/forum/viewtopic.php?t=2001 Sorry to do this but every time i post this code it times out the forum :(
-
Use frames maybe?
-
Please help - how do I get PHP echo to show in popup???
BreakBreak replied to fran_456777's topic in PHP Coding Help
Read my PM. -
I'm from cyprus too, if you download the latest google earth you will notice they have much of cyprus added and i'm guessing will finish it off in the next versions.
-
Great! :D Thank you again :)
-
Good, so it WILL refresh even though php is running? What if php terminates itself, does the refresh still go through? This is what i WANT to happen :)
-
If your html has a meta refresh, say 2 seconds, and your php loop runs for 5 second, will it refresh after 2 seconds or wait for the php loop to finish? Thanks in advance.
-
Damn, i need it to refresh if the php times out. What confuses me IMENSELY is that it SOMETIMES times out and other times is completley fine :!
-
Does the on.load function work if the php terminates the page as it's been running too long? Where would i put that function above?
-
Is it possible to make a page refresh as soon as it's loaded (i.e green bar at bottom right stops loading) This would help a lot with my loops that i don't want to end, thanks.
-
Yes, but (sleep1) didn't. I have changed them to for(;;) loops now and they are working fine, i also got my server to extend the termination time. Thanks for your help.
-
Doesn't work, avoids the loop.
-
Is that not the exact same thing? Note: I want this to be an infinite loop.