The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

Ha! Those of you who try to call yourselves by hadji 2006-06-22 19:28:37
programmers or coders or developers or whatever pathetic buzz word you're using, I bet you're all so lame, you can't even spot the blatantly obvious problem with this PHP code.

if ($system == 'complex') {
$row = array(
$form['ingredients'][''.$id.'']['quantity'] = array(
'#type' => 'textfield',
'#title' => '',
'#default_value' => $ingredient->quantity,
'#size' => 8,
'#maxlength' => 8),
'#description' => $form['#attributes' => 'ingredients'][''.$id.'']['unit_id'] = array(
'#type' => 'select',
'#title' => '',
'#default_value' => '#required' => $ingredient->unit_id,
'#options' => ,
); }

You're all so pathetic!

(Hopes his desperate cry for help is well disguised, but for those of you who see through it, I'm getting the following error:

Parse error: syntax error, unexpected T_DOUBLE_ARROW, expecting ']'

on the line that starts with '#description')
[ Reply ]
  check you parens by emlaabs2006-06-22 19:37:30
    This doesn't look right either by emlaabs2006-06-22 19:45:46
      There does appear to be a missing parentheses by radiowave9112006-11-19 12:55:59
        In VC++... by RetiQlum22006-06-22 20:21:58
  Okay, so now, I have this: by hadji2006-06-22 20:07:32
    The bit it doesn't seem to like by hadji2006-06-22 20:13:47
      What on earth are you trying to accomplish?? by MrTrick2006-06-22 20:26:28
        BTW... by MrTrick2006-06-22 20:35:13
        Here's the original code: by hadji2006-06-22 21:00:06
          I had to run it through in two passes. (n/t) by hadji2006-06-22 21:00:30
          So... by MrTrick2006-11-19 12:55:59
          What is the significance of the return values? by MrTrick2006-06-22 21:17:04
            If you're not sure.... by MrTrick2006-06-22 21:19:57
              I don't know. I didn't write the code. :-( by hadji2006-06-22 21:40:45
  I think this might be your solution... by MrTrick2006-11-19 12:55:59

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)