199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Priti_P

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

Member Avatar for GliderPilot
0
159
Member Avatar for riahc3

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 …

Member Avatar for rch1231
0
232
Member Avatar for Mr.M

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 …

Member Avatar for Mr.M
0
220
Member Avatar for azegurb

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

Member Avatar for GliderPilot
0
189
Member Avatar for dukumanis

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

Member Avatar for dukumanis
0
363
Member Avatar for thecoolman5

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 …

Member Avatar for thecoolman5
0
118
Member Avatar for Jay_5

Does anyone know how to query a dropdown list to a website from SQL server 2012 in WebMatrix Using PHP? PLEASE HELP!

Member Avatar for miraj.jiwani
0
160
Member Avatar for neeraj_shri
Member Avatar for andreas.petrou.967
Member Avatar for Emma_3

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 …

Member Avatar for Ancient Dragon
0
397
Member Avatar for coBra

Hwo can i create a chat bot? with what programming language expect AIML?

Member Avatar for Momerath
0
660
Member Avatar for mrmonkee

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

Member Avatar for erim.aljerrah
0
20K
Member Avatar for Covinus

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

Member Avatar for Tuyen
0
5K
Member Avatar for shurooqalhodar

hello there i have a homework in c++ and a i dont know how to do can you help me please...

Member Avatar for Kristian_2
0
106
Member Avatar for new_2_java

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 …

Member Avatar for new_2_java
0
2K
Member Avatar for johans22

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 …

Member Avatar for David W
0
222
Member Avatar for pbarks1

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 …

Member Avatar for oussama_1
0
252
Member Avatar for Kent55

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 …

0
133
Member Avatar for syasya

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 …

Member Avatar for Kristian_2
0
14K
Member Avatar for uDevv

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 …

Member Avatar for oussama_1
0
179
Member Avatar for fugio

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

Member Avatar for oussama_1
0
1K
Member Avatar for mattyd

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 …

Member Avatar for JorgeM
0
137
Member Avatar for wasme

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 …

Member Avatar for wasme
0
198
Member Avatar for kal_crazy

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 …

Member Avatar for Moschops
0
223
Member Avatar for BogdanCov

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

Member Avatar for BogdanCov
0
192
Member Avatar for nitin_4

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.

Member Avatar for nitin_4
0
950
Member Avatar for COKEDUDE

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.

Member Avatar for COKEDUDE
0
322
Member Avatar for sussy123

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 …

Member Avatar for sussy123
0
337
Member Avatar for jalferez1

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

Member Avatar for Sifiso21031085
0
212
Member Avatar for nikolaos

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 …

Member Avatar for nikolaos
0
384
Member Avatar for i8kmon

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 …

Member Avatar for Jose_9
0
2K
Member Avatar for Pravesh_1

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 ?

Member Avatar for diafol
0
170
Member Avatar for runningirl

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.

Member Avatar for dereje mulie
0
90
Member Avatar for burhanahmed92

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 …

Member Avatar for diafol
0
556
Member Avatar for agrbinoo.albaker

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.

Member Avatar for jwenting
0
181
Member Avatar for riahc3

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 …

Member Avatar for riahc3
0
265
Member Avatar for dukumanis

**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()) ? …

Member Avatar for dukumanis
0
320
Member Avatar for dip7

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

Member Avatar for szurcsii
0
2K
Member Avatar for klevis.shkembi

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

Member Avatar for David W
0
124
Member Avatar for ray100

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 …

Member Avatar for GliderPilot
0
240
Member Avatar for sussy123

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

Member Avatar for sussy123
0
334
Member Avatar for JOHN-shirley

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 …

Member Avatar for David W
0
232
Member Avatar for Ambrish_1

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

Member Avatar for GliderPilot
0
147
Member Avatar for nitin1

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 …

Member Avatar for Suzie999
0
128
Member Avatar for centenond
Member Avatar for DS9596

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 ?

Member Avatar for Ancient Dragon
0
431
Member Avatar for SW-ENG mohamed

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: * * * * * * * * * * * * * * *

Member Avatar for Kristian_2
0
169
Member Avatar for Satyam_1

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?

Member Avatar for ddanbe
0
98
Member Avatar for veledrom

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 …

Member Avatar for Tcll
0
518
Member Avatar for Man Event

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

Member Avatar for diafol
0
562

The End.