PDO PHP how to customize header function [closed] - php

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
is there any way i can get the id inside this code:
header('Location: assigned.php?success?$ticket_id');
I am new to PDO. sorry for the simple question

You are adding ? twice. it should be like..
header('Location: assigned.php?success='.$ticket_id);

Related

How to make if else if have search query in my url [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 days ago.
Improve this question
i have url with string like this
example.com/?id=
i want to create a condition when my url looks like this in a search query
Thank you to all of you

Determine source of code that is making a query [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
Exist any way to know the source page that is calling the query and store it?
Are you looking for $_SERVER['PHP_SELF'] ?
Check also print_r($_SERVER) if something is more accurate for what you need

Is there a way to have my webpage automatically load a preselected page once a certain php function is complete [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
Essentially the title, please keep it simple, im not accustom with code.
You can use header('Location:yourpage.php') at the end of your function.
Header

I need to use themeMyLogin widget [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
Should I use theme my login widget? I don't know whether or not I should begin programming it from scratch or there is already a widget.
Do you just want to use this plugin?

How to access to htaccess values (user and pass)? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
How can I access to value entered by user with a htaccess pop-up?
Thanks.
Did you try this?
$_SERVER['REMOTE_USER'];
or
$_SERVER['HTTP_AUTH_USER'];
With this you should get the username.

Categories