2,720 Recommended Topics
Remove Filter | |
Hello Web Developers, Using CSS what is the best way to expand a div to fit it's content? I currently use `overflow: auto` but sometimes the div turns into a scrollable element which disrupts the design. Can this be done in another way like `height: max-content`? Are there any other … | |
Hi all pls help me with the soln to this probelm, the catch is the interface (menu) needs to be Built in C++ as well. any suggestions would be of great help as well. thanks It is a system written using a structured programming language (e.g. C, Turbo C) that … | |
I'm trying to create a trigger that does two things, first take an ip that's in dot notation and run inet_aton on it and put the result in another field. Second, checks a lookup table to identify an ip range that the result of the first action falls into and … | |
I have spent a lot of time on this question, namely, how to programatically use a PHP script to send a PDF document to the printer without launching the Adobe print dialog that results from using arcord32.exe (the adobe reader). PHP has some useful classes for creating PDF's, i.e., the … | |
Hello! I needed a configuration file for a application I'm working on so I first used the built in ini functions in php but it wasn't easy to write the ini files. So I wrote myself a class here to parse a configuration file and write/edit configuration files. I plan … | |
I have a website, got it developed from someone, Need help in redirecting back after login in php. After Login it redirects to Home Page. But i want user to go back where he came from. logincontroller.php public function checklogin(Request $request){ $phone = DB::table('users')->where('contact','=',$request->input('code').$request->input('contact'))->get(); if(count($phone)>0){ $user_data = array( 'email' => … | |
Hi i am getting the following error in a php program i am using PHP Warning: A non-numeric value encountered in xxxxxxx db_connect.php on line 60 // find age if(! function_exists('Age') ) { function Age($birthdate) { return date("Y") - substr(trim($birthdate),-4,4); //// THIS IS THE LINE FOR THE SAID ERROR } … | |
this is a small part of my code where i created the collision but the issue is that it still doesnt work i have used also the distance formula to figure out the collision still nothing showed up; please look at the screenshot and help! Programming python | |
Hi, there! Have a question right here. I've been preparing a project (Periodic table of Elements), so user by clicking on elements can access to another form which showing the element properties. Also, the user can search the element based on name, atomic number, year of discovered, and sign. Don't … | |
Q. A number system is a way to represent numbers. The number system that we use in our day-to-day life is the decimal number system. Decimal number system has base 10 as it uses 10 digits from 0 to 9. In decimal number system, the successive positions to the left … Programming c++ | |
I need help with random generation of circuit, i have no idea on how to write c++ program to generate random circuit. The following specifications must met: 1) Total number of resistors in the circuit is between 3 and 8. 2) The circuit network layout is restricted only to the … | |
hi,I'm trying write a AI calculator program on Python ,can help me how to start write this coding | |
| I'm studying SQL with Oracle 11gR2 and I'm trying to write sql query to solve this problem. Q. Assuming that campaign's budget is divided by the number of ADs included in the campaign, show the campaign that contains the AD that consumes the largest amount of budget and the campaign … |
this is my code that takes from the terminal directory and extension of the file (s) to search ... the problem is in the path .... print for example /home/ciccio/prova.txt .... instead of ...... / home / ciccio / dir / subdir / prova.txt This is because I only pass … Programming c | |
My code has a query that looks like: INSERT INTO table VALUES (...) ON DUPLICATE KEY UPDATE id = LAST_INSERT_ID(id), ... id is a PRIMARY KEY. My question is that I can't for anything remember why I have id = LAST_INSERT_ID(id). I wrote it years ago and it's not commented. … | |
Hello! I am creating a turtle code where I want to create multiple circles on a map. However, my turtle is currently coninuing to go around in a circle over and over again, and so the other circles cannot happen. Any help or advice will be greatly appreciated! Thanks! This … | |
Hello, Any ever build web using AMP? What is it really? Is it similar like bootstrap? How to do it? Is it difficult or taking a long time to implement? Thanks in advance. | |
I created custom post type with custom taxonomy. Its working, but i am facing one issue is http://example.com/taxonomy-slug/%term%/post-title this is my custom post type url exg: http://example.com/products/cars/bmw-z4 Here products -> taxonomy-slug cars -> taxonomy-term bmw-z4 -> product title custom-post-type slug -> products/%custom_taxonomy% this link is working, but also its working … | |
How can I make a like button, that show who has liked my post, on a social network? Programming php | |
Hi Everyone, I have copied a .htaccess file from one website and I am trying to use the same htaccess file on a different website. here is the copy of the htaccess file I have copied from one site to another... <IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^(\d+)/([^/]+)/?$ index.php?uiid=$1&title=$2 [L] </IfModule> … | |
Hi all, Before I begin this question, and before you tell me we dont do homework, I would like to state that I have read a few articles, I have tried a couple of functions (=REPLACE, =SUBSTITUTE) but i'm not able to get the reuslts require, I'm new to Excel … | |
Helloi want to put a play/pause button on a html5 video tag. Any suggestions? | |
hello everyone iam kinda new with pygame. I wanted to create a one mans game which is similar to shoot and killl. i was able to move around my play but the issue is that whenever i press the K_space nothing is coming out and also i would like when … | |
Hi, I am wonder if Flutter is the right choice for Mobile begginer. I have a lot of web experience but I would like to create simple mobile app on API that already exist. I try with Ionic 3 but it was not working corecly with GraphQL API. Thank you … | |
Hi all I Have a CalendarvProject with a 3rd party Calendar control. the application was working fine untill I upgraded the Calendar Control . When I opened the solution two references were no longer availabe, so I had errors. One of the references was ExtremeCalenderControl the other AxXtremeCalendarControl. I was … | |
which code can i use to make enemy shoot at the player non stop and when the bullet catches the player the health decreases any kind of help i appreciate - pygame | |
Hi, This is my first time using vectors. I'm trying to print some data that is stored in a structure vector but whenever the code gets to printing the data which is in double loop it crashes. I have located the error but i am ensure how to resolve it. … | |
I'm using the following code to verify that an email address has a valid DNS (otherwise, we consider the email invalid). $domain = substr($email, strrpos($email, '@') + 1); $isValid = checkdnsrr($domain, 'MX') || checkdnsrr($domain, 'A'); However, today it just flagged nearly all @gmail.com and @yahoo.com emails as invalid. Obviously the … | |
I found this great article on [User Interfaces](https://datagubbe.se/decusab/) that I wanted to share. Two points I wanted to add 1. Just because it's old doesn't mean it's bad. 1. Just because it's new doesn't mean it's better. And can we please all decide that light grey text on a white … Programming user-interface | |
I want to be able to update my database in order to change some dynamic content on my site which contains movie reviews. First Step I need to be able to select which movie review I want to update by selecting it from a dropdown menu which is dynamically populated … |
The End.