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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T02:38:37+00:00 2026-05-22T02:38:37+00:00

I am building a yql url for a script. I have made parts of

  • 0

I am building a yql url for a script. I have made parts of the url variables and then just reconstructed them together. This is just in case anything changes then I can make an easy fix.

$cllrssformat gets the rss feeds that are in the yql url. I have replaced the search term with the variable $clsearch and stored that in mysql table. I was expecting that it would write the value of $clsearch, but it only shows $clsearch (literally).

This is an example of what I have stored in the mysql table.

'http://daytona".$clsearch."','http://keys".$clsearch."'

And this is the PHP code.

// link to yql
$yqlurl = 'http://query.yahooapis.com/v1/public/yql?q=';
// yql query
$yqlquery = 'select title,source,description,date from rss where url in ( ';
// cl search parameters
$clsearch = '.somesite.com/search/sss?query=blah+blah&srchType=T&minAsk=&maxAsk=&format=rss';
// yql sort paramaters
$yqlparams = ' ) | unique(field="source") | sort(field="date", descending="true")';
//  cl rss feeds formatted for yql
$clrssformat = mysql_query("SELECT url FROM be_yqlurls WHERE id='1'");
$temp = mysql_fetch_row($clrssformat);
$clrssformat = $temp[0];
// create the full url
$fullurl= $yqlurl.$yqlquery.$clrssformat.$yqlparams;
$fullurl = rawurlencode($fullurl);
echo rawurldecode($fullurl)
// echo '<br><br>'.$fullurl;

This is the output. Obviously needing the value of $clsearch vs. “$clsearch”.

http://query.yahooapis.com/v1/public/yql?q=select title,source,description,date from rss where url in ( 'http://daytona".$clsearch."','http://keys".$clsearch."','http://fortlauderdale".$clsearch."','http://fortmyers".$clsearch."','http://gainesville".$clsearch."','http://cfl".$clsearch."' ) | unique(field="source") | sort(field="date", descending="true")

First real try with PHP so be easy. 🙂 Thanks

  • 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-22T02:38:37+00:00Added an answer on May 22, 2026 at 2:38 am

    If I understand the question correctly I think that what you need to do is:

    // create the full url
    $fullurl= str_replace('$clsearch', $clsearch, $yqlurl.$yqlquery.$clrssformat.$yqlparams);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

building on my last question jQuery getting values from multiple selects together I have
Building a lottery scratch-card app in Java. Have allot of it done, just need
Building on this question: Django Celery Time Limit Exceeded? I have some tasks that
Building on this question , now I have another problem. Given this, shipments =
Building an inventory system. I have lots of products and each product has three
Building my first SL MVVM application (Silverlight4 RC) and have some issues i don't
Building an Android application using Google's GCM service. I have implemented the onRegistered method
Building our Android app from Ant fails with this error: [apply] [apply] UNEXPECTED TOP-LEVEL
Building a website using a PHP based Ecommerce product Magento. The problem I have
Building an iPad app. I have a button on my main view that I

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.