newbie question for Ruby and/or PHP

Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default newbie question for Ruby and/or PHP

    Hi, with some of your help, I manage to extract a delimited record into
    mysql database using ruby.

    I have the following structure in my MySQL database:

    acnum varchar(16) --- unique code
    description text --- description
    accode varchar(16) --- secondary code
    note text --- a note
    imagepath varchar(255) --- image filename

    What I'd like to do is using Ruby(and/or PHP) to be able to do some
    operation on those records such as: add a new one, modify, delete, and
    display the image in the page as well.

    I'd love to do it in either one of the language(Ruby/PHP) or if you have
    better one, please do let me know and may be if you kind enough to give me
    some example.

    Thanks


    Artco News Guest

  2. Similar Questions and Discussions

    1. Newbie question : Extending Ruby
      I'm making my first extension to Ruby. The C file declarations look like: __declspec(dllexport) VALUE cImage8 = Qnil; __declspec(dllexport)...
    2. Ruby OO-newbie design-question
      Hi! I'm not at all new to programming, I know OO-concepts but I don't have any hands-on experience with designing/programming OO except for small...
    3. Ruby newbie Q: Do I have a damaged copy of PickAxe
      --3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Meino!...
    4. Newbie Q: Data encapsulation with Ruby
      Hi, as a beginner in C++ I learned that one advantage of OOP over the procedural programming is data hiding and encapsulation. In C++ this is...
    5. [ruby-talk] newbie locale/ascii sort question
      Hi, In message " Re: newbie locale/ascii sort question" on 03/07/01, Bengt Dahlqvist <bengt.dahlqvist@ling.uu.se> writes: |Does such utilities...
  3. #2

    Default newbie question for Ruby and/or PHP

    Hi, with some of your help, I manage to extract a delimited record into
    mysql database using ruby.

    I have the following structure in my MySQL database:

    acnum varchar(16) --- unique code
    description text --- description
    accode varchar(16) --- secondary code
    note text --- a note
    imagepath varchar(255) --- image filename

    What I'd like to do is using Ruby(and/or PHP) to be able to do some
    operation on those records such as: add a new one, modify, delete, and
    display the image in the page as well.

    I'd love to do it in either one of the language(Ruby/PHP) or if you have
    better one, please do let me know and may be if you kind enough to give me
    some example.

    Thanks


    Artco News Guest

  4. #3

    Default Re: newbie question for Ruby and/or PHP

    Artco News wrote:
    > I'd love to do it in either one of the language(Ruby/PHP) or if you have
    > better one, please do let me know and may be if you kind enough to give me
    > some example.
    Look up "SQL tutorial" on google, this should get you started. After
    that, find a PHP tutorial (there are lots). Once you understand how to
    do this with PHP, ruby will be no problem.

    --
    luc wastiaux - email: [email]dustpuppy@airpost.net[/email]
    jabber: [email]luc@jabber.4002.org[/email]
    ICQ: 76235870

    luc wastiaux Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139