![]() |
MySQL via VB interface code
Using $DB_site How would I go about testing a table for a specific unique identifier and have the system return a true or false?
What I have so far (and it doesn't work): (assuming dbase.test[id] is always a unique identifier within the table) PHP Code:
Any ideas how I could better test for this scenario? My brain is mushy from coding so long. Thanks in advance! Cloudrunner |
What's the error?
Also, never use ! except for boolean values or values of only 1 or 0. On a related note, check out the === versus the == operator to see why I'm saying that. |
Got it!
Thanks Filburt. I appreciate it. Although the "===" is not the way that I went. I did the following: PHP Code:
Anyways, Thanks for the kick start. It works now so far. Ciao! Cloud |
All times are GMT. The time now is 11:17 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|