dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: NoEffinWay

Page 1 of 13 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    884

    You could encrypt the fields....

    You could encrypt the fields.
    http://dev.mysql.com/doc/refman/5.5/en/encryption-functions.html
  2. Replies
    2
    Views
    685

    Nevermind, it is working as intended. ID-10T...

    Nevermind, it is working as intended. ID-10T error. XD
  3. Replies
    2
    Views
    685

    [RESOLVED] Query Optimization

    Just doing some query clean up in an old PHP script. I have the following query:


    SELECT *
    FROM menu_optionsets
    WHERE (TYPE = 'S' OR TYPE = 'W') AND optionset_id IN (
    SELECT optionset_id...
  4. ...the error is pretty self explanatory..... ...

    ...the error is pretty self explanatory.....

    ...
  5. First off, please wrap your php code in the php...

    First off, please wrap your php code in the php code tags.

    Now, I would change this:


    if (isset($_POST['q']) && $_POST['q'] != "")

    to:
  6. I highly doubt you'll find a site builder that...

    I highly doubt you'll find a site builder that will do this, Wordpress, or some other CMS, can probably provide this feature, I would look into those.
  7. Replies
    2
    Views
    586

    OK, never mind, I got it, it was because the...

    OK, never mind, I got it, it was because the items in question had nothing for the GROUP BY clause. I fixed it by using the following:



    SELECT
    mc.cat_id AS...
  8. Replies
    2
    Views
    586

    Also, I was doing some experimentation to try and...

    Also, I was doing some experimentation to try and get results, the following query WILL select the target row:


    SELECT
    mc.cat_id AS mc_cat_id,
    ...
  9. Replies
    2
    Views
    586

    [Resolved]MySQL Problem

    Ok, for some reason, my SELECT statement is ignoring entries that I have manually assigned a key.

    For example, the following entry:


    cat_id | cat_name | display_name
    1000010 | ...
  10. Modify the query slightly and then assign a...

    Modify the query slightly and then assign a session var:


    <?php

    session_start();
    $sqli = new mysqli(host,user,pass,dbase);

    $user = $sqli->real_escape_string($_POST['username']);
    $pass =...
  11. There were some spelling and logic issues on my...

    There were some spelling and logic issues on my part (don't code when sleepy @_@) here it is in action:

    http://help.aramisblack.com/saveList/
  12. Actually, i realized you also weren't checking to...

    Actually, i realized you also weren't checking to make sure the checkbox was even checked. Your function should look like:



    function calcTotal() {
    var itemTotal = 0;
    var items =...
  13. Works fine here:...

    Works fine here: http://codepen.io/AramisBlack/pen/XJzYqK

    Is your jQuery file in the correct path?
  14. Replies
    1
    Views
    562

    The new elements are not bound to the event. Try...

    The new elements are not bound to the event. Try this:
    (also, please use code tags)


    function bindNewsClicks(){
    $('.news_link').click(function(event){
    ...
  15. AJAX Data passed via AJAX is accessed based on the...

    Data passed via AJAX is accessed based on the 'type' of AJAX request. You are using GET, so to use you variables on the php side you would do something like:



    $sid = $_GET['sid'];
    $courriel =...
  16. First off, please use code tags You end your...

    First off, please use code tags
    You end your function before it should be ended.

    Here it is working:
    http://codepen.io/AramisBlack/pen/azVKVB


    // function to add values of selected check...
  17. Replies
    14
    Views
    1,639

    Perhaps this will help you: ...

    Perhaps this will help you:

    http://stackoverflow.com/questions/9046675/convert-a-php-script-into-a-stand-alone-windows-executable
  18. Replies
    14
    Views
    1,639

    ...yes it does... This setup sounds sloppy...and...

    ...yes it does...
    This setup sounds sloppy...and it sounds like you are up to no good.

    Save the following as a bat file, make a script, run it with by running the "bat".
    (this assumes xampp is...
  19. I started coding PHP about 7 years ago, because I...

    I started coding PHP about 7 years ago, because I wanted my own World of Warcraft private server and I had to create a registration script. That's why I learned, I needed to to complete my goal. ...
  20. Then assign the username to another session...

    Then assign the username to another session variable and use that:


    <?php

    session_start();
    $sqli = new musqli(host,user,pass,dbase);

    $user = $sqli->real_escape_string($_POST['username']);...
  21. Something like:

    Something like:


    <?php

    session_start();
    $sqli = new musqli(host,user,pass,dbase);

    $user = $sqli->real_escape_string($_POST['username']);
    $pass =...
  22. It seems like your $POST data may not being...

    It seems like your $POST data may not being passed? Try

    var_dump($_POST);
    And this is the correct way:


    $lista = $_POST['listItem'];
    $listb = $_POST['listPrice'];
  23. I frequent http://hackthissite.org/ they have...

    I frequent http://hackthissite.org/ they have some interesting view points on security and can teach you a lot.
  24. Those are multi-deminsional arrays, the correct...

    Those are multi-deminsional arrays, the correct way to access them would be something like:


    <?php

    $lista = $_POST['listItem'];
    $listb = $_POST['listPrice'];
    //Now these are both...
  25. Replies
    4
    Views
    815

    Check to see if the variables are set and if not,...

    Check to see if the variables are set and if not, assign an empty value. Something like:



    if(isset($_POST['foo_x'])){
    $foo_x=$_POST['foo_x'];
    }else{
    $foo_x="";
    }...
Results 1 to 25 of 311
Page 1 of 13 1 2 3 4
HTML5 Development Center



Recent Articles