Is there a way to have my webpage automatically load a preselected page once a certain php function is complete [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
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

Related

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

how to get information from a link in php [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
If give you a link like http://login.php?workerid=abc,
how can we get the information of workerid in php? Thanks.
Maybe $_GET function, but do not know exactly how to make that work.
you can get information from url like this
$data=$_GET['workerid'];

Is it possible to do form validation from a separate php script? [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
What I'm trying is a php form validation from a separate file.(form.php & validate.php).
Is it possible?
Yes, you just have to include the scripts and you have access to functions inside of them. You really couldn't google this one?
include("validate.php"); //inside form.php

PDO PHP how to customize header function [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
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);

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?

Categories