Results 1 to 6 of 6

Thread: PHP MYSQL tables

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2006
    Posts
    16

    PHP MYSQL tables

    Ok here's my question, it may seem a bit noobish but I'm not great with PHP yet.

    I have multiple excel tables that I have converted to HTML and shoved onto a webpage for a tournament.

    Here' the link www.espcc.ca/toa2.php

    Now that table will be used for the standings and I want it to be easily updateable through the use of Dadabik which I use in other places on the site. Usually I'm just liking a straight text field in the database to a table where the text gets formatted nicely and displayed on the page. I was thinking about doing that for these tables but that means a whole hell of a lot of code for each table cell aswell as the database probably being very messy and hard to navigate to update.

    Any suggestions on an easier or more refined way of doing this would be greatly appreciated.

    Thanks,
    -Justin

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: PHP MYSQL tables

    Design it cleanly from the ground up? With a proper design, the code should be very clean. This is very basic stuff.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3
    New Member
    Join Date
    Dec 2006
    Posts
    11

    Re: PHP MYSQL tables

    I'd suggest actually attempting to write this then ask us when you encounter problems.

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Feb 2006
    Posts
    16

    Re: PHP MYSQL tables

    Already encountered a problem with MySQL and DaDaBik, apparently if the field names have any spaces in them DaDaBik won't write the data at all. But I think I have it mostly done now, it just took a lot of grunt work and the document that displays everything is about 6000 lines of code.

    -script

  5. #5

  6. #6
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: PHP MYSQL tables

    Quote Originally Posted by scriptcypher
    ...it just took a lot of grunt work and the document that displays everything is about 6000 lines of code.
    Maybe you should consider refining your code.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

Posting Permissions

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



Click Here to Expand Forum to Full Width