Jump to content

coder_

Members
  • Posts

    65
  • Joined

  • Last visited

    Never

About coder_

  • Birthday 08/29/1985

Profile Information

  • Gender
    Male
  • Location
    Croatia

coder_'s Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Could it be that you forgot to set mysql credentials so only default are valid? Try with this: user: root pass: - (leave this empty)
  2. Yes, it did. I understood your post. Thanks. Anyone else?
  3. Ok, i know that zf has the ability of using unnamed routes, and thanks for the correction. But, what i would likt to hear from you is what way do like to implement. Named (predefined) or unnamed routing?
  4. Hor the last couple of weeks, my colleague and are in a discussion about framework's url routing. What do you think, which is better way to do the job. Dynamicaly checking route for for existing module/controller/action with no predefined routes or "hardcoded" route setting like it's done in zend framework. I know that both ways have their pros and cons, but i want to know other side. Other opinion. I noticed that every known framework uses the second, defined url route way. Where you directlly specify all application's routes. <?php $route = new Route('route_name', '/url/route/:some_variable', array('controller' => 'url', 'action' => 'route'));
  5. Hello people.. My problem goes like this.. I downloaded jqueryFileTree (http://abeautifulsite.net/notebook/58) script and adjusted it to my need. Didn't really change the javascript but connector. (php file) Now, that script pulls the data (in this case its files and folders) from my database and puts it into one container. And on the click on the element inside the container i pull some more data from database with ajax. Then i built a search script which uses the same connector (so it means that the data pulled from the databasa is the same). Everything works good until i preform some search. Then the jqueryFileTree just stops working. O yeah, jqueryFileTree as a callback has one function that pulls from database additional information about files and folders. I will paste just my custom search code and and the code from jqeryFileTree you can find on the link above.. Can anyone help me?
  6. Like the author said, rather Object Capable..
  7. That "behind the scene" technology you need is AJAX. You just send an AJAX request with all needed data (through GET or POST method) and your "behind the scene" php script will do all the work and return respond to browser. If i understand what you are trying to say...
  8. First of all, you are setting header after you have output data. This wont work. And you could use phpmailer script. It is very cool. Supports attachments and lots of other cool stuf.. Or maybe this can help you http://webcheatsheet.com/php/send_email_text_html_attachment.php
  9. I just didn't know where to put this topic so i am going to assume this is a php problem and needed to be solwed. (Mods no hard feeling.. ) I found this article about PHP and object oriented programming. http://michaelkimsal.com/blog/php-is-not-object-oriented/ So i would like to read you opinion about this topic. Just simply to discuss about PHP and OOP.
  10. coder_

    Function

    <?php $a = $_POST['a']; function lygu ($a) { if ($a % 2 == 0) { echo "Number can be divided"; } else { echo "Number cannot be divided"; } echo lygu ($a); } ?> try this... You access a element inside an array by putting a key into a string...
  11. coder_

    xdebug

    or download and install xdebug 2.0.2 version. then it will work. you just need an older version of xdebug.
  12. woooow!! I think we got the point of the discussion.. hehehehe
  13. Besides that, font tag is deprecated. So dont use it.
  14. So what happens you you enable the asp style tags? Someone comes and cuts of your hands so you cant do programming anymore... haha
  15. How? I just entered a data, click to view result page and my result was there.
×
×
  • 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.