2,720 Recommended Topics
Remove Filter | |
I want to insert the returned values into an array and after to display random string I have this code by it doesn't return back a random value Inside the vid1,vid2,vid3 columsn there is Video Name text that pointing to the video in my File Manager folder $sql = "SELECT … | |
> Hi, this should be simple but I'm having trouble and need help, please. I just want to update the "expiry" value in the "ctltbl" and relocate depending on the value. The update doesn't happen and it goes to sysnav even when expiry is 0. "ctltbl" is 1 row. <?php … | |
I am trying to make a simple HTTP/HTTPS service discovery in C. For this app i use `pthread` as there is no other better cross platform options for this, but i get some strange errors. **PROBLEM1 : thread_submit has do be dynamically modified at the run time. Right now it … Programming c | |
I have a domain that looks like this when i visit certain link `https://domain.com/model-profile/index.php?name=abbychampion` the site is written in php but i dont want to show this part `index.php?name=` because for SEO purposes and better human reading. Is this possible to hide ? so the link looks like this `https://domain.com/model-profile/abbychampion` | |
What is the problem with my mouse on Windows 10? I would appreciate any help in resolving this problem | |
Hello..... Where I am wrong in this program. I am getting declaration syntax error. #include<iostream.h> #include<conio.h> int factorial(int) int main() {clrscr(); int n,r,nr,fn,fr,fnr; int ncr; cout<<"/n Enter n and r = "; cin>>n>>r; fn=factorial(n); fr=factorial(r); nr=n-r; fnr=factorial(nr); ncr=fn/(fr*fnr); cout<<"/n nCr ="<<n<<" C "<<r<<" = "<<ncr<<endl; getch(); return 0; } Thanx Programming c++ | |
When I try to install webview2 package from nuget I get this output: Retrieving package 'Microsoft.Web.WebView2 1.0.1418.22' from 'nuget.org'. Adding package 'Microsoft.Web.WebView2.1.0.1418.22' to folder 'C:\Users\pc\Desktop\VS 2015 projects\dbtest\packages' Added package 'Microsoft.Web.WebView2.1.0.1418.22' to folder 'C:\Users\pc\Desktop\VS 2015 projects\dbtest\packages' Install failed. Rolling back... Package 'Microsoft.Web.WebView2.1.0.1418.22' does not exist in project 'webview2' Removing package 'Microsoft.Web.WebView2.1.0.1418.22' … | |
iI was searching the online "free/cheap" generators and i found out that they are not so cheap... They advertise the PRO plan for just $3 and when i came to the checkout page it was $1800 So is there other free tool for this job or how do i manually … | |
Please can I use my normal computer camera to scan and decode a Qr code? | |
I am new to Laravel. I am now able to register users, log them in. But after login, I don't want to display register and login pages. I want to display logout link. This is easy for me with core php. I want something similar like the one below. <?php … | |
Hi! I want to convert numbers to letters, in this way: A=0, B=1, C=2... Z=25, AA=26,AB=27 etc (something like the names of columns in MS Excel). How to do that? Thanks a lot! | |
Create three classes the Calculation class, Conversion class and Menu Class. The Conversion class should have the following methods. double KMToMiles(double distance) double MilesToKM(double distance) double FeetToMetres(double distance) double MetresToFeet(double distance) double KgToPounds(double weight) double PoundsToKg(double weight) double CelciusToFahrenheit(double temperature) double FahrenheightToCelcius(double temperature) The Calculation class should have the following … | |
Help me! I have this number 1726.16723958045672098127. How Can I register in my db MySql. Why is the number truncated? | |
When trying to index the Codeingniter website on Google search console, it says "No: 'noindex' detected in 'robots' meta tag". please help resolve this issue | |
will you kindly tell me how to make Instagram bots, Instagram bot followers? What is the step-by-step approach of it with programming? I want to make it by myself. | |
> Hi, I'm having trouble coding the if/else statement. No matter what value the expiry has, line 17 is echoed. If it is =>1 I want to sysnav.html. <?php $link = mysqli_connect("localhost", "root", "", "homedb"); // Check connection if($link === false){ die("ERROR: Could not connect. " . mysqli_connect_error()); } //MySqli … | |
What is best way to get one row from a mysql table (with many columns) so I can use several several fields from that row for calculations in a C program? After executing a succesful SELECT command using mysql_query, is there an alternative to using mysql_store_result? | |
Create three classes the Calculation class, Conversion class and Menu Class. The Conversion class should have the following methods. double KMToMiles(double distance) double MilesToKM(double distance) double FeetToMetres(double distance) double MetresToFeet(double distance) double KgToPounds(double weight) double PoundsToKg(double weight) double CelciusToFahrenheit(double temperature) double FahrenheightToCelcius(double temperature) The Calculation class should have the following … | |
Hello, I have a typical login page in vb.net (Asp.net). It checks a sql table for a user/pw. If admin1 user they get directed to admin page. if not, they go to basic users page. I put this below code in my web.config page in the testlogin folder. (which I … | |
I am not quite sure why I am getting this error package tile; import java.awt.Graphics2D; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import javax.imageio.ImageIO; import main.GamePanel; import main.UtilityTool; public class TileManager { GamePanel gp; public Tile[] tile; public int mapTileNum[][]; public TileManager(GamePanel gp) { this.gp = gp; tile = … | |
Full-stack technology refers to the entire depth of a computer system application, and full-stack web developers are those who are capable of developing both the front end and the back end of web development. All of the features that are visible to the client, or the viewer of the site, … | |
Why header background not changing to red and font style not changing to coiny? **index.js** import Head from 'next/head' import Image from 'next/image' export default function Home() { return ( <div className="min-h-screen h-full w-full flex flex-col bg-brand-light overflow-hidden"> <Head> <title>Create Next App</title> <meta name="description" content="Generated by create next app" /> … | |
I have an Angular application that I am trying to debug in VS Code. When I write code in a particular typescript file and put a breakpoint on a method or statement, it is bound. But when I try to debug through **Run > Start Debugging**, the breakpoint becomes unbound. … | |
Hi ! I have developed a Java application using Derby Database. The application jar file is successfully running on Windows but on Mac it gives and exception as following: ClassNotFoundException: org.apache.derby.jdbc.EmbeddedDriver I am pasting code for database Connection which I wrote. String dbdriver = "org.apache.derby.jdbc.EmbeddedDriver"; Class.forName(dbdriver).newInstance(); con = DriverManager.getConnection("jdbc:derby:C:\\4DSOFTECHDB; create … | |
| Is this code correct? Or should I keep using } else { for (errors) until the end? if ($y = $link->prepare('SELECT id, password FROM usuarios WHERE username = ?')){ $y->bind_param('s', $_POST['username']); $y->execute(); $y->store_result(); if ($y->num_rows > 0){ echo 'Username exists, please choose another!'; } else { if ($y = $link->prepare('SELECT … Programming php |
| Hi,This code creates a friendly link on user mentions in comments... However, it is not case sensitive and vice versa. Examples; @test works @Test doesn't work The regular expression takes both values. But the query is not catching. I figured it would be a case-sensitive collation on the database. But … |
| Hi,This code creates a friendly link on user mentions in comments... However, it is not case sensitive and vice versa. **Examples;** **@test** works **@Test** doesn't work What do I do? text = "@test @Test"; $pattern = "/\@(\w+)/"; preg_match_all($pattern,$text,$matches); if($matches){ $sql = "SELECT * FROM users WHERE username IN ('" .implode("','",$matches[1]). … |
| Hi, Is it possible to convert the first letter after @ to uppercase using preg_replace? I tried; preg_replace('/\@(\w+)/', 'ucfirst("$1")', $str) But nothing changed when I sent it... 😞 Already like that... It worked, but I don't know how to add the @ before the name that will be converted. $str … Programming php |
HTML: <div class="container"> <div class="header">header</div> <div class="leftsidebar">leftsidebar</div> <div class="main-top">main top</div> <div class="rightsidebar">right side bar</div> <div class="bottom-left">bottom left</div> <div class="bottom-right">bottom right</div> <div class="footer">footer</div> </div> CSS: .container { display: grid; grid-template-columns: 1fr 2fr 1fr; grid-template-rows: 1fr 1fr 1fr; grid-template-areas: "header header header header" "leftsidebar main-top main-top rightsidebar" "leftsidebar bottom-left bottom-right rightsidebar" "footer … |
The End.