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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T13:04:23+00:00 2026-06-03T13:04:23+00:00

In sample #1, I am able to intermix values called from a mysql database

  • 0

In sample #1, I am able to intermix values called from a mysql database by changing the column name. You will notice I use ListingRid for the src= and alt= uses MLNumber.

<div id="loadarea" style="width: 400px; height: 300px;"><img width="400" height="300" src="http://www.mydomain/feeds/fmfl/rets_images/<?php echo(rawurlencode($row['ListingRid'])); ?>_1.jpg" alt="<?php echo(rawurlencode($row['MLNumber'])); ?>" align="left"  border="0"></div>

Farther down in the page, i have a second sample here I have a block of PHP code and I need to change out the use of $MLNumber with $ListingRid but when I do the same thing and change the column name it does not carry the value through and I end up with just .jpg instead of the $ListingRid. What am I doing wrong and can you show me a sample so I can learn what the issue is?

<?php

   $image = "<br>";
   $img_cnt = 1;
   $image .= "<a href=/images/$MLNumber.jpg rel=\"enlargeimage\" rev=\"targetdiv:loadarea,trigger:click\"><img src=/images/$MLNumber.jpg alt='' width='100' height='75' border='0' /></a>&nbsp;";

?>
  • 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-03T13:04:27+00:00Added an answer on June 3, 2026 at 1:04 pm

    Where are you declaring $MLNumber? In the first code sample you’re referencing the result set with $row['MLNumber']

    Do you have a line $MLNumber = $row['MLNumber']; somewhere and just haven’t pasted it in this code sample or is it missing from your code?

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

Sidebar

Related Questions

I was cheating from a sample program to integrate with Flash. I able to
I am able to backup mysql database via command line by executing the below
I have the following sample query (MySQL): SELECT * FROM `action` WHERE `customer_id` IN
I am able to use the MVCContrib Grid Pager as in the following sample
I am able to run a sample hadoop program from the command prompt and
i was able to send an MMS using DK's code sample from here and
1I have the following two tables (sample data) and need to be able to
I'll be very simple: I want to be able to store Java objects from
I have made a sample application in which I am able to implement help
the VMware is able to ping the gmail server. sample code MailMessage mail =

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.