427 Topics

Member Avatar for
Member Avatar for hninmaung.02

I am a computer hardware technician. And I want to create some programs to use in job. I think it would be more efficient in time. I can use C++ programming language but not perfectly. So I need some helps from you. I want to write some programs with C++ …

Member Avatar for ipswitch
0
317
Member Avatar for OtepTheThird

Hi Php'ers, I'm new to Php. I have some issues INSERTING date to MySQL by PHP. here's my code snippet: //date format $date1 = mysqli_real_escape_string($_POST['j_avail']); $d1 = date('Y-m-d',($date1)); $date2 = mysqli_real_escape_string($_POST['j_expir']); $d2 = date('Y-m-d',($date2)); the query: $sql = "INSERT INTO table (....,j_avail,j_expir) VALUES (....,'$d1','$d2')"; the HTML: <td id="ititle">Availability :</td> <td><input …

Member Avatar for Hilal2009
0
11K
Member Avatar for Ritika_1

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <body> <form name="entry" method='post' action=""> <label>NAME </label> <input type="text" /></br></br> <label>mobile</label> <input type="text" /></br></br> <input type="submit"/> </form> </body> </html> <?php $servername = "localhost"; $username = "root"; $password = ""; $dbname = …

Member Avatar for diafol
0
264
Member Avatar for AntonyRayan

Hi, Good morning. In a table I show a list of names using while loop from 'name' table and textbox for each student to enter the marks. I showed two students , so two textbox fields will be displayed, and after entering marks in two textboxes, I wrote normal insert …

Member Avatar for Lau_1
0
91
Member Avatar for Papa_Don

Hello Group, I'm attempting to create and write to an Excel file. I'm sure I've hit the first of many snags. Hopefully you can point me in the right direction. In this first attempt, I'm getting an error code: "Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX))". The error is attached …

Member Avatar for Papa_Don
0
1K
Member Avatar for kannasekar

Hi I am newbie to PHP. I just wanted to create a registration page for students. In that page I've populated checkboxes for students who wants to enroll more than one classes. Everything got done. But I'm stuck with the final phase of this idea. I just wanted to save …

Member Avatar for kannasekar
0
289
Member Avatar for Victor_10

please how do i insert and retrieve image from sql db in asp.net mvc app and before inserting the image, the user can resize the image before inserting it.

0
101
Member Avatar for davy_yg

Hello, How to fix this error? Array ( [application] => Array ( [nama] => John [sex] => Pria [food] => Array ( [0] => ayam [1] => bebek [2] => nasi ) ) ) Notice: Undefined offset: 3 in C:\xampp\htdocs\latihan2\print4.php on line 44 latihan4.php <html> <br><br> <?php echo "Current php …

Member Avatar for lps
0
151
Member Avatar for alaad

**Hello every body,** I working an application in C# to process a log file that has a size 1 terabytes. I have to read the file row by row and insert each row in the DataBase to search in it, and I use a stored procedure. But I have a …

Member Avatar for Suzie999
0
292
Member Avatar for Wael1988

**I need help i have a page that contain - 2 textbox - Button - Literal Button . i need to insert a website in the first textbox .. " google.com" for example and the second textbox will take a search word... " for example" . when i click on …

Member Avatar for Richard_27
0
116
Member Avatar for Ahmed91za

hello i'm trying to figure out how to write a program in c++ that check when i insert a password and force me to add at least 2 capital letters and 2 numbers in the password (you've seen this before right? when signing up for new account and checks for …

Member Avatar for ravenous
0
281
Member Avatar for vijiglad

