-
Replied To a Post in Passing $POST values using JQuery Ajax Problem....
$.ajax({ type: "POST", url: "a.php", data: postData, success: function(data){ window.open("a.php"); } }); Instead of doing something with the response you open `a.php` again but without sending any data. If you … -
Began Watching How to restrict my input textfield to a number and dot (.) can only typed
somebody can help me... -
Replied To a Post in How to restrict my input textfield to a number and dot (.) can only typed
In addition to the above, be sure to check input again before sending the actual input data. There are users who, when they can't **type** what they want, will copy-paste … -
Began Watching search by keyword
<div class="heading1"> <h3>Search by keyword</h3> </div> <div class="items"> <div class="item"> <form method="post"> <input type="text" class="css-input" name="search_key" id="search_key" placeholder="Search here"> <input type="submit" name="search" id="search" class="myButton" value="search" > </form> <div class="clear"> </div> … -
Replied To a Post in search by keyword
Create a page which, given a keyword, will search your data set and print the results. Test that until it works. Then, go back to this page and use Ajax … -
Replied To a Post in PHP query doesn't updating the database
If `receiver_id` is in the session, then that should work the same as it does for user yes. -
Replied To a Post in PHP query doesn't updating the database
Do what you're doing in `getUserData()` except instead of the session name/id you use the receiver's. Then `$receiverTotal = $receiver_mBalance + $howMuch;` and $query = "UPDATE `users` SET `payCheck`='".$receiverTotal."' WHERE … -
Replied To a Post in PHP query doesn't updating the database
if($result->num_rows > 0) { echo "Username doesn't exist."; } else if($result->num_rows > 1){ If it's larger than 1 it's also larger than 0. If the amount of results is **0** … -
Replied To a Post in PHP query doesn't updating the database
It prints that if `$result->num_rows > 0`. So if results has more than 0 rows. -
Began Watching PHP query doesn't updating the database
Hello i have this code and something isn't working but i dont know what, the code it does not updating the database at all and i don't get any errors. … -
Replied To a Post in PHP query doesn't updating the database
if($result === false) { trigger_error('Wrong SQL: ' . $sql . ' Error: ' . $conn->error, E_USER_ERROR); if($row = $result->num_rows > 0) { echo "Username doesn't exist."; } else { $sender … -
Replied To a Post in jQuery and jQuery Mobile conflict
I'm still getting the three typerrors on the homepage, but clicking a link works and the header then stops resizing. If I however go to that page directly, the header … -
Replied To a Post in click
What if you added it as `none` to the transparent div and as `auto` to the elements in the transparent div that need clicking? I don't know why internet explorer … -
Replied To a Post in passing id
> syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in in.. the suspense is killing me. One of those variables in the queries is probably not set properly. … -
Gave Reputation to mattster in Run PHP as a Cross-Platform Desktop Application
Recently I've stumbled on a nice tool that I really quite like, so I thought I'd share it: Personally, I love the power behind PHP. I find it a very … -
Gave Reputation to nullptr in Difference
It would appear that Ahmad is most adept at copy and paste. Compare his last post to CrateMuncher's comment at http://www.reddit.com/r/answers/comments/2dplea/whats_the_difference_between_c_c_and_c/ -
Began Watching Playing sounds according to what is called on the arraylist
I'm trying to play the sounds according to what's called on the arraylist but the sounds are playing randomly and it seems like the sounds are overlapping. what is wrong … -
Replied To a Post in Playing sounds according to what is called on the arraylist
`tempq` is a list of some sorts? If it contained **a1**, **b1**, **c1** like stultuske posed. You loop through all the list elements, but does it not play **a1** three … -
Began Watching passing id
how to pass id from one table to another table in php, can anyone tell me with example -
Replied To a Post in passing id
It's unclear (to me anyway) what you mean. Do you want to move an id from one database table to another? Move a cell from one HTML table to another? … -
Began Watching database/website crawl - legal?
Our teacher tells us to add a crawl functionality that will get information from other databases online... is this legal, cause i think it's not -
Replied To a Post in database/website crawl - legal?
In the sense of "I have a cinema app and I want IMDB's movie data for the films playing" or more like "let's see what the NSA is up to … -
Began Watching php step-by-step
i want to know full details about php, as i dont know upto what extend the php is extended till now, specify in the list manner so that everyone can … -
Replied To a Post in php step-by-step
* [click](http://php.net/) -
Began Watching click
how can I click a button or a link which is under a fixed div? -
Replied To a Post in click
You can use `pointer-events:none` in the css of that transparent div to "ensure" it won't be the target of mouse events. Ensure between air-quotes because it will depend on what's … -
Replied To a Post in random selection from mysql avoiding deleted records
No worries > is there a quick and easy way to increment a counter for that record in the process of selecting it that would keep track of how many … -
Replied To a Post in random selection from mysql avoiding deleted records
It does yes, but at a larger cost. To compare: SELECT * FROM `person` ORDER BY RAND() LIMIT 1 Query took 1.1831 sec It's still managable I suppose, depending on … -
Began Watching random selection from mysql avoiding deleted records
I know there are a lot of articles about random numbers, but can't find an efficient way to do what I need. if I have a table that is designed … -
Replied To a Post in random selection from mysql avoiding deleted records
Get a random number between 0 and the amount of records using **count x rand**, then use LIMIT offset, amount. So for instance, let's say the random number is 5. … -
Replied To a Post in jQuery and jQuery Mobile conflict
I would yes, if you click a link in the menu the console will show: > TypeError: $ is not a function > $( "#mypanel" ).trigger( "updatelayout" ); So you … -
Replied To a Post in jQuery and jQuery Mobile conflict
I checked again, in the console there are a couple of errors and the links aren't working like yesterday. Are you sure you need to relinquish the `$`? jQuery and … -
Began Watching jQuery and jQuery Mobile conflict
Hey my website www.m.keybench.com is using jQuery mobile and having some serious problems! sometimes my script fires and other times it doesn't.. someone please help? -
Replied To a Post in jQuery and jQuery Mobile conflict
"my script" ? I looked at your other question yesterday, went to your site, after a menu click the header would indeed stop scrolling. There's a ton of scripts on … -
Began Watching error found from console. what going wrong
The error is on this line according to the browser console Uncaught TypeError: Cannot set property 'onclick' of nullcal.php:26 (anonymous function) When the a date is clicked other than in … -
Replied To a Post in error found from console. what going wrong
One/multiple of those trigger## do not exist when you try to set the onclick. Why not make it a **lot** easier by just putting the show form call in the … -
Replied To a Post in Retrieve data from database throught javascript & jquery
Ah ok, I just noticed you use `$table.html('<table>')`, `$table.html('<tr>');` and so on. You're overriding its contents? From the [API](http://api.jquery.com/html/): >When .html() is used to set an element's content, any content … -
Began Watching Serialization Realtime example
Hi all, I understand the concept of Serialization but,want to know 1.when we use this in realtime? and 2.under what situations we can use this? I tried to google but … -
Replied To a Post in Serialization Realtime example
I understand the concept of your question but want to know 1. is this homework 2. what was unsatisfactory about the answers you found You might want to glance over … -
Began Watching Retrieve data from database throught javascript & jquery
I have the following code: //list is the result of the query of the database var list =[]; var _this = this, $div = _this.$div, opts = _this.settings, $table = … -
Replied To a Post in Retrieve data from database throught javascript & jquery
> [ > Nome: Interior; > IdDireta: 2; Nome and not name? ` if (p === "Name") {` var _this = this, $div = _this.$div, opts = _this.settings, $table = … -
Gave Reputation to Ahmad Imran in Difference
Just thought about experimenting on how many geniuses are in this forum . Sadly no one could answer this simple question -
Replied To a Post in autofocus in angular js form
Have you tried attaching the call to the link you click to show the form? If you're looking for a true angular approach you could have a look at [this … -
Began Watching inserting deep record to json with php-jsonpath API
I've a json structure : { "Photos":{ "Photo":[ { "ID" : 111, "type" : "JPEG", "URL": "blabla" }, { "ID": 222, "type": "JPG", "URL": "blaaaaaaaaa" } ] } } Using … -
Replied To a Post in inserting deep record to json with php-jsonpath API
From that page you posted: > $.store.book[*].author > the authors of all books in the store Wouldn't this `$result = jsonPath($jsonobj , "$.[1]");` be more easier if you wrote it … -
Began Watching autofocus in angular js form
I am trying to autofocus the form's first field. but not able to. My scenario is, in first load it shows table with data.On this page a <a> link is … -
Replied To a Post in autofocus in angular js form
`$("#degree_name_id").focus();` will set focus in jQuery. `document.getElementById("degree_name_id").focus();` will set focus the old fashioned way. -
Replied To a Post in set focus
You have a validation when you lose focus (blur) and you have one when you press submit. When you press submit it works. My guess is you're mixing up what … -
Began Watching Help needed, prompt dialog urgent advice.
Hello everybody, could someone please urgent help me with this assignment question? I just need some tips on why my prompt dialog is not working correctly. The script is below … -
Replied To a Post in Help needed, prompt dialog urgent advice.
> I have a code which is lc.runlight(); It has no parameters. `public void runLight(int numCycles,int sizePerCycle)` requires two integers. > I have looked through this and can't really see …
The End.