search
  • Sign In
  • Sign Up
Password reset successful

Follow the proiects vou are interested in andi aet the latestnews about them taster

P粉459440991

P粉459440991

Follow
student

Follow 0
fans 0
integral 0
Switch to an iframe through Selenium and python

How would I switch to this iframe in selenium knowing only

2026-01-29 16:22:12Ask
Python
How to make a class property? [duplicate]

In python I can add a method to a class with the @classmethod decorator. Is there a similar decorator to add a property to a class? I can better show what I

2026-01-03 18:22:28Ask
Python
How create an array from the output of an array printed with print_r?

I have an array: $a = array('foo' => 'fooMe'); and I do: print_r($a); which prints: Array ( [foo] => printme ) Is there a function, so when doing: needed_function(' Arra

2025-12-22 13:01:27Ask
PHP
Change color depending on date value

I want to change the color of the entire row based on the duration of the date. For example, if the duration of a date is between 3 and 6, the color is orange; more than 6 must be displayed in red. May I know how I can do this? foreach($ary_listas$k=>$v){$color=xxx;echo"<trstyle=\"color:$color\">";echo"<trbgcolor=\"

2024-04-03 13:11:25Ask
PHP
Solve the problem of operation error when pythonanywhere connects to MySQL database

I have finished my django project and I want to test it on PythonAnywhere, everything was fine until the mysql database connection showed an error to which I have paid subscription. An operation error occurred on /home/ (1044, "Access to database 'almx98' for user 'almx98'@'%' is denied") I have a lot of records that I don't want to lose. pythonanywherevenv settings.py: DATABASES={'default':{'ENGINE':'django.db.ba

2024-03-31 22:43:19Ask
MySQL
After copying website to local, WordPress homepage redirects to duplicate copy

Background: I have multiple websites running on rpi4 using nginx and wordpress. I want to copy one of the sites to my local network for development and testing. I copied the database and WordPress files and set up a config file to listen on port 8082 and backup the database. The original website is secure and uses a https connection certificate, but apparently the local copy does not. When I access the website on network 192.168.0.213:8082 it goes to the homepage but I can't access the login page because every link I try gets redirected

2024-03-31 15:26:18Ask
MySQL
SQL operation to copy rows from one table to another when index changes

Status Description I have two databases, DB1 and DB2, which have the same table Author with fields Author.ID and Author.AuthorName. DB1.Author has AUTO_INCRMENT on the Author.ID field, while DB2.Author does not have AUTO_INCRMENT because it relies on the correctness of the DB1 data. Both tables have a PRIMARY index on Author.ID and a unique index on Author.AuthorName. DB

2024-03-30 14:52:06Ask
MySQL
navigator.share not working properly on Windows 10 Chrome + Edge browsers

I use the tethering API, which according to the caniuse website should be supported on Windows OS (browsers Chrome and Edge). But when I try to use navigator.share({title:'Title'}); I get an empty window with the message. For example, if I use MacOSSafari, it works fine and shows all ways to share content. My question is why on Windows I see empty windows and how to fix it.

2024-03-28 16:45:10Ask
React
ES 2017: async function vs AsyncFunction object vs async function expression

I just read about async functions and found some similar features for ES2017. It's causing a lot of confusion, and I just want to ask: What's the difference between asyncfunction, AsyncFunction (used to create an async function), and an async function expression (which I think is just another async function)? When should you use one format over another? Highlighting everyone's quirks and performances would be greatly appreciated!

2024-03-25 23:44:59Ask
JavaScript
How to permanently change something using $_POST

I'm trying to populate data from one website to another: a.html:<formaction="b.php"method="post"><textareaid="myProjects"name="mp"></textarea><inputid ="submit"type=

2024-03-20 09:50:26Ask
PHP