Jump to content

coder_

Members
  • Posts

    65
  • Joined

  • Last visited

    Never

Everything posted by coder_

  1. Her you can learn a lot: http://www.php.net/manual/en/language.oop5.php read my signature... php.net &&google.com can solve anything..
  2. function setCena($par) { echo $this->cena = $par; } Change your functions to look like this. You don't use "$" when you are pointing to some object.
  3. Ok, here is the simple one: http://www.codewalkers.com/c/a/Miscellaneous/Creating-a-CAPTCHA-with-PHP/1/
  4. <?php echo nl2br($row_topic['topic_body']) ?> function is "new line to brake rule" -> nl2br() http://hr.php.net/manual/en/function.nl2br.php
  5. Or you can do this: foreach ($var as $_newVar) { echo $_newVar; }
  6. I'm to slow to post.. P.S. Did you RTFM???
  7. You meen a recursiv function?
  8. Correct me if i am wrong, but i think you are trying to avoid more inheritance by making a subclass's constructor private. Why don't just define that class "final"??? And answer to one of your previous posts. No, you wont get an error if you declare class final and class's constructor public.
  9. That is not true. 1. Learn basics. 2. If you have problem - google it. 3. can't find solution to your problem - post on forum. You should do first step.
  10. Read the manual!!!!!!!!! And read it now!!!!
  11. Put results in array. $result['first'] = mysql_query($sql1); $result['second'] = mysql_query($sql2); return $result; Is this what you wont???
×
×
  • 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.