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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T03:21:59+00:00 2026-05-27T03:21:59+00:00

I am using google visualization api to make a plot and then using event

  • 0

I am using google visualization api to make a plot and then using event handling to get back some information when the plot is clicked on.

When I click on the item, I open a new window with the following url which is supposed to show results from a script called articles.php

http://..../articles.php?word=nature&datetime=11-4-2011-8

articles.php starts with

$word = $_GET['word'];
$datetime = $_GET['datetime'];

When I use var_dump for debugging as follows:

var_dump($word);
var_dump($datetime);

I get string(6) "nature" string(11) "11-4-2011-8", and the rest of the script works.

However, the problem I am having is that if the word is of the following format:

word = "#someword"

then I still see the following url

http://...../articles.php?word=#nature&datetime=11-7-2011-5

but the script in articles.php doesn’t work. On using

var_dump($word);
var_dump($datetime);

I see the following:

string(0) "" NULL 

I don’t understand why $_GET['word'] and $_GET['datetime] no longer work to grab the word and date transmitted in the URL when the word contains “#” as the first character. Any pointers on what is going on and how I might fix this problem?

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-27T03:21:59+00:00Added an answer on May 27, 2026 at 3:21 am

    For the # symbol to be used as a value of a get parameter, it must be URL encoded. The # symbol is used in URLs to represent a named anchor or ID in your document and is not parsed into the _GET array.

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

Sidebar

Related Questions

I am trying to make a line chart by using the Google Visualization API,
I have a chart similar to the one below using the Google Visualization API.
I have a Google Chart (using the Google Visualization API , not Google Charts
I am using Google visualization api. Following is my sample code. Either of the
Using the Query object in the Google Visualization API , I need to find
i am using google org chart visualization API and i want to have the
I have been trying to plot these on a scatter chart using google api.
I've got a annotated timeline setup using the Google Visualization API (http://code.google.com/apis/ajax/playground/#annotated_time_line). The data
Using the Org Chart in the Google Visualization API, is there a way to
I'm trying to create a chart using the Google Visualization API, with PHP &

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.