returning a row id

Codes here !

Moderators: macek, egami, gesf

New php-forum User
New php-forum User
Posts: 5
Joined: Wed Dec 11, 2002 6:32 pm
Location: Australia

returning a row id

Postby beefsack » Wed Dec 11, 2002 6:39 pm

i have a database where i have a field with unique data. what i want is something so it searches for some data, and returns a row id if it finds it. at the moment i have it working with a while loop, but i was wondering if there was a function i could use to make the code less messy that i can call to get a row id by giving it the field and data?

Return to “mySQL & php coding”

Who is online

Users browsing this forum: No registered users and 1 guest