Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ruby on rails
#7
(12-21-2010, 08:00 PM)Orgy Wrote: 4x? Lets see.

while ($row = mysql_fetch_array(mysql_query("SELECT * FROM posts WHERE name='hi'"))) { echo $row['post'] . "\n"; }

How about .25x

Suck it

Was about to reply and speak about the fact that you just put it all on one line =s. But its orgy ;)

@solidius -
May you explain why? I've worked with PHP a long time and its no secret its terrible at SQL.


oh and orgy you are echoing the post. The ruby script echos the post.name =]
WhiteHat Hacker, Infection Control and HJT Team Trainee
Poppins™
Originally from: Hackforums.net
Reply


Messages In This Thread
Ruby on rails - by Poppins - 12-20-2010, 01:56 PM
RE: Ruby on rails - by Orgy - 12-21-2010, 08:00 PM
RE: Ruby on rails - by Swift Swim - 12-21-2010, 08:03 PM
RE: Ruby on rails - by Beautiful - 12-21-2010, 08:03 PM
RE: Ruby on rails - by Poppins - 12-22-2010, 01:42 AM
RE: Ruby on rails - by Solidus - 12-21-2010, 08:07 PM
RE: Ruby on rails - by Uknown_Hacker - 12-21-2010, 08:08 PM
RE: Ruby on rails - by Orgy - 12-22-2010, 06:57 AM
RE: Ruby on rails - by Poppins - 01-01-2011, 07:31 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Getting Started With Ruby eax 7 5,030 12-13-2012, 10:03 AM
Last Post: L-Carnitine
  [Tut] How to install Ruby on Mac, Windows and Linux Jordan L. 13 8,435 12-13-2012, 07:49 AM
Last Post: L-Carnitine
  Ruby eBook sockatobi 7 3,061 12-13-2012, 07:48 AM
Last Post: L-Carnitine
  what is ruby on rails DaUB3R 3 2,032 11-01-2012, 04:20 AM
Last Post: johnnymward
  Should I Start Ruby? BreShiE 13 5,753 11-13-2011, 04:14 PM
Last Post: Speedy

Forum Jump:


Users browsing this thread: 1 Guest(s)