3
votes
1answer
28 views

Redirect based on $.getJSON

Sorry to seem a complete noob with jquery/ajax, but I am :) I just started php 6 months ago, so I am struggling with a small script: <html> <head> <script ...
-1
votes
1answer
37 views

Communicating variables from JavaScript to PHP [closed]

I want to pass a value from JavaScript to PHP whenever I click a button. For example, the value of the getdate() will be passed on to PHP. Which will then be used to manipulate the database.
0
votes
5answers
51 views

php if else check inside a string

Im trying to squeeze few html codes and php codes into a string. (And then pass the string back to ajax callback and ajax prints the string). This is my code. $sql = "SELECT * FROM pfilter WHERE id ...
-1
votes
1answer
21 views

individual checkbox for each task returned in a ajax call [closed]

I have a question about checkboxes. I am making a website that lets users enter their tasks for the day and can check the tasks off once they are complete. They can browse the tasks by selecting the ...
1
vote
1answer
36 views

Javascript Isn't Getting User's Profile Name And ID

I'm making an AJAX/JavaScript comment function on each user's wall. The PHP I'm using to get the user's info from the database is this: $fetchstats = (int)strip_tags(rawurldecode($_GET['id'])); if ...
0
votes
2answers
19 views

Render mathjax dynamically (ajax/php)

I am trying to make an automatic preview for math equations. Basically, the user would input an equation in a text box and it would show up beneath, all prettied up in LaTEX with mathjax. I used ...
3
votes
1answer
25 views

Textarea not working with jQuery live keyup function

I'm trying to build a tag friend system for a personal project. I've found some great tutorials online but right now i'm stuck. Nothing happens when i type in @ in the tagbox. Display and msgbox ...
1
vote
1answer
19 views

Run DB Query function in background

I'm currently trying to create a dynamic registration page. By dynamic, I simply mean that the username and email that is entered will be checked against the DB to see if they exist. I want to do this ...
0
votes
2answers
77 views

Database slice the last two characters of the password (?!)

I have a very frustrating problem. I have a client which send a registration form to the server. The handler is a php file. The problem is the following: the client send the form data to the php, ...
-4
votes
1answer
39 views

Reverse Ajax Technology in PHP website [closed]

I am working in PHP chat application but i want to use Reverse Ajax Technology for chat application, Can anyone link here good resources to learn This technology from scratch ? Thanks :)
2
votes
1answer
44 views

Inconsistent results of an ajax query to a table

N.B. - sorry for the wrong title initially - that was a different question for which I'm trying to solve without posting. I'd like to ask you two simple questions about returning data from a php file ...
-4
votes
0answers
25 views

how to implement Tries data structure in PHP [closed]

Anyone please tell me how to implement Tries data structure in PHP i have my html code as : <html> <head>tries implementation</head> <body> <form method="post" action ...
0
votes
3answers
50 views

How to use the response coming from the php to $.post() in jquery [duplicate]

this is my first question at stackoverflow, speaking specifically ... i am using the result of my PHP file ("myphp.php") ... <?php echo "Hello" ?> now the javascript code that was called : ...
0
votes
1answer
37 views

Using ajax to check price based on selected option

I am trying to change the price based on the option a user choose. I am getting the price and sizes from the database. Is they a way to use ajax to change the price base on the bsize that user ...
0
votes
2answers
66 views

Ajax post to php on same page not working

I am trying to pass a var from jquery to php.After researching i found the most common suggestion was to do thid vis Post with ajax and store the post var using php. My php skills are pretty good but ...

1 2 3 4 5 955
15 30 50 per page