| Index
» Projekty
» phpMyEdit
» Fórum
» Idiot n00b Needs Help Badly [For a Good Cause!!!] |
 |
Moloko805
Založený: 13.01.2010
Príspevky: 1
Zaslal: 2010-01-13 21:42
Návrat hore
Odpovedať s citátom
|
Hello,
I work for a research lab studying pediatric leukemia. The lab uses the zebrafish as an animal model, so I was asked to build a dynamic database to keep track of each line and each tank associated with that particular line.
I know very, very little php, though I do know a moderate amount of HTML and some sql. Here is what I am trying to do...
Be warned I am asking a LOT, so any bits or advice really helps!!!
I have a database setup with all the necessary info.
I need to hide columns in the table view. Then when the user clicks on "View" they are able to see all of the table contents. Or I need to be able to assign a URL for each table entry based on an ID number, so when a user clicks the a particular link for an entry the script will generate a link based on the ID and take them to the appropriate page.
I had a look around this forum, but I can't seem to enact any solution proposed here. I am trying to learn as much as I can about php in a short amount of time, so it is difficult for me to spot any errors. So if anyone responds, could you please very specific?
Second question: Is there a way to log a user_id when a user edits a record? Again I am pretty confident in the sql side of things. It's the php I suck butt at...
Anyway if you read this far, thanks!
|
umiwangu
Založený: 03.02.2010
Príspevky: 7
Zaslal: 2010-02-24 17:55
Návrat hore
Odpovedať s citátom
|
Hi Moloko,
I can help you with one of your questions, the one about showing or hiding different columns in different views.
You can use the 'options' parameters to control display of fields (from the comments in the script itself):
['options'] optional parameter to control whether a field is displayed
L - list, F - filter, A - add, C - change, P - copy, D - delete, V - view
Another flags are:
R - indicates that a field is read only
W - indicates that a field is a password field
H - indicates that a field is to be hidden and marked as hidden
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|
|