199,114 Archived Topics
Remove Filter ![]() | |
Hi, How to calculate hours in PHP in when time is coming in Am - PM format ? for example, 1] start time: 9AM end time: 12PM 2] start time: 9PM end time: 1AM 3] start time: 12.30PM end time: 1.25PM any formula please | |
I recently upgraded MySQL 5.5 to 5.6 because I needed some features but now Im not sure which my.cnf 5.6 loads... I try editing the my.cnf in /etc with some lines such as "port=hello" but it still loads and starts correctly. How can I see the exact route of the … | |
Hi Dw I've created some few ASP using Visual Basic .Net and the files when I publish it (exporting from IDE to a folder) are in .aspx format and the problem is that I didn't find the hosting that support this kind of format they support .asp so my question … | |
Hi all, I have one problem on selecting larga data from mysql. I have inserted large data to mysql, and all data was inserted. I see it from phpmyadmin. but when i select that record from database it cannot display whole data.it doesnt show the end part of the data. … | |
**reg.php** <?php require_once('Connections/iventori.php'); ?> <?php $currentPage = $_SERVER["PHP_SELF"]; //$tarikh=gmdate("j F y",time()+(28800)); $maxRows_Recordset2 = 10; $pageNum_Recordset2 = 0; if (isset($_GET['pageNum_Recordset2'])) { $pageNum_Recordset2 = $_GET['pageNum_Recordset2']; } $startRow_Recordset2 = $pageNum_Recordset2 * $maxRows_Recordset2; mysql_select_db($database_pinjaman, $pinjaman); $query_Recordset2 = "SELECT no_inventori,model FROM inventori WHERE peralatan='laptop'"; $query_limit_Recordset2 = sprintf("%s LIMIT %d, %d", $query_Recordset2, $startRow_Recordset2, $maxRows_Recordset2); $Recordset2 = … | |
Hello everybody. After 3 hours of constant searching, I have finally given up on finding a program that recovers a password protected word document. So, I coded my own program that goes through every single letter combination of any desired length. Now, all I need to do is have the … | |
Does anyone know how to query a dropdown list to a website from SQL server 2012 in WebMatrix Using PHP? PLEASE HELP! | |
Line 49 is giving me a C2679 error and I'm not sure how to fix it. Help? #include <iostream> #include <fstream> using std::cout; using std::cin; using std::ifstream; using std::ofstream; const int MAX_SSN = 12; const int MAX_WAGE = 6; const int MAX_HOURS = 3; const char STATUS = 1; int … | |
Hwo can i create a chat bot? with what programming language expect AIML? | |
[code=C++] #include <iostream.h> int main() { char word[32]; int x = 0; cout << "Please enter the word (maximum 32 characters):\n"; cin >> word; cout << "The ASCII for this word is:\n"; while (word[x] != '\0') // While the string isn't at the end... { cout << int(word[x]); // Transform … | |
greetings just started with C/C++. Im not quite comfortable porting from java to c/c++. Pointers are quite hard at start. So pls help me with this problem I want to copy the exact data of a certain pointer to an array of struct. Not just point a pointer from another. … | |
hello there i have a homework in c++ and a i dont know how to do can you help me please... | |
Hi all, I have a J2EE web application that I am integrating with LDAP to implment Password Reset functionality to allow AD users to change their own password. My code works at times, and sometimes it stops working throwing [code]LDAP error code 52, initializing SSL/TLS error.[/code] I don't know why … | |
how to do this in C: if got: myheader.h: #define sz 5 in program if option = 2, sz for marray change to 10. extern unsigned char marray[arrsz]; also, in C file, locations[] be the first one if option = 1 or be locations[] be the second one if the … | |
I'm using a timer which counts up on a button click when i press it, and when it reaches the time i desire, usually around the 45 minute mark i click my other button which stops the timer and the time remains static, so if i click my button to … | |
I am making a game for my computing class and the objective of the game is for the player to move around the grid and collect all of the passengers in the game and deliver them to the base before they run out of power. I have managed almost everything … | |
Hi guys , I would you to help me to solve this problem First , user need to input 10 numbers Ex : 85 11 36 174 112 24 73 52 183 149 Next , user need to input the initial number . This initial number will determine whether the … | |
Hey guys, what am i missing here: Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Using sqlConn As New SqlClient.SqlConnection(sqlConnString) sqlConn.Open() sqlConn.Close() End Using End Sub Public Property ServerName() As String = "myip" Public Property DatabaseName() As String = "mytable" Public Property Login() As String = "sa" Public … | |
hi all, I have a piece of code, I can delete the first value but fails and give notice InvalidArgument=Value of '0' is not valid for 'index'. Parameter name: index Private Sub ComboBox1_KeyDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles ComboBox1.KeyDown If ComboBox1.Items.Count > 0 Then If e.KeyCode = … | |
I am about to begin protecting a yet to be launched site againt injection attacks.(And other possible attacks) I am making use of a large database and must fortify this fully. I am researching this but am here to pose the question: **What should my main concerns be**? Please be … | |
I'm a student who is interested in coding his own Minecraft mods and there by hoping to learn Java Code. I have already taken many courses on line (Youtube) but those courses only take you so far and they DO NOT help you out if, by some chance an error … | |
Creating a text editor. Thread 1 creates a file and listens for user input. Thread 2 checks for spelling mistakes. How do I show spelling mistakes on the console? Should I highlight the text that has the spelling mistake? I tried that but it just highlights the following text in … | |
Hello guys. I have queries, i made a matrix of Buttons and another of Panels and everythings is ok, that works. There is the code: private void button1_Click(object sender, EventArgs e) { for (int i = 0; i < 3; i++) for (int j = 0; j < 3; j++) … | |
i am trying to get data into oracle table from CSV file with SQL *LOADER but not getting the date which is in time zone format I.E. 2013-02-23T10:41:14.000Z in my csv file. i am using DATE as a type for Creation_Date. pls help me to resolve this problem asap. | |
Is there a good way to slow down program output? usleep and nanosleep don't slow it down enough, delay doesn't work, and sleep keeps freezing my program. I am using Linux since I think this makes a difference in what I have to use. | |
PHP, jQuery and definitely not my favourite. My query is this; I purchased a social network script and there are still modifications I need to do that I am stuck with. I would like the users to have the option to upload a photo if they want to, with any … | |
hi. i'm gonna ask about creating a system in database using Java .. i have a problem about making system because they didn't thought us how to create system... | |
I am trying to understand the structure of .class file in Java. Wrote a very simple program : package javautilities; public class Class_File_Structure { public static void main(String[] args) { int a = 10; int b = 20; int c = a + b; } } used the command javap … | |
Hi guys, I'm having problems converting .bmp to .jpg using vb6. :icon_question:The idea is to convert .bmp to .jpg so i can import the saved image to a pdf file for email and/or printing. I downloaded code that's supposed to convert .bmp to .jpg, but I get a compiler error … | |
I got a project to add some changes; but the problem is that the code is 4 years old; it is running on server but not on LOCAL; How I can run old PHP locally ? ![]() | |
Hi, I would like to know the code for this problem: Write a program that asks the user to enter 5 numbers and display the numbers in descending order in iostream. | |
I am making a form which contain two input suggestion fields, 2 datepicker and three select fields. I want to make my form ajax based and show result in div when any field is changed. Just like farecompare.com I almost created a form but form start loading when i click … ![]() | |
Create a BMI calculator that reads the user’s weight in pounds and height in inches (or, if you prefer, the user’s weight in kilograms and height in meters), then calculates and displays the user’s body mass index. | |
We plan to record/read data as fast as 10 ms (that's milliseconds) to a database. Now, this database will be in a factory so there is gonna be a lot of vibrations, temps, etc... Logically the first choice to everyone is a SSD. The problem with the SSD is that … | |
**here is my coding. i want user unable to select data in select box once it is selected in the first select box(hide/remove).i add the javascript. but its not working. any solution?** **peralatan.php** <?php require_once('Connections/iventori.php'); ?> <?php $id = $_GET['idpinjaman']; $colname_Recordset1 = "-1"; if (isset($_GET['idpinjaman'])) { $colname_Recordset1 = (get_magic_quotes_gpc()) ? … | |
Hi Does anyone know how to send sms using c#? do i need to buy a modem which can insert sim card? i have search the web. some do provide source code but it can't seem to work when i copy and paste the code to c#. Thanks | |
can sb help me?İ have to make a project.... 4.power polinoms i have to find the real roots an complex root. anybody any idea for these. Thanks....! | |
Hi,I am a beginner in php. And I am trying to create this php program where a user selects a picture and it displays it! Theare is an input page which is html and an processing page which is php! I seemes to have a problem in the processing page … | |
<div class="message-container" id="message-composer"> <div class="message-form-content"> <div class="message-form-header"> <div class="message-form-user"><img src="{$url}/thumb.php?src={$avatar}&t=a" /></div> {$lng->form_title} <div class="message-form-private"></div> <div class="message-loader" id="post-loader9999999999" style="visibility: hidden"><img src="{$url}/{$theme_url}/images/preloader.gif" /></div> </div> <div class="message-form-inner"> <form id="imageForm" name="form" action="{$url}/requests/post_message.php" method="POST" enctype="multipart/form-data" > <textarea id="post9999999999" class="message-form" placeholder="{$lng->message_form}" name="message"></textarea> </div> <input type="hidden" name="privacy" id="message-privacy" value="{$private_message}" /> <div class="selected-files"><span id="queued-files">0</span> {$lng->files_selected}</div> <div class="message-form-input"><input type="text" … | |
i need to Design and write a program to count the number of occurrences of each of the characters ‘A’ to ‘Z’, ‘a’ to ‘z’ and ‘0’ to ‘9 entered through stdin. i was thinking of defining a struc for char lower char upper and int digit but then how … | |
<?php include 'connect.php';?> <?php include 'functions.php';?> <?php include 'header.php';?> <?php if(isset($_GET['user']) && !empty($_GET['user'])){ $user=$_GET['user']; }else{ $user=$_SESSION['user_id']; } $my_id = $_SESSION['user_id']; $username=getuser($user,'username'); ?> <h3> <?php echo $username; ?> </h3> <?php if($user != $my_id){ $check_frnd_query=mysql_query("select id from frnds where (user_one='$my_id' and user_two='$user') or (user_one='$user' and user_two='$my_id')"); if(mysql_num_rows($check_frnd_query) == 1){ echo "<a href=''>already … | |
Actually, I am working on a project. I want to extract all the reviews from a website which has reviews related to movies, for example. I want to make an automated system which can extract the content of the website and save it to a file. That will be my … | |
pretty much what title say, how i do this with Jquery? | |
What's the difference between: int once; cout << "ok"; and this: char twice; cout << "ok"; Is the output for the first one just ok and the second one ok ok ? | |
Given an integer n, print the following shapes using asterisks and spaces. For example, for n = 5 the following shapes are printed Input: 5 Output: * * * * * * * * * * * * * * * | |
I have a textbox that select system time. and second textbox. In the second textbox i want to add time which is 2 hrs late from first textbox. How can i do it? | |
Hi, I'm about to start learning Python and want to find an IDE. For example something Visual Studio like stuff. WYSIWYG so when I write code, I should have a button somewhere to click and see the output. For free and for Windows and Linux platforms. I downloaded Komodo Edit … | |
$gateway_url = $url."?ORDERID=".$orderid."&SESSIONID=".$sessionid; <iframe src="<?php echo $gateway_url; ?>" style="border:0px #FFFFFF none;" name="manframe" scrolling="no" frameborder="0" marginheight="0px" marginwidth="0px" height="60px" width="468px"></iframe> Please I need help. I get this error Parse error: syntax error, unexpected '<' ![]() |
The End.