dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: Tyska

Search: Search took 0.00 seconds.

  1. Ok, thanks for the tip. From what I understand in...

    Ok, thanks for the tip. From what I understand in order to have the value assigned by reference all I need to do is to put & before $v in my code where the foreach loop is stated. I changed it to...
  2. Might it have something to do with the fact that...

    Might it have something to do with the fact that generator is an instance of different class called Generator and I'm trying to change it's property within a class the instance is passed to? I'm...
  3. Will unsetting the $v do it? I assume just...

    Will unsetting the $v do it? I assume just unset($v); should suffice? I added this line and after destroying this array the count should echo 99, but instead it shows 100 three times.
  4. removing a specific array, found by searching for highest value, from a 2D array

    The issue is tough to describe but hope the title makes sense. What I've done is I've searched through 2D array to find an array with the highest value of 'charge'. Right after I do this I'd like to...
  5. adding select field with options fetched with PHP using AJAX (beginner)

    So the idea is to let the user add more sets of fields to the form. I took simple code from http://www.sanwebe.com/2013/03/addremove-input-fields-dynamically-with-jquery . But I want to add a select...
  6. Replies
    1
    Views
    662

    ok i fixed the one above but i have a problem...

    ok i fixed the one above but i have a problem with passing a parameter to a template page as it doesn't display anything

    <?php



    try {
    $con = new PDO( DB_DSN, DB_USERNAME, DB_PASSWORD ); ...
  7. Replies
    1
    Views
    662

    PDO connection fetching from DB

    Hi

    I'm trying to change my script from mysql connection to PDO and I managed to fetch data but there's an input box and based on the input fetched data is supposed to change but the results just...
  8. Replies
    6
    Views
    1,336

    AJAX ok fixed it, i just needed a monologue i guess xD

    ok fixed it, i just needed a monologue i guess xD
  9. Replies
    6
    Views
    1,336

    AJAX ok, i kind of made stupid mistake and fixed it, i...

    ok, i kind of made stupid mistake and fixed it, i lacked one curly bracket that's it and started getting error alerts
    but i get an error from xml I found it and fixed it but it was still the same, i...
  10. Replies
    6
    Views
    1,336

    AJAX I've run the website on chrome console it gives...

    I've run the website on chrome console it gives two errors:
    Uncaught SyntaxError: Unexpected end of input for line 1 of moje.js
    Uncaught ReferenceError: process is not defined for line 71 of...
  11. Replies
    6
    Views
    1,336

    AJAX i have a typo there in javascript file it says...

    i have a typo there in javascript file it says 'is' instead of 'if', fixed it but it didn't help
  12. Replies
    6
    Views
    1,336

    AJAX Ok Idk where the problem is, i tried w3schools...

    Ok
    Idk where the problem is, i tried w3schools example and just altered the tag names to my xml file and changed the function name as well - didn't work, neither did some example tutorial i tried...
  13. Replies
    6
    Views
    1,336

    AJAX AJAX doesn't return data from XML

    Hey

    I'm supposed to load XML data to HTML tags on my website without using jQuery

    function titleTopic(url)
    {
    var xmlhttp;
    var txt,txt2,xxx,xx,x;
    if (window.XMLHttpRequest)
    {// code for...
Results 1 to 13 of 13
HTML5 Development Center



Recent Articles