Forum Moderators: coopster

Message Too Old, No Replies

how to retrieve field names in php

i want to add a new field from php

         

haroon

6:13 pm on May 5, 2008 (gmt 0)

10+ Year Member



Hello friends..

i want to add a new field at end of the table but for that i would have to know what is the last field of table for that i need to retrieve the last field name of table.
i need code for that

and if anyone can explain the basic use of .. session and cookies variable for beginners.
i just want a simple concept that what these session and cookies can do ?

d40sithui

6:39 pm on May 5, 2008 (gmt 0)

10+ Year Member



sessions and cookies are very similar, but sessions are much more secure since they are stored on the server rather than on your computer (cookies). their purpose is to simply save information so you wont lose it while you're navigating through the website, unlike regular variables, which will be lost every time you go to a new page.
have you checked out the articles from w3schools?
[w3schools.com...]
[w3schools.com...]

jatar_k

6:54 pm on May 5, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



to check the fields in a table you can use
[php.net...]

haroon

9:16 pm on May 6, 2008 (gmt 0)

10+ Year Member



thankyou jatar and d40..
i ll learn to both of the articles and get back to you after studying them.
keep up the good work ;)