SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Member
    Join Date
    Jun 2007
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how can we get data for a particular url+keywords combination

    what i want is data for a particular url+keywords combination

  2. #2
    rajug.replace('Raju Gautam'); bronze trophy Raju Gautam's Avatar
    Join Date
    Oct 2006
    Location
    Kathmandu, Nepal
    Posts
    4,013
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Umm, i could not get what you mean? which url and keywords?
    Mistakes are proof that you are trying.....
    ------------------------------------------------------------------------
    PSD to HTML - SlicingArt.com | Personal Blog | ZCE - PHP 5

  3. #3
    SitePoint Member
    Join Date
    Jun 2007
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i mean if we give particular url+keywords (which are related to that url )i want data for that combination
    example:www.bikes.com+black,200cc,2006model(keywords) now i want data for this combinations from thatspecified url

  4. #4
    SitePoint Zealot mwasif's Avatar
    Join Date
    Apr 2007
    Location
    Pakistan
    Posts
    102
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Do you want to extract something from this URL www.bikes.com+black,200cc,2006model(keywords)?

  5. #5
    SitePoint Member
    Join Date
    Jun 2007
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yes,i want data related to those two(data related to those keywords from that url) ex:bike cost,manufacturers such things

  6. #6
    SitePoint Enthusiast
    Join Date
    Mar 2002
    Location
    Whistler, Canada
    Posts
    51
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    URL: http://www.bikes.com?keywords=black,200cc,2006model

    Then in your index.php (or any other file you specify) you can use
    PHP Code:
    explode(','$_GET['keywords']); 
    to get an array of keywords added in the URL, and with that array run some search queries on your database to get the data. Is this what you're trying to do? I'm not quite sure I understand you correctly..


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •