All Questions
5 questions
-1
votes
1
answer
35
views
ajax didn't call the server php program
I am quite new in the programming and I try to check if a shop has been already assigned to an user. if yes nobody can be assigned to this shop anymore.
so in the index file I make a call via $.ajax ...
0
votes
3
answers
79
views
take special lines from txt database PHP
I have text database
0,Apple,Green
1,Banana,Yellow
2,Cherry,Red
and when I call getdata.php?row=2 I need get data which is 2,cherry,red
I am a bachelor in PHP and I have only one example ,
please ...
0
votes
1
answer
563
views
What is the order of __set __get, accessing a public field and __call?
Assume we have this code:
class SomeClass{
private $somePrivateField;
public function __get($name){
$function = "get".ucfirst($name);
return $function;
}
public ...
4
votes
2
answers
10k
views
Magic Methods php, __call __get and __set?
my question is, say we have a class:
class SomeClass{
private $someProperty;
public function __call($name,$arguments){
echo "Hello World";
}
Now when I say:
$object = new SomeClass()...
0
votes
3
answers
237
views
Get the value from a form in PHP [duplicate]
Possible Duplicate:
GET URL parameter in PHP
(Mind you I am fairly new to PHP and still learning)
I have form:
<form name="checkingEmail">
E-Mail: <input type="text" name="email1"...