Jump to content


Photo

Search to see if certian item already exists in db if so....


  • Please log in to reply
5 replies to this topic

#1 krrose27

krrose27
  • New Members
  • Pip
  • Newbie
  • 6 posts

Posted 05 April 2006 - 12:01 AM

I havent been able to pin this down, or have anyone explain it to me.
I'm trying to get the code to connect to the database and search for a ceatian item in a certian calloum. And if it exitsts then echos" some stuff. but if it doesnt then the script continues on its marry way.
db name: Userinfo
column: emails
search for: $email
.. if u can help i would be very happy.

#2 wickning1

wickning1
  • Members
  • PipPipPip
  • Advanced Member
  • 405 posts

Posted 05 April 2006 - 02:21 AM

Tutorial.

[a href=\"http://www.freewebmasterhelp.com/tutorials/phpmysql\" target=\"_blank\"]http://www.freewebmasterhelp.com/tutorials/phpmysql[/a]

#3 khendar

khendar
  • Members
  • PipPipPip
  • Advanced Member
  • 78 posts

Posted 05 April 2006 - 04:18 AM

See also:
[a href=\"http://www.dictionary.com\" target=\"_blank\"]http://www.dictionary.com[/a]

#4 fenway

fenway
  • Staff Alumni
  • MySQL Si-Fu / PHP Resident Alien
  • 16,199 posts
  • LocationToronto, ON

Posted 05 April 2006 - 07:29 AM

To quote Dr. Sbaitso (I hope I'm not the only one too old to remember!) -- "Please give me more information".
Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.

#5 krrose27

krrose27
  • New Members
  • Pip
  • Newbie
  • 6 posts

Posted 05 April 2006 - 12:02 PM

like what do u need?

#6 fenway

fenway
  • Staff Alumni
  • MySQL Si-Fu / PHP Resident Alien
  • 16,199 posts
  • LocationToronto, ON

Posted 06 April 2006 - 06:23 AM

Well, for starters, a code snippet and the associated error messages!
Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users