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 8927037
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T08:07:48+00:00 2026-06-15T08:07:48+00:00

Below is statement which executes my query and returns a resource. $Result = mysql_query($Query);

  • 0

Below is statement which executes my query and returns a resource.

$Result = mysql_query($Query);  

I want to get clone of $Result.

How can I get its clone?

  • 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-15T08:07:50+00:00Added an answer on June 15, 2026 at 8:07 am

    What you got in $Result is not really a cloneable resource, but a reference to a cursor that points to a position in a result set (meaning if you copy it and advance in one copy, it’ll have advanced in the other as well). Assuming you want to read the same query results twice without repeating the query, this post might help:
    How to reset mysql pointer back to the first row in PHP?

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

Sidebar

Related Questions

I'm writing an sql statement (see below) which compares 2 serial numbers on 2
How can we update timestamp in table without any updation without below statement update
Using SQL Server 2005 how do I get the below statement or rather the
In the below sql statement i get the following error Cannot use an aggregate
Can someone explain the statement below to me with a working sample/example. thanks in
I want to execute a query in which I rename one of the columns
We can use prepare method to get the query prepared for multiple time use
I have the code below which loops through selected checkboxes and executes and sql
I have been working with a Linq query in a Silverlight application which returns
Below is the code snippet with comments which describes the problem statement. We have

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.