[CODE]<?php if(isset($_POST['upload']) && $_FILES['userfile']['size'] > 0) { $fileName = $_FILES['userfile']['name']; $tmpName = $_FILES['userfile']['tmp_name']; $fileSize = $_FILES['userfile']['size']; $fileType = $_FILES['userfile']['type']; $fp = fopen($tmpName, 'r'); $content = fread($fp, filesize($tmpName)); $content = addslashes($content); fclose($fp); if(!get_magic_quotes_gpc()) { $fileName = addslashes($fileName); } include 'config.php'; include 'opendb.php'; $query = "INSERT INTO upload (name, size, type, content …

Member Avatar for diafol
0
705
Member Avatar for Oluflourish

I want to create a table with input fields where student records can be inserted. The name of the students are in the first column of the table fetched from the database with a while loop. The other columns contain fields for inputing the student scores. The challenge I'm facing …

Member Avatar for cereal
0
7K
Member Avatar for bufospro

Hi, I am new in pl/sql programming and I need your help. I would like to make a procedure. To be more specific, I have tables like the folowing TABLE1 ================================================ |COL1 | COL2 | COL3 | COL4 | COL5 | COL6 |COL7| =============================================== |600 | 140 | 2 | …

0
151
Member Avatar for kukuruku

I do have a dataset with id date code 1 02/02/2012 A 1 02/07/2012 B 1 02/21/2012 A 2 02/02/2012 C 2 02/09/2012 A and I have to create a grid with the days in february and insert the code in the coresponding days id 1 2 3 4 5 …

Member Avatar for tinstaafl
0
141
Member Avatar for janicemurby

Hi im attempting to copy a php code and get it to work with a script im trying to create and i have come across the error below can anyone tell me whats going off any help would be much appreicated x You have an error in your SQL syntax; …

Member Avatar for diafol
0
285
Member Avatar for Papa_Don

Group, I need to insert an "If/Then" statement that will require the command to check the string for multiple variables. In other words it needs to say something like this: If Microsoft.VisualBasic.Mid(txtLine, 18, 1) = "C" or "T" or "G" or "W" Then Go do something End If After doing …

Member Avatar for Reverend Jim
0
248
Member Avatar for Riaz_2

dear members, i need help, i have one datagrid and two dataset with two diff. tables, what i want is to insert data into datagrid and save grid data to other tabel in sql server.

Member Avatar for G_Waddell
0
83
Member Avatar for kikunha

the employees must be registered in alphabetical order, but i don't know how........... struct EMP { int empno; char empName[MAX]; char designation[MAX]; struct EMP *next; }; struct EMP* insert(struct EMP *front, int id, char name[], char desg[]) { struct EMP *newnode; newnode = (struct EMP*) malloc(sizeof(struct EMP)); if (newnode == …

Member Avatar for skaa
0
186
Member Avatar for PinoyDev

Good day! I have a running code but I found it not very fast in terms of saving data. Is there a way to make it more faster? I am using msaccess as databse. Set RsTrandet = New ADODB.Recordset Sql = "SELECT TranDetail.AccountNo,cashflowcode, TranDetail.Narration, TranDetail.TranNature, " & _ "TranDetail.TranAmount, Acctmaster.Accountname …

Member Avatar for PinoyDev
0
257
Member Avatar for Santanu.Das

Good morning members. I am now in a small project on request of a friend for his school. This a WPF with VB.Net 2010 project with .accdb database. when I am trying to insert a blank data to the database only entering **Student Name** and **Roll No** and others are …

Member Avatar for Santanu.Das
0
186
Member Avatar for Trabelsi

Hi, I tried to create four dropdown lists as main category and sub categories which depends on the above list I tried to run it on my local host and it works fine but when i want to insert the value of the second list in my database it doesn't …

Member Avatar for diafol
0
3K
Member Avatar for morfious90

in my grid data is represented as Datewise . So I want To Group the data that has same Date. and After Grouping Insert space for different Date. I tried to Achive this by this code But Was faild; Even Now i Have a Checkbox in footer that perform Java …

0
101
Member Avatar for UK-1991

Hello, Worked on PDO everything as far as i see is correct why i am getting an error ) Fatal error: Call to undefined method mysqli::insert_id() $result = "INSERT INTO users(unique_id, firstname, lastname, email, username, encrypted_password, salt, created_at) VALUES('$uuid', '$fname', '$lname', '$email', '$uname', '$encrypted_password', '$salt', NOW())"; $connection->query($result); // check for …

Member Avatar for Gideon_1
0
4K
Member Avatar for cudawella

I want to add data to sql databse using vb.net form And I am new to programming :( I get an error message saying "Incorrect syntax near "deatails") Can somebody tell me the reason the following is the code I'm using Imports System.Data Imports System.Data.SqlClient Public Class Customer_Profile Dim con …

Member Avatar for cudawella
0
8K
Member Avatar for Stefce

i cannot select from two tables but i have the right code here it is: $sql = "INSERT INTO ticket (senderName, receiverName, `Date`, ticketID, match1, match2, match3, match4, match5, match6, match7, match8, match9, match10, match11, match12, match13, match14, match15, match16, tip1, tip2, tip3, tip4, tip5, tip6, tip7, tip8, tip9, tip10, …

Member Avatar for pritaeas
0
204
Member Avatar for Saidivya

Hi, I want to edit the file in the following way My Sample File: 101 273970116 2719674681506161941D094101METABANK WAVECREST 5220Taxi Charger Micro Deposit - Cr A271967468WEBP2P 150616 1273970110000001 6220110000156534057672 0000000007GreenGrP2C386daTest User S 0273970110000001 6220110000156534057672 0000000005ClarkGrP2C386dcTest User S 0273970110000002 82200000020002200002000000000000000000000012A271967468 273970110000001 9000001000001000000020002200002000000000000000000000012 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 In the above file, wherever if …

Member Avatar for JamesCherrill
0
173
Member Avatar for westsiderailway

Hello Everyone, This time i am not asking for any help :-) I am showing anybody ,who wants to know how to add a $ sign into any item/subitem in Listview. Did try to add colour,BUT, there is a BUG in VS. you can code for differant colours in subitems,BUT …

Member Avatar for westsiderailway
0
455
Member Avatar for John_88

I got some issues with Syntax error for my insert statement. I can read access database without any issues. I tried to put in all data as simple string but still not working. Executing in Access works fine though. Please help. cmd.CommandText = "INSERT INTO POSITION (positionID,stockSymbol,stockName,cashTransaction,lastUpdate,initialQuantity,initialValue,currentQuantity,currentValue,positionStatus) VALUES ('2','2','2','2','2','2','2','2','2','2')" cmd.ExecuteNonQuery()

Member Avatar for Begginnerdev
0
331
Member Avatar for 승환

Hello, I made some code using Pydev, python. codes worked well and resulted good. but when I run it on the raspberryPi, errors occurred and it didn't work well. Of course, I couldn't get proper results.. print ser.readline() AttributeError: 'int' object has no attribute 'readline' File "gpste.py", line 103, in …

Member Avatar for snippsat
-1
236

The End.