-
Replied To a Post in How to display two column in a select box
Try: <select name="cmbclient"> <option value=""></option> <?php /* select only the fields you need. Doing SELECT * gets you all the fields on the table, even the one you don't need! … -
Replied To a Post in SMS Sending in back end process
> By selecting organization, it will calculate how many customers are there to send SMS, It will display the SMS Count along with all managers names using JQUERY AJAX. > … -
Replied To a Post in PHP SQL INJECTION
Indeed! That is certainly news to me. FYI: that seems to be a MySQL-specific feature. It is not standard sql (see section 13.8 <insert statement> at http://www.contrib.andrew.cmu.edu/~shadow/sql/sql1992.txt). On another note, … -
Replied To a Post in PHP SQL INJECTION
>The main issue is, it's not detecting any vulnerability How do you know that it is not detecting any vulnerabilities? Are you echoing (and inspecting) the intermediate results > so … -
Replied To a Post in jQuery to help update a table from a database
>Is it possible to be able to have those printed out results turn into a textbox where you, as the user, can edit them? That is what you need to … -
Replied To a Post in jQuery to help update a table from a database
> I want to know if I can use the event listener to help trigger a php code that will make a query to update that specific user Yes. Give … -
Replied To a Post in jQuery to help update a table from a database
If you noticed carefully, I used `$(this).hide();`. Within that function `this` refers to the element that triggered the action. So it only applies to the clicked button. -
Replied To a Post in jQuery to help update a table from a database
In HTML, an elements id attribute must be unique. Since you have `<button id='button'>Update</button>` within the `while` construct, all the buttons are getting the same id value. By contrast, your … -
Replied To a Post in PHP SQL INJECTION
Are you sure that your `$row_injection_text['inject_code']` has a value? Meaning, have you tried running your `LEFT JOIN` query in an sql tool to verify that you are getting the expected … -
Replied To a Post in PHP SQL INJECTION
Please provide a sample value for `$row_pages['link']` and `$row_injection_text['injection_code']`. -
Replied To a Post in PHP SQL INJECTION
On line 11, where are you initializing `$row_injection_text`? I am wondering if you meant to write `$row_pages`? -
Replied To a Post in How to display two column in a select box
Try: <select name="cmbclient"> <option value=""></option> <?php /* select only the fields you need. Doing SELECT * gets you all the fields on the table, even the one you don't need! … -
Replied To a Post in JQuery, loading page but not functioning
On line 20 of *Page 2*, you are expecting a "field/parameter" named "engineers" as a *POST* request, but on line 13 of *Page 1*, you are not passing an object … -
Replied To a Post in JQuery, loading page but not functioning
> The issue I'm facing now is that the update button won't work I don't know what button you are referring to. You need to show your code. -
Replied To a Post in using json_encode and json.parse() help.
> but the javascript is still giving me an error with the obj = JSON.parse(ret); That's because on line 16, you supplied the `dataType: 'json',` option. By doing so, you … -
Replied To a Post in JQuery, loading page but not functioning
With the new code you have, you just need `this.value`: $(document).ready(function(){ $('#engineers').on('change', function() { $('#display_info').load('sqlPage2.php?' + this.value ); }); For the sake of completeness, with the old code, you needed … -
Replied To a Post in Check value of cloned row
On line 11 you have: $('.codeForm tr:last div[id="status"]').attr('id', '#status' + counter + ''); which ends up generating `<div id="#status">...</div>`. Get rid of the hash symbol. You need the hash symbol … -
Replied To a Post in htaccess: problem about double slashes
> Won't this rule redirect these pages as well? No. Those pages start with a question mark immediately after *index.php*. The `RewriteRule` above only affects pages that have a forward … -
Replied To a Post in JQuery, loading page but not functioning
Get rid of the `$(document).ready(function(){...});` "wrapper". You need that only when you need to execute something as soon as the page has loaded. In your case, by the time the … -
Replied To a Post in Understanding Javascript Arrays
>I find some of the OO aspects a bit confusing: It seems that an image is turned into an object simply to be able to process it from within an … -
Replied To a Post in [PHP] is_int is false on integer?
`is_int(1)` should return `true` since 1 is an int primitive. However, `is_int("1")` should return `false` because you are checking a `string` (that happens to have a numeric character, but is … -
Replied To a Post in htaccess: problem about double slashes
try: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^/?index\.php\/(.*)$ /index.php [R=301,L] </IfModule> -
Replied To a Post in JS keydown event firing
Try: var commentContent = $('textarea.comment-box#comment'); commentContent.keydown(function(e){ /* see: http://www.quirksmode.org/js/events_properties.html */ var code; if (!e){ var e = window.event; } if (e.keyCode){ code = e.keyCode; } else if (e.which){ code = …
The End.