-
Replied To a Post in Creating a div with other divs and elements inside it when pressing button
Hi, you can create DOM nodes, see: * https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement As example: <button id="button">Add</button> <div id="box"></div> <script type="text/javascript"> var btn = document.getElementById('button'); var box = document.getElementById('box'); btn.addEventListener('click', function(event) { event.preventDefault(); // … -
Began Watching Creating a div with other divs and elements inside it when pressing button
I'm fairly new to programming so this question might be dumb. So what I'm trying to do is to create a new div with other divs and images inside it … -
Began Watching jQuery inspired parameter-dependent get or set behaviour for PHP
Hi all. Been fiddling with an idea about combining setters and getters in PHP. I really don't like magic methods (`__get` and `__set`) as they're not very flexible (IMO), but … -
Replied To a Post in Drawback of shared hosting?
I would say there are many drawbacks with shared hostings. What do you need it for? Personally I try to avoid them. Once I was asked to find why a … -
Began Watching Drawback of shared hosting?
Drawback of shared hosting? -
Replied To a Post in Display Data
Hi, your question is very vague. Can you clarify the exact issue? -
Began Watching Display Data
How to display data using id and iid -
Replied To a Post in Running a Home Webserver without a Static IP
**@Kurk** Hi, you could compare proxy servers with VPN, but this thread topic is about web servers so, if you want to explain better your issue, you should create a … -
Began Watching Running a Home Webserver without a Static IP
[B]Intro[/B] Do you cringe at the thought of buying a domain and putting up with the headache of trying to make sure your IP address is up to date with … -
Began Watching Need Help with Database project
Hello all members, I am new to this this website. I am working on an assignment and I have a scenario where I have to find the key attributes, entities … -
Replied To a Post in While loop not outputting data from database..
*// EDIT* I just saw your reply, I'm glad you solved! *// Old answer* Hmm, as far *$permissions* is defined by the input and defaulting to the database and not … -
Replied To a Post in While loop not outputting data from database..
Hi, you are trying to iterate the same result set two times: on line 28 and 106. On line 28 you get the first row, so if the query returns … -
Began Watching While loop not outputting data from database..
Hey everyone, So for some reason my while loop wont populate my select/option field with data in my database. I'm trying to get the values stored in database to show … -
Replied To a Post in Php attached multiple excel files in email codeigniter not working
Hi, it can depend on the path of the files, for example: $xls = "Sealing Report/{$date}/sealing_production.xls"; $xls1 = "Sealing Report/{$date}/sealing_assembly.xls"; the path is relative to the script position, so if … -
Began Watching Php attached multiple excel files in email codeigniter not working
I want to attach two excel files (sealing_production.xls & sealing_assembly.xls)to my email using php,but I have no idea on how to do it. **Problem** When I click on my send … -
Replied To a Post in how to popular a site .....
Hi, if your target is worldwide, then provide an English version of the site: not only of the contents, but also of the links. See this for example: http://iraniantranslate.com/%D8%AF%D8%B1%D8%A8%D8%A7%D8%B1%D9%87-%D9%85%D8%A7/ which … -
Began Watching how to popular a site .....
hi frinds. hope you are well. as i writte this writting im thinking about a my [site](http://Iraniantranslate.com) .... how can i introduce my site to other people? and how can … -
Replied To a Post in SEO My Page
> I found your Facebook in #1 position with web design jakarta. advance web studio I also found Daniweb in 4th position with those keywords :D > What other things … -
Began Watching SEO My Page
Hello, Can you guys check this site: www.advance-web-studio.com This is the site that I built. I am trying to make it the first 5 pages in google.com. Browse using this … -
Gave Reputation to Mati_1 in Changing highlight colors
Thanks again. I didn't know it'd make such difference. -
Replied To a Post in Changing highlight colors
You're welcome :) As I said the script block must be placed at the bottom of the `<body>` block, after all the other codes, so: <!DOCTYPE html> <html> <head> <meta … -
Replied To a Post in Changing highlight colors
Hi, you can use plain javascript: // variables var buttons = document.getElementsByClassName('btn_colors'); var numbers = document.querySelectorAll('.column > div'); var current_color = document.getElementById('green').getAttribute('data-color'); // listener for button clicks for (let i … -
Began Watching Changing highlight colors
I have this code which highlights the selected table cell in green color by default. I am seeking help with a function where there will be three buttons for three … -
Replied To a Post in how to fix mysql error
**@Queen_2** Hi, have you solved? -
Began Watching how to fix mysql error
how to fix this? Port 3306 in use by ""C:\Program Files\MySQL\MySQL Server 5.7\bin\mysqld.exe" --defaults-file="C:\ProgramData\MySQL\MySQL Server 5.7\my.ini" MySQL57"! -
Replied To a Post in Custom/Style title and body direction in desktop notification (chrome)
Hi, I see this happens on Linux Chromium too, here's a demo: https://jsfiddle.net/tzd1gyjf/ Looking at the bug list it seems to be an intended behaviour: * https://bugs.chromium.org/p/chromium/issues/detail?id=442128&can=1&q=component%3AUI%3ENotifications%20rtl&colspec=ID%20Pri%20M%20Stars%20ReleaseBlock%20Component%20Status%20Owner%20Summary%20OS%20Modified But it still … -
Began Watching Custom/Style title and body direction in desktop notification (chrome)
Using desktop push notification when the title and body written using right-to-left languages like Arabic language, the browser detect the language and change the direction even if dir and lang … -
Began Watching Fixing my not-so-smart TV
This isn't a typical hardware post, but I couldn't find anywhere better for it. Last October, after my previous TV packed in, I bought a shiny new Samsung Smart TV. … -
Replied To a Post in What This Site ?
But the tag? :o -
Began Watching What This Site ?
help me -
Replied To a Post in PHP-Using $this->db->get()->result() in Codeigniter
Hi, if you expect only one single row from the query, then instead of: $result = $this -> global_model -> query($query) -> result(); Use `row()`: $result = $this -> global_model … -
Began Watching PHP-Using $this->db->get()->result() in Codeigniter
I'm trying to create a web page that when user click on the below link,it will bring user to the next page <a href="../try/sewcutrptsummary?pro={$row ->idmsul}" target="blank"">Link My question is,how can … -
Replied To a Post in Logic issue in php
Hi, if you don't want to allow duplicates then set a [unique constraint to the brand column,](https://dev.mysql.com/doc/refman/5.7/en/constraint-primary-key.html) and then use `INSERT IGNORE ...`, `INSERT ... ON DUPLICATE KEY UPDATE ...` … -
Began Watching Logic issue in php
Hey everyone, I have been going over this in my head and can't seem to figure out the solution. I've got a database table called brands and in my form … -
Replied To a Post in Keep failing to save data
Hi, the AJAX request seems fine and the server side too. It could be a mistype, I see in the form you set `tittle` with two Ts, are you sure … -
Began Watching Keep failing to save data
Hello, I wonder why I keep failing saving data. I keep getting this message: "please fill the title and content article" - eventhough I already fill them in. article.blade.php <div … -
Gave Reputation to Dani in Ad balance
It says: Ad balance is under maintenance Your Ad balance settings have been reset and your revenue isn't affected. Our engineers are working on it. Please check back again soon. -
Gave Reputation to Dani in Ad balance
OMG I just answered my own question without even realizing it! Apparently I saw the setting six months ago and *still* don't know what it does. OMG I need to … -
Gave Reputation to diafol in How to not include the penalties in Sunday
Here's an example of why you should use a straight calculation rather than a loop (as suggested by others in various forums) - the array function should slow it down … -
Began Watching Finding the "missing link" in a maze solving lab
Hey so I am trying to finish up a lab that I did not finish during a class this summer. The goal is to have the computer navigate an ASCII … -
Gave Reputation to JamesCherrill in Checking For a Solution
Seen that message many times, never seen a solution. -
Replied To a Post in Checking For a Solution
> Seen that message many times, never seen a solution. Seen that message many times, never seen a solution. -
Began Watching Checking For a Solution
I've been a Windows user right from the start and I've seen many problems that resulted in the infamous `checking for a solution to the problem`. I'm curious. Can anyone … -
Replied To a Post in Mysql query to list all most common pairs with their IDs
It should be easy, in practice there are 5 select queries that group the rows by the choosen pairs, in the case below the pair is composed by the columns … -
Gave Reputation to Mati_1 in Mysql query to list all most common pairs with their IDs
Cereal, thanks for your valuable time, and coding. This is more than I expected, actually I didn't expect that much coding. I'll need to learn mysql deeper to understand and … -
Replied To a Post in Mysql query to list all most common pairs with their IDs
As example: -- table definition CREATE TABLE `numbers` ( `id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, `b1` tinyint(3) unsigned DEFAULT NULL, `b2` tinyint(3) unsigned DEFAULT NULL, `b3` tinyint(3) unsigned DEFAULT NULL, … -
Began Watching Mysql query to list all most common pairs with their IDs
I am looking for a mysql query to search and list most common pairs with their IDs and number of occurence. Thanks. -
Replied To a Post in display random images from folder
**@Gi** What do you mean by *multiple texts line per line?* Can you share an example? Also, it would be a lot better if you start your own new thread. -
Began Watching display random images from folder
Hi guys... I want some help of how to call images from a folder.... Its like..v have a folder called images and it has many images in it.....but i need … -
Replied To a Post in FB Messenger supports Markdown
As far as I know, years ago it was allowed and then removed. So that's great, now I can annoy people with bold statements! :D
The End.