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

  • Home
  • SEARCH
  • 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 7863505
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T23:30:06+00:00 2026-06-02T23:30:06+00:00

I checked everything but given my less than 1 month using PHP i can’t

  • 0

I checked everything but given my less than 1 month using PHP i can’t seem to get to the bottom of this. Whenever i use this $sql query it gives me the error:

//$startrow is variable
$startrow = 0;

$sql = "SELECT `accounts.full_name`, `image.name` FROM `accounts` LEFT JOIN 
`image` ON `accounts.person_id` = `image.person_id` WHERE 
`accounts.image_set` = '$yes' and `accounts.full_name` LIKE '%$q%' 
LIMIT $startrow, 15";
  • 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-06-02T23:30:08+00:00Added an answer on June 2, 2026 at 11:30 pm

    You don’t have a table called image. Your table is called face_shot.

    Also, your backticks must surround each part of the name (not the including dot). Or you can omit the backticks completely except for reserved words.

    SELECT `accounts`.`full_name`, `image`.`name`
    FROM `accounts`
    LEFT JOIN `image` ON `accounts`.`person_id` = `image`.`person_id`
    WHERE `accounts`.`image_set` = '$yes'
    AND `accounts`.`full_name` LIKE '%$q%' 
    LIMIT $startrow, 15
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know that this question have been asked several times. But I can't get
I'm using this php code for an image upload. But I keep getting an
I checked this forum for a answer to my problem, but couldnt find. Experts
I've tried to search for similar problems, but can't seem to find it. I
Everything before was perfect... but... Today something happened to my License checker (without touching
it happens when i change the DataSource. i have checked everything(stack traces, all exception
I checked out the three20 source and was trying to follow this guide to
I checked all the topics, but i simply don't know why my script does
I checked on other postings and suggested to make the EnableHeadersVisualStyles = false but
I have a class that can perform many types of transformations to a given

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.