Page 1 of 2 12 LastLast
Results 1 to 15 of 18

Thread: 2 problems?

  1. #1
    Join Date
    Apr 2010
    Posts
    15

    2 problems?

    ‘SELECT e.*
    FROM emp e
    WHERE e.ename = ' || $formvariable;

    What are the 2 problems??

  2. #2
    Join Date
    Feb 2004
    Location
    One Flump in One Place
    Posts
    14,912
    I thought you would have got the idea with the last question we went through.

    I'll be explicit: if you expect people to answer your homework questions then you have joined the wrong forum. Feel free to try another.

    If you want to carry on here then at an absolute minimum you do the work. There are plenty of people here who will not help you even in that case just on principle.

  3. #3
    Join Date
    Apr 2010
    Posts
    15
    This is not a homework problem.

    I came to the forum for help / discussion. I am not expecting a complete answer. I have already done research into the problem and trying to get a more concrete idea.

    oww and by the way:

    You seem like the most stuck up person I know. If you do not want to answer the question do not look at it and do not waste your time replying with rude comments.

    Get a life!!.

  4. #4
    Join Date
    Apr 2010
    Posts
    15
    Oww and you like to contradict. You seem to think it is ok if you can post questions such as:
    Format numbers with commas???

  5. #5
    Join Date
    Feb 2004
    Location
    One Flump in One Place
    Posts
    14,912
    Quote Originally Posted by cookpau01 View Post
    This is not a homework problem.
    Bullshit.

    Good luck with your assignment

  6. #6
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Problem 1 is there is no assignment, just expression.

    Problem 2 is schema element(s) undefined.

    -PatP
    In theory, theory and practice are identical. In practice, theory and practice are unrelated.

  7. #7
    Join Date
    Jun 2007
    Location
    London
    Posts
    2,527
    Quote Originally Posted by cookpau01 View Post
    This is not a homework problem
    Are you suggesting that someone actually employed you to solve this???

  8. #8
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Quote Originally Posted by cookpau01 View Post
    You seem like the most stuck up person I know.
    You don't know many people, do you??? I'm way more stuck up than Poots even on a good day.
    Quote Originally Posted by cookpau01 View Post
    If you do not want to answer the question do not look at it and do not waste your time replying with rude comments.
    What was the rude part?
    Quote Originally Posted by cookpau01 View Post
    Get a life!!.
    I've suggested that many a time, but Poots seems content so I've stopped trying. Such is life.

    -PatP
    In theory, theory and practice are identical. In practice, theory and practice are unrelated.

  9. #9
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Quote Originally Posted by cookpau01 View Post
    ‘SELECT e.*
    FROM emp e
    WHERE e.ename = ' || $formvariable;

    What are the 2 problems??
    Only two? I see at least six.

  10. #10
    Join Date
    Jun 2007
    Location
    London
    Posts
    2,527
    Quote Originally Posted by cookpau01
    What are the 2 problems??
    The first two problems you have are:
    1. posting homework without making any effort at solving it
    2. posting a simple SQL/PHP question in the "database concepts forum" - sadly we still don't have a homework forum
    Oddly there also appears to 4 syntax errors in the code supplied but I'm sure you know this plus you could also make a few changes to make the code more maintainable.

    EDIT
    : 6 syntax errors ? - I must be loosing my touch

  11. #11
    Join Date
    Jun 2003
    Location
    Ohio
    Posts
    12,592
    Quote Originally Posted by cookpau01 View Post
    You seem like the most stuck up person I know.
    Not fair! You have yet to meet me.
    If it's not practically useful, then it's practically useless.

    blindman
    www.chess.com: "sqlblindman"
    www.LobsterShot.blogspot.com

  12. #12
    Join Date
    Jun 2007
    Location
    London
    Posts
    2,527
    Eh - I thought you'd changed to become Mr Nice with the students?

  13. #13
    Join Date
    Apr 2002
    Location
    Toronto, Canada
    Posts
    20,002
    Quote Originally Posted by mike_bike_kite View Post
    I must be loosing my touch
    it's losing, not loosing

    and you lost it long, long ago

    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL

  14. #14
    Join Date
    Jun 2007
    Location
    London
    Posts
    2,527
    and now my spelling

  15. #15
    Join Date
    Jun 2003
    Location
    Ohio
    Posts
    12,592
    Quote Originally Posted by mike_bike_kite View Post
    Eh - I thought you'd changed to become Mr Nice with the students?
    Was that rude?

    Certainly not according to my standards.

    Even so, I don't pick on people for being students, but thankless jackasses are always in my crosshairs.
    If it's not practically useful, then it's practically useless.

    blindman
    www.chess.com: "sqlblindman"
    www.LobsterShot.blogspot.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •