• New here? Register here now for access to all the forums, download game torrents, private messages, polls, Sportsbook, etc. Plus, stay connected and follow BP on Instagram @buckeyeplanet and Facebook.
jwinslow
Reaction score
33,794

Profile posts Latest activity Postings Achievements About

  • Well I'm used to using Microsoft Technologies for business use, but tools and hosting for Microsoft development are usually more expensive. I did a quick google. These 2 tutorials may give you a nice refresher, one on PHP and one on PHP and MySQL: PHP/MySQL Tutorial - Part 1 and PHP Tutorial - Part 1

    Well then the easiest way to set up the table is make each "Description | Name " a row in a single database table with 3 fields: ID, Description, and Row.

    This particular part of the tutorial kind of shows you how to make an html table from your database. Set up your page similarly, but your <TH>'s would be "Description" and "Name" and then as you loop through:

    <?
    $i=0;
    while ($i < $num) {
    $id=mysql_result($result,$i,"ID");
    $description=mysql_result($result,$i,"Description");
    $name=mysql_result($result,$i,"name");

    $textBoxName='textBox'.$ID;
    ?>
    <tr>
    <td><? echo $description; ?></td>
    <td><input type="text" name="<? ehco $textboxName; ?>" text="<? echo $name; ?>" /></td>
    </tr>


    Please refer to the tutorial to finish that up. Put the row count of the result set from the table in a hidden input field so you can get that from the submit also when the submit is hit loop through all the textboxes and update the value in the database. When you want to clear the fields just use this SQL statement "Delete Name from tablePotluck" and that should clear all the names. alternately you could use "Update tablePotluck set Name = '' " I hope that made some sense. Go through the tutorials first then reread this. Hopefully it will make more sense.
    No idea, save that anything that goes into a db can be pulled out for other purposes... but don't ask me how. I've done a very tiny bit of managing tables - VERY tiny - and don't really know how to connect information to anything. Really should learn, though. BP's database needs some scrubbing, preferably before we upgrade next spring/summer. Really don't see the time to get myself up to speed, though. So very much to break.

    But good luck to ya. :)
    I get pretty wired. I can actually skip two nights without too much issue. Tried three for finals once in college... okay, two for finals and one to enjoy being done with finals. That was a bit rough. I'm tons more productive this way, though. Too tired to think about distractions, so work zooms on by. I think I just solved several somethings the folks at work have been puzzling over for months... yay! But I don't have months to implement it, just a few days, and this is Ye Olde Family Holiday Week.

    Any progress on your database dilemmas?
    I didn't go to sleep yesterday. Sure is good for getting lots of work done. And for hallucinations. Hey, what was that?
    I've never actually worked in MySQL, but I may still be able to help. 2 real questions come up from this: do you need the SQL statement to make the table? and is that an exact replication of the sign up?
    *******************************
    For those of you who could help me...
    *******************************
    the database/asp pages worked fine until we switched webhosts, which don't support CDONT code. So if it's easier to figure out how to convert CDONT code to CDO, let me know.
    Sorry, I work in the admin arena. My programming is generally limited to scripts I write for admin tools. You could always post it in the technology forum and see who can help. It sounds like something for which Deety might be a good resource.
    Not sure what to tell ya, then... sounds like you'll have to do a little research. I stick with the plug-and-play so I don't have to. :p
  • Loading…
  • Loading…
  • Loading…
  • Loading…
Back
Top