by: AJ Z |
last post by:
I am using in_array() to search for a value ("other"), in order to validate
a form.
If I pass $_POST as the array to search PHP says that it is an
invalid datatype.
It is an array and if I copy...
|
by: Jack |
last post by:
How would I add a variable that I will assign to a list of $_POST
variables that I extract from a form?
My form passes a value for $q. That works fine. What I want to do is run
an if/else on it...
|
by: Quinonez |
last post by:
if i set a $_SESSION=$_POST in every page of a multiple page form how
then would i call it on a later page of the same session? and also how
is distigushed between pages ? should it be set up...
|
by: EOZyo |
last post by:
Hi, i'm trying to set pagination for a search i run on my website, i'll
try to explain the easiest i can:
When i click the search button on search.php, data is received and
stored in variables...
|
by: zorro |
last post by:
greetings...
I'm wondering what more advanced coders would think ot this:
$_POST = clean($_POST);
and now I can use POST directly:
$sql= "select * from T1 where myvar='$_POST' " ;
|
by: comp.lang.php |
last post by:
I have no idea why this is happening and I need someone to explain this
to me at the simplest level absolutely possible (pretend I'm a 10-year
old and explain it that way, please!)
This class...
|
by: Mason Barge |
last post by:
I have a standard POST form consisting of two types of input: text input and
textarea. The form downloads current settings from a mysql database. The
user can update the information by modifying...
|
by: lawpoop |
last post by:
Hello all -
Is there a way to get a nested array in a $_POST variable?
I have a form where there are several questions, each one
corresponding to a database row. On submission of the form, I...
|
by: Bill H |
last post by:
I wouldn't consider myself a newbie to PHP since I have never written
one line of code in it (am a perl guy myself), but part of a team I am
working with is writing some php interfaces into a...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
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
|
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...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
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...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
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...
|