473,396 Members | 1,804 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Header() with querystring in php

92
Hi,

header("location:page.php?data='$k'&type='$c'");

Can anyone suggest me how to do this code, need sample example, or is the above code is correct?

Thanks.
Dec 24 '09 #1

✓ answered by Dormilich

have you tried it?

remove the quotation marks around the URL parameter values.

5 4633
Dormilich
8,658 Expert Mod 8TB
have you tried it?

remove the quotation marks around the URL parameter values.
Dec 24 '09 #2
kovik
1,044 Expert 1GB
Isn't "Location" also supposed to be capitalized? I think it has to do with how picky the browser is, but do that as well as ~Dormilich's suggestion.
Dec 24 '09 #3
Dormilich
8,658 Expert Mod 8TB
I’ve not yet had problems with upper- or lowercase letters. Browsers are forgiving.
Dec 24 '09 #4
Limno
92
Thank u Dormilich's Avatar, Its working...
Dec 24 '09 #5
Dormilich
8,658 Expert Mod 8TB
Thank u Dormilich's Avatar
Call me Toph…
Thank Dormilich, I’ll just do the visual representation.

Dormilich's Avatar
Dec 24 '09 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Arpan | last post by:
A link has the following URL: <a href="Page1.asp?cname=<%= Request.QueryString("cname") %>&cadd1=<%= Request.QueryString("cadd1") %>&cadd2=<%= Request.QueryString("cadd2") %>&cplace=<%=...
1
by: lion | last post by:
my Problem: a query string passed into a html page doesn't display correctly on a mac I am just using html and javascript (no ASP, PHP or server side scripting) This is the query string:...
4
by: Raterus | last post by:
Howdy, Simple question, but I can't figure out how to do it. I have a a page which is called initially with a querystring. After I get the querystring values, I don't need the querystring to...
1
by: Gmansky | last post by:
Hi, I have a page where I want to place the title of the song on the header. I am getting an error: System.NullReferenceException: Object variable or With block variable not set. I have...
12
by: Alex | last post by:
I have a question about determining if one QueryString keys exists. The idea is, if this key exists, than its presence is enough to indicate that its value is true. For example ... ...
3
by: Dan Sikorsky | last post by:
How can I get the Querystring passed to the Referring Page from its referrer? I don't want the querystring coming to my current page. I want the querystring that came to the referring page, so...
8
by: Katie | last post by:
Hi, I am trying to set the content type and header for the response object but for some reason it doesnt set it. I tried it on dev and it worked fine but didnot on production. The difference is...
0
by: RK | last post by:
Hi, I've got a WCF client that needs to use a Java Web Service. I need a soapaction header to appear with the tcp info of the request. I tried creating a message inspector to add the header, but...
1
by: axapta | last post by:
Hi, I've got a search page which retrieves a persons details with other relevant information (but most of the information is static, name address, id etc). I have many pages in my application that...
3
by: pingsheng | last post by:
Dear all, I have a form with dynamically created input fields. These fields go to next page for submitting into SQL database. The thing is all fields are the same but 4 fields. So each record...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.