199,114 Archived Topics
Remove Filter ![]() | |
package de.extrema.java; import java.util.Scanner; public class Pogramm { public static void main(String arrg[]) { try (Scanner scanner = new Scanner(System.in)) { double a , b , r , A , h; int number2; int number; System.out.println("Körper: "); System.out.println("Deine Wahl: "); number = scanner.nextInt(); number2 = scanner.nextInt(); switch(number) { case 1:{ … | |
I am trying to add Jquery validation to the comments page in WordPress. Everything works except it won't post the fields. May someone help? FUNCTIONS PAGE function comment_validation_init() { if(is_single() && comments_open() ) { ?> <script type="text/javascript"> jQuery(document).ready(function() { jQuery('#commentform').bootstrapValidator({ message: 'This value is not valid', feedbackIcons: { valid: 'glyphicon … | |
I'm writing a VERY simple clock to run on an old tablet using Android Studio - it displays the current time and day (I'm retired and regularly forget what day it is). I want to add the first calendar event for the current day to the display so it goes … | |
hi, In my android studio build gradle is failed i dont know how so then i check the log and i saw this error Error:Could not find method compile() for arguments [com.android.support:recyclerview-v7:25.3.1] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. Please install the Android Support Repository from the Android SDK Manager. Open Android … | |
Spent a day trying to gen any info on this but didn't find anything so maybe someone here could help me out . here's the html code and a css style. Maybe it's not that difficult in the end but I have never done this and php is not my … | |
 I am working on a page where I currently have a menu of 12 projects. On hover a project is underlined and on click a project expands vertically displaying a description. I have used a table to layout this menu. I wish to create a function where the menu … | |
Hello, I'm quite nub in web development, so be gentle please. If this place is wrong for such problems point me to a more appropriate resource please. To became more familiar with web-programming I found good (as I thought) area for self-improvement. One of my friends owns web project. This … | |
I don't know whether this questions fits here or not, but if it doesn't let me know. I'm very much beginner in programming, and I've started it in vb.net for a project I've to do for my college work. To add the data of a user from a form, when … | |
Really hoping someone can help me out or point me in the right direction. This is my first ever post in a coding forum so I apologize in advance if I’m breaking any forum rules. I already have a bunch of php code sorted from modifying web resources. I need … | |
I don't know whether this question fits here or not, but if it doesn't let me know. I'm a much much beginner in programming, and I've started it in vb.net for a project I've to do for my college work. To add the data of a user in the database … | |
$query = "SELECT COUNT (*) AS spo FROM NAME_TABEL WHERE BEFORE_OURCE_OBAT = '1' AND ROOM = 'ORCHID' AND MONTH (DATE) = '$ month' "; $row = sqlsrv_query($conn, $query); $data = sqlsrv_fetch_array($row); $spo = $data['spo']; ?> why an error appears after the program is run, please help ? Warning: sqlsrv_fetch_array() expects … | |
Hello, how can I insert a single image on the top of a XSL document? I tried this code below: <xsl:stylesheet version="1.0" xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:user="urn:my-scripts" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" > <xsl:template match="/"> <Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:html="http://www.w3.org/TR/REC-html40"> <!-- Styles added.... --> <Styles> <Style ss:ID="Default" ss:Name="Normal"> <Alignment ss:Horizontal="Left" ss:Vertical="Bottom"/> <Borders/> … | |
Hello. I am using a lightbox form with a drop-down list. When I choose a value from the dropdown list, I want it to be assigned to a php variable which I will then use to update the total price of the form (the total price is already defined in … | |
<?php include 'connect.php'; $output = ''; if(isset($_POST["export"])) { $query = "SELECT * FROM order_details"; $result = mysqli_query($conn, $query); if(mysqli_num_rows($result) > 0) { $output .= ' <table class="table" bordered="1"> <tr> <th>MAIN BILLING NO</th> <th>ORDER TYPE</th> <th>ORDER NO</th> <th>DATE/TIME</th> <th>PORTING</th> <th>SWITCH PREFIX</th> <th>LCP</th> <th>LCPCUPID</th> <th>RH</th> <th>RH CUPID</th> <th>PORT DATE</th> <th>PORT TIME</th> <th>ASSOCIATED … | |
I am using magento for sending mail with condition, My code: <?php class Gta_MerchantNotification_Model_Observer { public function merchantremainder($Observer) { $order = $Observer->getEvent()->getOrder(); $order_details = $order->getAllVisibleItems(); $itemData = array(); foreach ($order_details as $list) { $incrementid = $order->getIncrementId(); $sku = $list->getsku(); $name = $list->getName(); $price = $list->getPrice(); $Qty = $list->getQtyOrdered(); $extra = … | |
i need to enhance the existing code to add on the user locked if the user failed 3 times... even after they enter the username & password, the system should track whether the user have been tried to login before... once it have been try for three times, the user … | |
This is a partial of the code I have on my script. I have tried to make the backgrounds change color depending on the values and can't get it to read the arrays correct. Placing the conditions outside the while or inside the while returns same results when printed. If … | |
I am trying to write a C++ solution for a problem which is written C, I have learnt C++ very long ago(may be 15 years), and the way C++ is evolved now is kind of taking long to understand and not easy as 'C' to develop a solution. Would request … | |
Looking to create an asset for the Unity Asset store in C#. I don't want to give away the source code, yet I want users to be able to purchase + download my work and use it in their projects. I'm not sure what this is called or how to … | |
Hi This is Praveen, I am working since 8years as a FrontEnd Developer with strong Knowledge in below mentioned Skills HTML 4 HTML 5 CSS CSS 3 JavaScript jQuery Bootstrap 3 and Bootstrap 4 Angular 2 to 8 React PWA (Angular and React) Require JS KnockOutJS NodeJS Magento 2 FrontEnd | |
Now every web developer need a local web development envoiurment but i don't know how to set up Full-Stack ASP.NET Web Developmental Environment. any one can here to explain me. | |
<?php include 'ProcessDAO.php'; $dest=""; if(isset($_POST['login'])){ session_start(); // i get an error in this line !! $_SESSION['status']='online'; $_SESSION['breadcrumb']='home'; $pro = new ProcessDAO(); $dest = $pro->LogIn($_POST['username'],$_POST['password']); }else{ session_start(); $dest ="Location: ../index.php"; session_destroy(); } header($dest); ?> guyss can you help me out because in my Login.PHP file when i login i always get … | |
 What to do to correct Syntax error, (line 1012,file "Code") for writing app script Programming javascript | |
I'm an absolute beginner. I needed help in creating a "loop"(idk if that's what it would be called). Basically I want to know how I can make a menu where I can select an option and then go back to the previous menu and creating kind of a loop somehow, … Programming python | |
MARIE program to calculate some basic statistics on a list of positive numbers. The program will ask users to input the numbers one by one. Assume that all numbers will be in the range 1 to 1000. To terminate the data entry, the user will input any negative number. Once … Programming assembly | |
hi everyone. can you help me to check why this error occur and how to fix it? when i want to insert the data, this error is coming out and data not insert into database. <?php define('DB_SERVER','localhost'); define('DB_USER','root'); define('DB_PASS' ,'root123'); define('DB_NAME', 'ems'); $con = mysqli_connect(DB_SERVER,DB_USER,DB_PASS,DB_NAME); // Check connection if (mysqli_connect_errno()) … | |
Hi, I am creating a form in asp.net mvc @Html.EditorFor(model => model.Password, new { htmlAttributes = new { @class = "form-control" } }) How to set input type=password in above code. I have tried password for but it makes changes to web design Programming asp.net web-design | |
Hi. I was wondering if anyone could help me with checking for a valid move in Othello. I was thinking about hard=coding everything but that takes too long. this is what i have so far: 1. Check which direction is valid (adjacent piece is different from piece being placed) 2. … | |
Hello i want to show html5 video with content over it . Like background image. The whole div html5 video must be of 400px height <div style="height: 400px"> <video controls poster="{{item.media_pic}}"> <source src="{{item.image_path}}" type="video/webm" /> <source src="{{item.image_path}}" type="video/mp4"> <source src="{{item.image_path}}" type="video/ogg"> Your browser does not support HTML5 video. </video> <ion-row> … | |
Hi everyone, I'm new to parallel programming, and my project is the two-dimensional matrix vector multiplication using mpi in C programming language. I have this multiplication function, but I don't know exactly how to run it with mpi. Can you help me, please? I write these commands, $ mpicc -g … | |
I am attempting to compile C code which accesses the[ libredwg library](https://www.gnu.org/software/libredwg/) through a header file: *#include "dwg.h"* When I attempt to compile my code using *gcc -o ldwg load_dwg.c*, I get the following error: *undefined reference to `dwg_read_file'*. However, if I load the file in Kdevelop, I get no … Programming c | |
I hav a syntax error in While <?php $query = "SELECT * FROM users"; $sql = mysqli_query($link, "SELECT * FROM users img_file WHERE id='$id' "); $_SESSION['id'] = $id; $result=mysqli_query($link, "SELECT * FROM `textArea` WHERE id='$id'"); // запрос на выборку $result = mysqli_query($link, $query) or die(mysqli_error($link)); function get_text($id) { $singles = … Programming php | |
I'm looking to change the source of an image by using onclick to have the image source change more than once. The expected outcome is basically to have the user click one image, then it will change to image 1, once that is clicked it will chance to image 2, … | |
can you help me add a write and read function to the program below #include <iostream> #include <conio.h> #include <windows.h> #include <stdio.h> #include <fstream> using namespace std; struct daerah { char kel[50]; char kec[50]; char kota[50]; }; struct data { int nomor; char nama[50]; char tinggi[20]; char status[20]; char pekerjaan[20]; … | |
#include<iostream> #include<string> using namespace std; class stack { string item; int top; public: stack() { top=-1; } void push(char ch) { top++; item[top]=ch; } char pop() { char ele; if(isempty()) { printf("\n stack overflow!!"); return '@'; } ele=item[top]; top--; return ele; } char peep() { return(item[top]); } int isempty() { … ![]() | |
Hi i am trying to view my blog or post in detail description at that time my browser title shows %page_title%, But it has to show my blog or post title in that place. please help me to solve this issue. My permalink settings as below /%category%/%postname%/ Note: i have … | |
I am creating a web slider (responsive), but I need it to have a wave transition, what would be my best option? Thanks. | |
![]() | I am in a pickle in trying to implement a turn based game where two players join the game and is assigned a role randomly where they alternate roles after each successive round, the problem with that for me personally lies in trying to figure out how to make it … |
1/Write a TeachArithmeticFrame class that teaches children arithmetic. The frame uses a JLabel for a problem and a JTextField for the user answer. When the user presses the Enter key (while the JTextField object is active) or clicks the OK button, display a message stating whether the user’s answer is … | |
Hi, I am developing a webpage using servlets.The main page, with simple sing-up and sign-in form along with forgot password. So when i try to reset my password password-reset link, when i try copy paste the link from fire-fox to chrome browser empty page is getting displayed. But I want … | |
I have a lecture is there anyone who can help me to change the source coding below to OOP C ++ I / O which uses #include <fstream> so that when the file is written can be saved and when the program is closed then we can still write the … | |
Hi, while I was looking at a program in my textbook, i encountered this *program to reverse a string using recursive procedure*- #include <stdio.h> int main(void) { void rev(); printf("Enter a line of text:\n"); rev(); } void rev() { char c[20]; if((c==getchar())!='\n') rev(); putchar(c); } I couldn't quite understand the … Programming c | |
I let users earn money through my site, and I want to record their daily earnings. I want to record their earnings starting from 00:01am I don't know how to do this using PHP and MySQL. I know how to create, update, etc database. But I am streuggling with PHP … | |
Help me , Search data with dataGuidViewer and print that searching result (vb.Net). I am try verious Code thous are found youtube, but it not work...... Please Help me VB.Net (2010, 2012,2013,) | |
i dont know if im suppose to post it here or in the C# form, but since im using it in a ASP.NET projet ... i'll write it here. how can i send an SMS from a PC to a phone, and in details please, explaining EVERY step thanks you. … | |
I am trying to set up a json object.array to retrieve the data from this mysql query. the data required is posted from java and that seems to work fine, but I get parsing errors. I tried testing the php file and I get the "Parse error: syntax error, unexpected … | |
 Please help how to code this on vb.net with SQL server database Programming vb.net |
The End.