• Member Avatar for minitauros
    minitauros

    Replied To a Post in Continuous Integration: getting started (PHP, Composer, Sass, Webpack)?

    Thanks for your reply! Completely agree with what you're saying, but I think that even though it might not be 100% valid CSS that the Sass compiles to, if it …
  • Member Avatar for minitauros
    minitauros

    Created Continuous Integration: getting started (PHP, Composer, Sass, Webpack)?

    Hello there. I'm at a point where I have to set up a continuous integration environment. I have contributed to projects using CI before, but I have never set it …
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in Not able to display records using Next/Previous buttons in php

    For starters, I don't see any code where you are actually displaying something that you fetched from your database.
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in Checkbox showing array instead of chosen options

    I ran the same code locally and it's working (the code I submitted as an example, that is). So if that's not working for you we may have bigger problems …
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in Set default value of Optional box

    Try this: <?php $month=array("Jan","Feb","Mar","Apr","May","June","July","Aug","Sep","Oct","Nov","Dec"); foreach($month as $m) { printf('$m = %s, $birth[1] = %s, same? %s', $m, $birth[1], $m == $birth[1] ? 'yes' : 'no'); } Is there any record …
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in Set default value of Optional box

    What is in `$birth[1]`?
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in Checkbox showing array instead of chosen options

    Something like this should be working: <?php $interests = array(); if (!empty($_POST['interests'])) { $interests = $_POST['interests']; } if ($interests) { echo 'Interests:<br>'; foreach ($interests as $i => $interest) { echo …
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in xengine.js:2 Uncaught SyntaxError: Block-scoped declarations [...]

    On the first line of your file with the error, type `'use strict'` followed by a newline. That should fix it. Some stuff in Javascript is only supported if you …
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in Php Tiny MCE doubt

    You want to know the value of the `style` attributes? Or? You'd have to write a regex PHP parser for that, or maybe you can do some nice stuff parsing …
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in set $ in place of jQuery globally

    Yes it does. (function($) { // Code })(jQuery); simply defines an anonymous function and executes it right away, passing it `jQuery` as argument for `$`. You can put everything inside …
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in set $ in place of jQuery globally

    I know, that's why I posted the solution above. Look at it again ;). Do you see a document.ready anywhere?
  • Member Avatar for minitauros
    minitauros

    Gave Reputation to diafol in The used SELECT statements have a different number of columns?

    UNION and UNION ALL statements should have individual select statements having the same number of columns. If you know the number of columns are different, you can add "dummy" columns …
  • Member Avatar for minitauros
    minitauros

    Gave Reputation to diafol in The used SELECT statements have a different number of columns?

    UNION and UNION ALL statements should have individual select statements having the same number of columns. If you know the number of columns are different, you can add "dummy" columns …
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in The used SELECT statements have a different number of columns?

    JOIN works if tables have different column names. Example: SELECT table_a.name, table_b.username FROM table_a JOIN table_b ON table_a.user_id = table_b.user_id WHERE table_a.user_id = 1 In the `ON` part of the …
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in The used SELECT statements have a different number of columns?

    Why don't you use a `JOIN`? :)
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in Opinion on web development platforms

    Depends on what you want to achieve. You don't need to reinvent the wheel but building something yourself from scratch gives you important insights, insights that you will probably need …
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in move uploaded files funtion not working

    Well if you want to hear why it didn't work, I think we need some more code of you to review, but if you have it working and if you're …
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in move uploaded files funtion not working

    I've cleared up some code for you as it seems to be in random order. Try this out and let us know what the debug messages say, as your code …
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in Some things I miss about the old layout

    > you may remove ads by installing AdblockPlus; Id not change anything on main page - its ok.... ----- > And it got worse and worse and worse each day. …
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in html

    Nice one! I think I've learned pretty much all I know about HTML and CSS using that website.
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in localhost wordpress admin panel redirection

    > "Have you tried turning it off and on again?" Kidding, but seriously, if this is a new installation, just reinstall and it will probably fix your problems.
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in meta name

    Yes of course :). Google around a bit and if you have questions, come back here and ask about it.
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in set $ in place of jQuery globally

    You could place your functions inside an anonymous functions like so: (function($) { $('#fancy_jquery_element').doFancyStuff(); })(jQuery);
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in meta name

    If you mean the *name* attribute of a meta tag: that's to indicate what the meta tag is indicating ;).
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in how to remove duplicate numbers from Array

    Mate, do you have any idea what you are doing at all? :P What is is that you are trying to do? Are you trying to get an array of …
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in WHAT SKILL TO BE FIND IN BEST WEB DESIGNING

    Could you formulate that as a full-scentence question? Maybe some context?
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in how to remove duplicate numbers from Array

    I only included the PHP to remove the duplicate numbers. You will have to print them yourself ;).
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in phpunit issue

    Ok because I do not fully understand from which directory you are calling your scripts, let's make clear we're on the same line here :). So let's say you have …
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in how to remove duplicate numbers from Array

    Your code with comment: $myarray = array(); $myarray['numbers']=$_POST['numbers']; foreach($myarray as $num){ $numbers=$num; // You aren't creating an array here. You are giving $numbers the value of the CURRENT number in …
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in phpunit issue

    Well first thing that comes to mind: did you check if `src/autoload.php` points at something that exists from the directory you're in? :p And do you have permission to read …
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in Some things I miss about the old layout

    Oeh but the "Discussion starter" button next to a discussion starter's name is nice though :)
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in Some things I miss about the old layout

    Oh I have another one! (Hopefully you don't take this as bad criticism because that is not the way I mean it :)) On the homepage, there's this enormous "post …
  • Member Avatar for minitauros
    minitauros

    Created Some things I miss about the old layout

    It's cool that you are constantly developing Daniweb, but I feel that it's time to mention some things that I feel are missing since the last overhaul: 1. Can't easily …
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in unable to update por delete itom from cart

    What exactly is not working? Are you getting an error? What are you trying to achieve?
  • Member Avatar for minitauros
    minitauros

    Gave Reputation to jkon in mysql pdo non object HELP

    Yes to understand what an object is , is something you have to do ;) The second is to read and understand the error messages , you wouldn't need hours …
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in (Your Opinions Needed)

    > nor that every non OOP PHP project isn't great (wow, I hope that triple negative phrase makes sense) +1
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in Web-based thesis ideas

    You mean a thesis about the web? Or a thesis built with the web? In either case, I think you will need to come up with at least SOME kind …
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in Concurrent AJAX call

    Nope. One request will be handled with each call. You will only run into problems if for example request A changes a session var that request B needs as well.
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in How to do a button click when the countdown timer finishes ?

    I think something like this should work: document.getElementById('submit').click(); But why the hell are you creating a countdown redirect if nothing actually happens during the countdown? :p
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in Get count if col1and col2 are same

    So if there is more than one occurence of the same product with the same percentage, you don't want it listed?
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in pass value from the href link

    Ahhh, so what you want to achieve is that when the user clicks the link, a popup (modal) opens up with a form that can be used to edit the …
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in How to select from mysql that group by month in one year

    Sorry, forgot to explain that other bit. Thanks Diafol! Nice addition.
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in pass value from the href link

    I am a bit confused. Which ID is it that you want to use? An HTML ID? To pass to a script that handles your AJAX call? Maybe it would …
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in How to select from mysql that group by month in one year

    Well, a quick search on Google seems to result in an answer to your question. See http://stackoverflow.com/questions/3366895/group-by-month-and-year-in-mysql
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in pass value from the href link

    Well, if you submit a form, the data doesn't just become available in regular variables (like `$id`), it becomes available in a special var. Depending on your form's *method* (get …
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in Php admistrator login not working on server

    Maybe you're trying to redirect to a local page while not working locally?
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in How to pass ajax response to php variable.

    Well, you can't "just" pass it to PHP. You will need to work with it in Javascript. If you need it in PHP, maybe you shouldn't be handling this stuff …
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in Php admistrator login not working on server

    Maybe you're ending up in an infinite redirect loop? Have you tried disabling all redirects and see if anything happens?
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in Php admistrator login not working on server

    What error does the browser say is occuring?
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in Compare problem

    > You can't specify target table 'telefonisti_podaci' for update in FROM claus This looks like a non-default MySQL error. Maybe it's a custom error triggered by your CustomQuery function? If …

The End.