I have a MySQL database setup, now it's time for the table (gridview) design in php. Here's the problem i'm having. I have about 22 colms, but from colm 10 to 16 I want to place in one colm from 1 up to 6 rows. 10 through 16 are allegation. Can someone make a simple php table so that I can learn from the source code. The only problem I have is understanding how to get (if) only 1 allegation is inputed into the database, compare to if 2 or 3 or 4 or 5 or 6 allegation will fit into only colm. Here are my headers
Officer
Date
LastName
FirstName
SID#
InstantOffense
DischargeDate
ArrestDate
Booking#
Allegation1, Allegation2, Allegation3, Allegation4, Allegation5, Allegation6
Type
CourtDate
InterviewDate
HearingDate
HearingType
BoardDate
BoardDecesion
As you can tell there are 6 type of allegation, there might and might now be up to 6 allegation, but how would i do a php table like this? I do have a simple HTML table at http://tdcj.homeip.net if you would like to view what i'm talking about..
Help With editting and deleting form
Hallo !!So look at this image :http://img194.imageshack.us/img194/8272/snapshot5f.png This table prints the titles of entries from a table in a database.. The code that i use for this table is this
cyrillic string conversion question
Hello,
Need Successful Return
Hello I am currently working a form here, and I have everything figured out except when I click the return button from my preview view. the information is lost in all the textarea's. Any clue what I
How to get all server headers like Live http Headers does
Hey all, like many of you I use the Firefox addon "Live http Headers". I'm trying to write a tool that will basically do the same thing, but web-based... so the user would enter a URL and
Save cookie to DB
I'm working on a pixel tracking script for an incentive website and I need to use an ASP script to save the cookie from the user to a MySQL DB via a 1 pixel image, such as follows.<img
printing links
Hi every1i am connecting to a table in sql and the looping through with a while ($ var = my sql fetch array)the question i have is that when i print_r($var)i get the associative array of all elements
Strip Slashes Help
I've got a script that i've downloaded of the net to edit multiple fields from my sql database, and works fine EXCEPT I want to add the strip slashes bit to it so it will save what I type in. However,
Format timestamp from mysql
When I tried this:Code: date("m/d/Y H:i A", $row['timestamp'])I got 12/31/1969 18:33 PM, so I know the time section is working at least. How can I get the mm/dd/yyyy section to work
Preserving user-entered linebreaks
Hi, I'm building a web 2.0 thingy from scratch and I wanna display text which users input. It's all good so far, except that all the linebreaks are destroyed, so no matter how carefully they insert
New to mysqli library - Multiple query problem
Greetings,I am writing a batch program that executes 3 queries on a single page. Using mysql libraries and regular queries works just fine. I am rewriting the page to include a stored procedure. The