Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6679353
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:20:58+00:00 2026-05-26T04:20:58+00:00

I was wondering how I would go about checking to see if a table

  • 0

I was wondering how I would go about checking to see if a table contains a value in a certain column.

I need to check if the column ‘e-mail’ contains an e-mail someone is trying to register with, and if something exists, do nothing, however, if nothing exists, insert the data into the database.

All I need to do is check if the e-mail column contains the value the user is registering with.

I’m using the RedBeanPHP ORM, I can do this without using it but I need to use that for program guidelines.

I’ve tried finding them but if they don’t exist it returns an error within the redbean PHP file. Here’s the error:
Fatal error: Call to a member function find() on a non-object in /home/aeterna/www/user/rb.php on line 2433

Here’s the code that I’m using when trying this:

function searchDatabase($email) {
    return R::findOne('users', 'email LIKE "' . $email . '"');
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T04:20:59+00:00Added an answer on May 26, 2026 at 4:20 am

    Edited to account for your updated question:

    According to the error message, the error is happening inside the function find() in rb.php on line 2433. I’m guessing that rb.php is the RedBean package.

    Make sure you’ve included rb.php in your script and set up your database, according to the instructions in the RedBean Manual.

    As a starting point, look at what it’s trying to do on line 2433 in rb.php. It appears to be calling a method on an invalid object. Figure out where that object is being created and why it’s invalid. Maybe the find function was supplied with bad parameters.

    Feel free to update your question by pasting the entirety of the find() function in rb.php and please indicate which line is 2433. If the function is too lengthy, you can paste it on a site like pastebin.com and link to it from here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was just wondering how would I go about checking to see if, for
I am wondering how I would go about performing a certain function if a
I was just wondering how someone would go about finding all the applications that
Just wondering how you would go about implementing something similar to stackoverflow'd related questions.
I'm wondering how you would go about designing a good permgen space string in
I'm wondering how i would go about making the following application: a user signs
I was wondering, how would you go about writing an application that basically houses
I've been wondering about how hard it would be to write some Python code
I'm wondering what good ways there would be make assertions about synchronization or something
I was wondering would I still need to use a basic game loop for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.