2,619 Recommended Topics
Remove Filter | |
Hello, I wrote this code in order to obtain a series of monthly weather observations at Helsinki for a period from 1960 to 2020 and then I saved the data to a local file using package pickle. I used the data available from the API provided by the Finnish Meteorological … | |
<?php if (isset($_POST['submit'])) { session_start(); include('connection.php'); $email = mysqli_real_escape_string($conn, $_POST['email']); $password = mysqli_real_escape_string($conn, $_POST['password']); $hash_password = md5($password); $sql = "SELECT * FROM users WHERE email = '$email' AND password = '$hash_password' "; $result = mysqli_query($conn, $sql); $row = mysqli_fetch_array($result); if ($row['email'] == $email && $row['password'] == $hash_password) { echo '<script … | |
Hello, could anyone help me how can I make so the user could only enter numbers between 0...9 and letters a...f (A...F) on input? I have a code like this already #MAKE_EXE# DSEG SEGMENT 'DATA' MSG DB 'Enter double digit hex number: $' DSEG ENDS SSEG SEGMENT STACK 'STACK' DW … Programming assembly | |
Hello, I am not sure if this is the correct place to post this... I would like your general opinions on this: When testing a software with different functionalities, is it a good thing to state the number of test case to be prepared initially for each functions? Like we … | |
Does anyone now if google requires parameters on .htaccess file for php function calls? I used to have a different .htaccess file and my google sign in used to work. Now i changed it and it doesnt. htaccess RewriteEngine On #RewriteBase /api/ Header add Access-Control-Allow-Headers "origin, x-requested-with, content-type" Header add … | |
[B][COLOR="Red"]Simple C++ program for age calculation[/COLOR][/B] [COLOR="Green"][B]NB:Excuse me experts,,this is only for beginners.........[/B][/COLOR] Instructions//// 1.Copy the code 2.paste it in a text file 3.save the text file as agecalc.cpp and select file type all with in the text file. 4.paste this file inside your bin folder where the Turbo C … | |
Is it necessary to have computer or laptop to test the code? Did you ever seen anyone who can be perfect or master in coding whit cell phone? | |
## Introduction ## All TextView objects have a special attribute called `textAppearance`. This attribute can be used to set the style for text content in a TextView without affecting other styling attributes on the same TextView object. In this tutorial, we will learn how to apply `textAppearance` to TextView objects. … | |
## Introduction ## With OLED screens becoming more and more common on smartphones, adapting a dark theme to your app can provide a boost to battery life. In this tutorial, we will learn how to add a dark theme to your native Android app. ## Goals ## At the end … | |
Hi everyone, I just want to ask if how i am able to make an if else statement inside a switch case. i want to execute something wherein the user may be able to choose again if he/she would like to do another transaction. for example, the user choose Yes … Programming c++ java javascript python visual-basic | |
I'm trying to create buttons with a for, but I want every button to have a different name, so I can later differenciate them and use them easily. As you can see on the screenshot, python doesn't accept the names for the button. There's probably an easy way to do … Programming python | |
21 year old female here. Just wondering if anyone can tell me their experiences please and hopefully provide some tips. I'm currently in cc right now and never heard of this major until now. I heard it is challenging, but I'm up for it! Coding definitely sounds interesting (and it … | |
Can someone help me with this as I am having problems. My problem is that after i click button 2 for placing the order the data from the checkout form should go to the database but it does not work, there is no sign of that. I don't know if … Programming vb.net | |
Parse error: syntax error, unexpected variable "$sql" in C:\xampp\htdocs\ProjectIT12\LR\controller.php on line 38 <?php include_once ("connection.php"); // connection created succesfullly session_start(); //store all erros $errors=[]; //When sign up button clicked if(isset($_POST['signup'])){ $fname = mysqli_real_escape_string($conn , $_POST['fname']); $mname = mysqli_real_escape_string($conn , $_POST['mname']); $lname = mysqli_real_escape_string($conn , $_POST['lname']); $street = mysqli_real_escape_string($conn , $_POST['street']); … | |
hi all, newbie wanna ask again... i have build gui with VB6, my gui that i designed has a big size, fullscreen when i run, so in normal mode (not running) if i want to see the form i have to scroll it, if i want to save the design … | |
## Introduction ## Complex Views can use up RAM and reduce the performance of your Android apps. If a View is rarely used, you should consider delaying its rendering until it is needed by your app. One way to do that is to use the ViewStub View. ViewStub is very … | |
Good day everyone. My assignment is to create a point of sale system for a bakery shop. I have done all the coding up to the part when i have to do a 'order summary details' means i have to put all the user inputs into the order summary details. … | |
Hi all. I have this code and it is correct. Dim logDayName As String = WeekdayName(Weekday(LogDateTextBox.Text)) Dim logMonthName As String = MonthName(Month(LogDateTextBox.Text)) The following code is an error on the Day function. Dim logMonthDay As Integer = Day(LogDateTextBox.Text) Please offer assistance. Thank you, Shane. Programming vb.net | |
I am struggling with this program trying to change it from structured C++ code to an object oriented code. if anyone could offer help that would be great. the code is: // C++ program to implement the program // that illustrates Online shopping #include <string> #include <iostream> #include <map> using … | |
<?php if (count($_FILES) > 0) { if (is_uploaded_file($_FILES['userImage']['tmp_name'])) { $imgData = addslashes(file_get_contents($_FILES['userImage']['tmp_name'])); $imageProperties = getimageSize($_FILES['userImage']['tmp_name']); $sql = "INSERT INTO qr(user_id,file_name ,QrCode) VALUES('".$_SESSION['id']."','{$imageProperties['mime']}', '{$imgData}')"; $current_id = mysqli_query($db, $sql) or die("<b>Error:</b> Problem on Image Insert<br/>" . mysqli_error($db)); if (isset($current_id)) { header("Location: preview.php"); } } } ?> <form name="frmImage" enctype="multipart/form-data" action="" method="post" class="frmImageUpload"> … | |
Is there anyone who have tried the Laravel framework, is it worth starting to study it? | |
I have a program that displays a list of vaccines and for each vaccine listed in the table, you can edit them. When I click on edit for the specified vaccine, one of the values allowed to be modified is the number of doses required, which can be changed from … | |
Do you think blockchain will replace the traditional database | |
I'm trying to modify a web script. Currently, upon uploading a video, in the upload Form, among other things, the uploader chooses a sub-category and enters tags and then submits/uploads. I'd like the sub-category that is selected, to also be searchable as a keyword. Presently, the 'videos' table has a … Programming php | |
#include <stdio.h> #include <math.h> int main() float i, x; double fact=0, sum=0; printf("Enter value of x as the power of e: "); scanf("%f", &x); printf("Enter n as the number of terms: "); scanf("%d",&i); for (i = 0; i < 99999; i++) { sum = 1 + x; fact = fact … Programming c | |
Can you please tell me what these lines of code do? $sub_category = 0; if (!empty($_POST['sub_category_id'])) { $is_found = $db->where('type',PT_Secure($_POST['category_id']))->where('lang_key',PT_Secure($_POST['sub_category_id']))->getValue(T_LANGS,'COUNT(*)'); if ($is_found > 0) { $sub_category = PT_Secure($_POST['sub_category_id']); } } I look forward to any assistance Programming php | |
Need Help i got this assignment to create a program to insert element in array, delete element in array and view elements in array by using Menu Driven Programs plz help me | |
I'm developing a calendar application The top level window is a frame containing a panel that displays the calendar grid and a panel that contains a "Close" button. I'm unable to obtain the size of the calendar grid panel. When I add code to get the panel size, the result … | |
Hi DW. I'm trying to display a popup over an input box, but the issue is that some websites that I want to also display on have div class name that contains many classes in it which result it a div class name to have spaces in it which is … | |
I have to create a program that asks a person to enter a 2 digit number (10-99) and convert it into words. I've been working on this for days and I still don't see what I'm doing wrong! PLEASE HELP ME!!! EXAMPLE: 27 twenty-seven [CODE]#include <iostream> using namespace std; int … |
The End.