Linked Questions

0 votes
2 answers
1k views

I would like to have a simple system that stores the number of times a link was visited. Basically, on click I would like to call a function that adds 1 to a number of clicks stored in the database (...
Vonder's user avatar
  • 4,063
3 votes
2 answers
2k views

I have the following form: HTML <form id="myForm" action="" method="post"> <div id="edit-box"> <INPUT type="submit" name="save-...
Mumbo Jumbo's user avatar
-2 votes
2 answers
4k views

I need to call a PHP function as simply as possible with OnClick event: <button onclick="Function(5)">Call PHP function</button> I searched for the answer, but could not find it. I think ...
Doubstract's user avatar
0 votes
0 answers
175 views

I have this button: <input type = "button" name = "btn_sample" value = "click me" /> And also have this php function on the upper part of my page: <?php function php_click(){ echo "...
Dranreb's user avatar
  • 313
-3 votes
1 answer
137 views

I have a problem with calling a phpfunction from a onclick() event. <button onclick=delete($a) >click here</button> <?php Function delete($a) { ----statements---- } ?> Please help ...
Arun's user avatar
  • 25
124 votes
5 answers
120k views

I've got this message warning on Netbeans 7.4 for PHP while I'm using $_POST, $_GET, $_SERVER, .... Do not Access Superglobal $_POST Array Directly What does it mean? What can I do to correct this ...
Kannika's user avatar
  • 2,566
12 votes
7 answers
161k views

Before someone has a go at me or marks this down, I have looked all over the internet to find out how to do this (including the same question on stackoverflow). I'm new, and I am finding it very hard ...
Daniel's user avatar
  • 3,312
5 votes
2 answers
78k views

These are two files Calling.php <html> <body> <form action="Called.php" method="get"> <input type="button" name="B1" value="B1"> <input type="button" name="B2" ...
Gnanendra's user avatar
2 votes
3 answers
6k views

I am getting the following error and can not figure out why. I've been staring at this for too long.. Error: Parse error: syntax error, unexpected T_UNSET in blah/blah/blah My code: Essentially, I ...
user2828701's user avatar
1 vote
1 answer
6k views

I want to add a loading spinner while my remote script is running and my frontend page is in "waiting for ..." state. I only have 1 php page and one CSS . ( for the moment still in tests so I have ...
MouIdri's user avatar
  • 1,390
0 votes
4 answers
6k views

I'm trying to do an HTTP Post using Javascript. I'm using the code reported here: JavaScript post request like a form submit and it works fine. But I need to remain in the same page while the HTTP ...
Filippo's user avatar
4 votes
1 answer
3k views

I am trying to call a php function on click on a button using Javascript. It does not seem to be working fine. Is there a better way to call php function on click of a button <!DOCTYPE html> ...
user3846091's user avatar
  • 1,713
0 votes
1 answer
3k views

All front-end programming only please. Here is the actual site I am currently working on: http://alvincaseria.me/SJA100/ I have buttons which displays like this way: [stories before 1991] [ after ...
Ace Caserya's user avatar
  • 2,945
0 votes
1 answer
2k views

I know that AJAX could solve my issue. I need help how I can solve it in my specific case however. I manage some sortiment items on a page, they get displayed with a PHP script (checks the database, ...
wftico's user avatar
  • 73
0 votes
3 answers
2k views

I'm trying to create a HTML table that lists all the rows in a database table. Then, next to each row I want to have a button so the user can delete that entry. I have created the table but I can't ...
user1009573's user avatar

15 30 50 per page