2,720 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for Stefce

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 …

Member Avatar for Stefce
0
48
Member Avatar for charlie_20

> 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 …

Member Avatar for Skillz_1
0
42
Member Avatar for sankar2000

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
Member Avatar for Skillz_1
0
37
Member Avatar for Stefce

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`

Member Avatar for Dani
1
404
Member Avatar for Aqib_5
Member Avatar for Reverend Jim
1
120
Member Avatar for imhim45

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++
Member Avatar for Deathstr0k3
0
3K
Member Avatar for Ingmar_1

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' …

Programming c c#
Member Avatar for rproffitt
0
198
Member Avatar for Stefce

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 …

Member Avatar for Dani
0
144
Member Avatar for lawalishaq204
Member Avatar for Reverend Jim
0
100
Member Avatar for codingin

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 …

Member Avatar for Alisha_8
1
165
Member Avatar for ivan3510

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!

Member Avatar for SAbadshah
0
12K
Member Avatar for sachitha_1

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 …

Member Avatar for JamesCherrill
0
315
Member Avatar for riccardo.farabi

Help me! I have this number 1726.16723958045672098127. How Can I register in my db MySql. Why is the number truncated?

Member Avatar for riccardo.farabi
0
164
Member Avatar for Sania111

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

Member Avatar for Dani
0
145
Member Avatar for Nazmus

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.

Member Avatar for jwenting
0
134
Member Avatar for charlie_20

> 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 …

Member Avatar for wwwalker
0
119
Member Avatar for chuckc

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?

Member Avatar for rproffitt
0
107
Member Avatar for cyrennex

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 …

Member Avatar for JamesCherrill
0
96
Member Avatar for rjDeveloper

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 …

Member Avatar for rjDeveloper
0
80
Member Avatar for Justin_44

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 = …

Member Avatar for JamesCherrill
0
75
Member Avatar for Chandra1611

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, …

Member Avatar for jwenting
0
74
Member Avatar for John_165

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" /> …

0
45
Member Avatar for priyamtheone

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. …

Member Avatar for rproffitt
0
1K
Member Avatar for Saboor880

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 …

Member Avatar for JamesCherrill
0
285
Member Avatar for ___150

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
Member Avatar for Reverend Jim
0
143
Member Avatar for ___150

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 …

Programming mysql php sql
Member Avatar for gce517
0
137
Member Avatar for ___150

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]). …

Programming mysql php
Member Avatar for ___150
0
114
Member Avatar for mohamed_191
Member Avatar for ___150

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
Member Avatar for gce517
0
62
Member Avatar for Virat_4

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 …

Member Avatar for gce517
0
49

The End.