Jump to content

BreakBreak

Members
  • Posts

    26
  • Joined

  • Last visited

    Never

Everything posted by BreakBreak

  1. I used your idea, and it worked. Thank you for your time ken.
  2. Er... What? checkone = 100 condition = > 1 Did you read the posts above before you posted?
  3. $y = "if(\".$checkone.$condition.\"){ $ok = 'yes';}"; This does not work.
  4. Thanks. Well i got that echo'd too on the page and it says this: 7 >= 5
  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 <?
  6. 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.
  7. $a = "2 >"; $b = 1; if($a $b){ echo "this works"; } So, Eval($a $b); if($a $b){ echo "this works"; } Is that right?
  8. 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"/>
  9. Is this possible? $a = "2 >"; $b = 1; if($a $b){ echo "this works"; } So basically i'm trying to make an IF statement out of 2 variables. Is this possible? Thanks in advance.
  10. None, it doesn't run the function or repeat it.
  11. 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 :(
  12. 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.
  13. 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 :)
  14. 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.
  15. 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 :!
  16. 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?
  17. 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.
  18. 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.
  19. Is that not the exact same thing? Note: I want this to be an infinite loop.
×
×
  • 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.