Jump to content

eric1235711

Members
  • Posts

    107
  • Joined

  • Last visited

    Never

Posts posted by eric1235711

  1. that code does this:

     

    if P code is RT do:

                                print "<tr class=\"d".($i & 1)."\">";
                                print "<td>Retail</td>";
                                print "<td>$".$row[RetailPrice]."</td>";
    

    if P code is anything but RT do:

                                print "<td>Retail</td>";
                                print "<td>$".$row[RetailPrice]."</td>";
                                print "</tr>\n";
    

     

    you are putting inside the condition codes that should be outside.

  2. Ooops, sorry

     

    PS Pad already got code snippets, but it's a bit different of TextMate (it's such code completition)

     

    and It got a very nice line bookmarking system, and for me it's better than code folding.

     

    now they just need to make it cleaner making a way to hide those tons of little tools... but this is the way: ignore them.

  3. I find that I'm moving to pspad... it got tons of little tools, but I can just ignore them... :P

     

    It would become perfect if they do 3 things:

     

    1. create a lite version (without those small tools such Eye Dropper, Color Translator or Lorem Ipsum generator) they would at least make a config to make them invisible

    2. Put code snippets (that funny auto code that TextMate got)

    3. Code folding

  4. error_reporting(E_ALL & ~E_NOTICE);

     

    the problem is that it shows the browser's "page not found" error message...

     

    try reproducing the error:

     

    create two files with

    class test{
    	function __construct(){
    			echo "ok";
    	}
    }
    

    you can change the methods and properties.

    and then include both in another file, or make one file include the other.

     

    Boom! "Page Not Found" LOL

  5. Hello,

     

    I lost some time trying to find out a problem: when I included a file in my script, it showed a "Page not found" error.

     

    I discovered that the file I was including had another version of a class that is already set in my "common header include".

     

    well, my doubt is:

     

    "Why PHP didn't say that there were classes with the same name???"

     

    thanks in advance!

  6. Hello

    My name is Eric, I'm Brazilian, japanese blood XP, 22 yrs old, finished IT highschool last year, but I'm good only with algorithms and db modeling.

    I started learning VB3 about ten years ago.
    I played with actionscript with 16.
    and started coding in php with 19.

    I always liked coding, but always for fun, it's always was such a toy for me.

    Now I'm sad because I'm conding boring things, only to make money...

    I'm training Aikido, I started in the beginning of this year. I'm loving it.

    I play a little bit of piano/keyboard. My prefered artist is Björk.

    I'm not married and also not dating.

    I almos don't watch tv but I love the SwatKats, only the SwatKats.

    nice to meet u.
  7. Hello

     

    I got problems with webservice for more than six months...

     

    I just can't understand those documentations. It looks like there's not a standard, and it makes me more confused. And some times the doc seems not updated with the running service...

     

    is there an easy tut or a receipt to make webservice integration?

     

     

    please help  ??? ??? ???

  8. I like Eclipse very much.

     

    It's originaly made for Java, but there's a version ported to PHP.

     

    It got very nice code completition, syntax checking, and many powerful features, google it.

     

    Much people don't like it because it don't have WYSIWIG.

  9. Soap is a surfactant used in conjunction with water for washing and cleaning.

    just kidding :P

    I've been more than six months trying to understand it and make it work...

    It's such AJAX, a way to use many resources to do something.

    Soap is a way to make two servers to communicate based in xml.

    But I'll ask you to help me too: I still can't make them work...
  10. I actualy work "correcting other's b*** s***" and it's too boring, sometimes it makes me LOL, sometimes it drives me crazy, sometimes I wanna cry.

    People do very uggly things...

    It's no fun correcting other's codes...

    And also there's no fun in "back-office" software development.

    I find corporate thing too boring.

    I don't like doing things that are not funny... but now what i need is money :(


    I also like to teach people. It's very nice to see people learning, growing, doing more than they could do.

    If I could live only moderating and maintaining a help forum or something like that, it would be nice...
  11. hello

     

    I got the following code:

     

    <!-- ... -->
    <body onLoad="document.getlementById('loadingdiv').style.display='none';">
    
    <div style="width:100%; height:99%; position:absolute; text-align:center" id="loadingdiv">
    <!-- ... -->
    
    

     

    the div contains an "loading" message.

     

    the problem is that it works fine in the page from where I copied,

     

    but in the new page, it looks a lot missplaced: that 100% width looks like 150% and that text-align is almost text-align:right

     

    when I test without the div content, it keeps streching in the same way...

     

    It's driving me mad, I can't realize what's happening... I just copied and pasted...

  12. yes, It's missing a curly bracket...

     

    find it by your self, it's not that hard...

     

    Just and advice: Your code is a little messy...

     

    Go identing your code, you will find it at a glance.

     

     

    the last bracket is wrong and also it looks like is missing one closing bracket in the beginning.

×
×
  • 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.