64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for msz900

Dear user I write a file upload code in php, the code work's fine but it will upload the file 50kb to 60kb, when i try to upload more then 50kb to 60 kb file then the page stuck on loading. The problem is why it is not uploading more …

Member Avatar for imti321
0
403
Member Avatar for Simon180

Am crating abit of code to save and add a menuitem to main menu but am having a small problem when reloading the saved lobby.dat file when its saved it should be save just click the lobby name is below **Support Group Lobby=56** but it keeps thinking the space is …

Member Avatar for SalmiSoft
0
155
Member Avatar for joshmac

I was wondering if the following was possible with a query? If so, can someone give me an example query? I want to print a list of products, group them by color, and then have the totals at the end of each group. | Color | Product | ------------------- | …

Member Avatar for joshmac
0
133
Member Avatar for Rahul47

Hello people, please have a look at following IMAGE. ![new](/attachments/small/4/new.jpg "align-left") What I Wish to achieve is extract the select item and display it into a messagebox or say do other actions. I want to extract that particular selected ITEM ..say E101. Thanks.

Member Avatar for tinstaafl
-1
4K
Member Avatar for JOSheaIV

So hopefully the title makes a little sense, but I'll explain a little more. Currently I am developing a program at work that is designed to query a SQL database for results. The code is meant to be stand alone, a single .exe that can be run on any machine. …

Member Avatar for JOSheaIV
0
344
Member Avatar for bkimbriel

Hey everyone. First I'd like to say this is a great community and seeing as I've finally started attempting to learn PHP I decided I'd finally sign up for all of the current and future help I will need haha. Okay well I'm currently setting up a website for my …

Member Avatar for Simon_4
0
6K
Member Avatar for Muhammad Nadeem_1

A.o.e any one can hlp me i want to image store in data base but i have problem mentiond here : Undefined index: pics in C:\wamp\www\newform\image_store.php on line 7 what i do

Member Avatar for broj1
0
264
Member Avatar for nadiam

Hi. this us what Im doing and its not working: test.php $(rclone).on("click", function(){ var event_id = $("#event").val(); var euser_id = $("#userid").val(); $.ajax({ type: "POST", url: "InputNames.php", data: "event_id="+event_id+"&euser_id="+euser_id, success: function(data){ var form = $("#input-names").html(); $(".form-inputs").html(form); } }); }); InputName.php: <?php $id = $_POST['event_id']; $userid = $_POST['euser_id']; require "connection.php"; $get = …

Member Avatar for nadiam
0
2K
Member Avatar for uchejava

Please I tried comparing values in two arrays using in_array(). $friends[] contains all ids of my friends in the friends table while $membersarray[] contains ids of people in a team. What i'am trying to do here using in_array() is that I want only friends ids who are not part of …

Member Avatar for uchejava
0
168
Member Avatar for Adami

Hi, I wrote the following program: #include <stdio.h> #include <stdlib.h> #define TRUE = 1; #define FALSE = 0; static int *arr; static int size=0; void createSet() { arr= (int *)malloc(sizeof(int)); size=0; }/*createSet function*/ void putInSet(int num) { int *temp; size++; temp=(int *)realloc(arr,size*sizeof(int)); if(temp!=NULL) { arr=temp; } else { printf("Insufficient amount …

Member Avatar for Maritimo
0
1K
Member Avatar for Tensigh

I'm trying to write code in VBA in Excel that opens a desginated directory, finds all xls and xlsx files and then converts them to csv. I found two sets of code that do one or the other perfectly, but I can't make it work. I'm sure I'm just missing …

Member Avatar for Stuugie
0
5K
Member Avatar for iamthwee

This is driving me mad, I'm sure I'm missing something. I save the £ sign into the database and it displays fine when I check the database, but when I print this out in a pdf it displays as £. I can't use modify headers because I'm previewing a pdf …

Member Avatar for iamthwee
0
126
Member Avatar for mangel.murti

i have build a project where wordpress themes can be purchased. Build with Codeigniter how to implement multiple coupons for a single Theme / Item for % discount. i need some help regarding database design.

Member Avatar for mangel.murti
0
181
Member Avatar for YakuzaJevin

I want to arrange numbers from highes to lowest ( you will input the numbers first e.g 1,2,3,4,5 ) and it will be 5,4,3,2,1 Thanks!

Member Avatar for Mark Anthony_2
0
696
Member Avatar for Roger_2

thank you all of you for the help i really appreciate it. i have a hopefully quick question, is this the correct syntax for adding an integer to a buffer: " add dword [userScore], 6 " or do i have to convert the userScore buffer to integer then add and …

Member Avatar for Roger_2
0
244
Member Avatar for mappersas

I could use some assistance My final project in a python class is to calculate the distance between 2 lat/long points. My code is really just managing the input & output portions, while using existing code (properly credited) in a function to do the actual calculations. I've got it working …

Member Avatar for Peter_21
0
6K
Member Avatar for UK-1991

Hello, I have some problem with php functions can anyone help me out with this <?php $db_host ="localhost"; $db_user ="my_cms"; $db_pass = "secret"; $db_name = "mypractice"; $connection = mysqli_connect($db_host, $db_user, $db_pass, $db_name); if(mysqli_connect_errno()) { die("SQL Connection Failed: " . mysqli_connect_error() . "(" . mysqli_connect_errno() . ")" ); } ?> did'nt …

Member Avatar for Zagga
0
324
Member Avatar for Farid_1

please help!!!!! I wrote this program to calculate addtition and subtraction of two large numbers (maximum 100 digit) it won't work for minus numbers :( i know it have problems but i couldn't fix them,please help me for fixing this :) #include <stdio.h> #include <stdlib.h> int main() { int i,d=0,la,lb,max,ia,ib,ix,iy; …

Member Avatar for Farid_1
0
213
Member Avatar for Danny159

Hi, I have a field that a user add's a curreny value to, on keyup I fire a Javascript function that checks the following but its not working at all... What I want it to do is... user add's say 10 On keyup the Javascript needs to add .00 to …

Member Avatar for Danny159
0
190
Member Avatar for chrisjordinsky

Hello friends, I am trying to work on a project that dynamically allocates memory when needed for a string array. I just keep getting memory faults when reallocating memory but can't find any thourough tutorials on realloc besides the man page. So basically, I malloc 201 character spaces in an …

Member Avatar for chrisjordinsky
0
189
Member Avatar for shahera.arafat

hi everyone :) I want a new questions on Hash functions and graphs >>like what process can we do on it !! any code ideas ? because I have an exam (data structure) so I want to study new ideas thanks ^_^

Member Avatar for shahera.arafat
0
114
Member Avatar for antonymatoi

hello, plz assist in this: Assuming i have a sourcecode for example for developing a stock management system, how do i edit it to suite my problem?

Member Avatar for Reverend Jim
0
66
Member Avatar for Danny159

Hey, I am working on a project that requires dynamic sub domains... for example user1.mydomain.com and user2.mydomain.com etc... But I am having some trouble... I have setup the wildcard A record and all of that is working fine. The problem is my application uses ajax and because the domain is …

Member Avatar for Danny159
0
215
Member Avatar for n0tS0av3rag3

I am doing this assignment in my Java class. I have never done any programming in my past so I am a complete beginner. I have typed up a program that will ask for employee name, the hourly rate, and the number of hours worked. The program needs to run …

Member Avatar for JamesCherrill
0
139
Member Avatar for wballinger

I've been trying out the HTML5 <canvas> element, and cannot get it to work. here is my code: [CODE] <html> <head> <script type="text/javascript" > var canvas=document.getElementById("canvas"); var context=canvas.getContext('2d') context.fillRect(100,100,300,300); </script> </head> <body> <canvas width="500" height="500" id="canvas" /> </body> </html> [/CODE] The canvas is there (I confirmed this), but nothing is …

Member Avatar for Shridip
0
3K
Member Avatar for Cort3z

Hi. I am trying to make a script that will print out numbers in rapid succession after working a little with them. The script needs to write them in the console one after another (next line). The code works just fine when I do not utilize multi threading, but when …

Member Avatar for Puneet_1
0
16K
Member Avatar for Danny159

Hi, I have the following htaccess file: <IfModule mod_rewrite.c> Options +FollowSymLinks RewriteEngine on RewriteBase / RewriteCond %{REQUEST_FILENAME} -f [NC,OR] RewriteCond %{REQUEST_FILENAME} -d [NC] RewriteRule .* - [L] DirectoryIndex /index.php RewriteRule ^([^/.]*)$ $1/ [R] RewriteRule ^([^/.]*)/$ /$1.php [QSA] </IfModule> This works fine, if I put for example /legal/ it loads up …

Member Avatar for Danny159
0
169
Member Avatar for nitos

please help how do i echo the images to display since its only displaying the code on the database table e.g image10.jpg. on line 60 thanx <?php $page_title="Products"; // to prevent undefined index notice $action = isset($_GET['action']) ? $_GET['action'] : ""; $product_id = isset($_GET['product_id']) ? $_GET['product_id'] : "1"; $name = …

Member Avatar for nitos
0
305
Member Avatar for kayleigh0411

My program compiles with no errors, but when I try to use it, the results do not show up and there is an error. Please help!!! import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.text.*; public class RetailSales extends JFrame { // declarations Color black = new Color(0, 0, 0); Color …

Member Avatar for kayleigh0411
0
334
Member Avatar for Programmer592

Hi. I'm making a program somewhat like Siri except through text boxes not voice command. On my form FormMain I have two text boxes named TextBoxInput and TextBoxConversation. I also have two buttons named ButtonStart and ButtonEnd. Here is my entire code for FormMain so far: Public Class FormMain Dim …

Member Avatar for Programmer592
0
186
Member Avatar for Weejin

I need to write a program like this Sample output: Please enter a number(Less than 8 digits): 1203021 There are 2 zero (0) in this number I dont know how to write a formula to count the 0 inside number please teach me.

Member Avatar for Rafiii
0
152
Member Avatar for ram_10

Hello, When I'm using the 'open' function how should I specifiy the directory ? I'm getting an IOError and bit of confused! I'm not sure if my script is wrong or I've problems with specifying the directory. input = open('New.txt', 'r') text = input.read() wordlist = text.split() wordfreq = [wordlist.count(p) …

Member Avatar for vegaseat
0
459
Member Avatar for sesaso

Can someone please! Fix this for me? My program : loop reads 10 double numbers after that inserts them into an array list. after that print MAx and MIn And AVg THIS MY PROGRAM WHY I CAN NOT MAKE COMPILE Fix this for me : import java.util.Scanner; import java.util.ArrayList; import …

Member Avatar for sesaso
0
125
Member Avatar for Papa_Don

Hello everyone! Is there a way in VBA to find a file name that has an unknown portion to it? Let me explain: Our computer system is UNIX based. It is creating a text file for us that uses the date, the hour, minutes and seconds that the file was …

Member Avatar for Minimalist
0
330
Member Avatar for Simon180

Am using GetProgrammDir to get my application folder and it works but I need more control over it were I can select folders inside or outside of my program say there 2 folders Data and Items data will store exe and items will store information txt but the data will …

Member Avatar for SalmiSoft
0
198
Member Avatar for bradly.spicer

I have this snippet below, I'm trying to query if a cast is online or not (That part works when I take it outside the while loop) but then in the while loop run through until I find an online cast and then keep it there. If I remove the …

Member Avatar for bradly.spicer
0
220
Member Avatar for Xiao_1

if corrct this code it will come of the list in the datagridview in VB from access this my code: Private Sub ComboBoxadm_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBoxadm.SelectedIndexChanged Dim conn As New System.Data.OleDb.OleDbConnection() conn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\temp\Database1.accdb" If conn.State = ConnectionState.Open Then conn.Close() conn.Open() Dim sql …

Member Avatar for Reverend Jim
0
149
Member Avatar for Alxprog

There are a lot of examples demonstrating how to connect to ms sql database from windows form application using Visual Studio Professional (right-clicking on the project name -> "Add" ->"new item" -> "LocalDatabase" -> give a name with .sdf extension to the newly created database - > and so on …

Member Avatar for deceptikon
0
312
Member Avatar for joshmac

I am trying to do a check to see if a student meets the prerequisite before they can register for a course section. CourseSecID = 27 (ID of the course section the student wants to register for.) What I am doing is querying the student's acad cred records to see …

Member Avatar for joshmac
0
235
Member Avatar for ram_10

Hello, I'm trying to script a Caesar cipher with the key, I find this exercise too much for me at this moment! I just can't come up with an algorith to get this done. Please advise. key = {'a':'n', 'b':'o', 'c':'p', 'd':'q', 'e':'r', 'f':'s', 'g':'t', 'h':'u', 'i':'v', 'j':'w', 'k':'x', 'l':'y', …

Member Avatar for vegaseat
0
251
Member Avatar for iamsupreeth

python function that creates automatically a dropdown year selector (that is a "select" element poulated with all years starting from current and dating back to a given year)? I don't need day/month (otherwise i'd have used the datepicker), i just need the year! Thanks in advance

Member Avatar for vegaseat
0
164
Member Avatar for qashnfhkh

don't work this: bg_fon2 = PhotoImage(file='2.GIF') from tkinter import* import random root = Tk() root.geometry("896x626") canv = Canvas(root, height = 626, width = 896) bg_fon = PhotoImage(file='fon.GIF') canv.create_image(0,0,image=bg_fon,anchor='nw') class Fish: image = 0 coor = 0 direct = 0 real_img = 0 obj = 0 canv = 0 def fiish1(): …

Member Avatar for sneekula
0
139
Member Avatar for Amit_25

hii I have a list having m1 m2 m3........ m922 and in each there are a1 a2 a3 a4 are there like m1=a1 a2 a3 a4 a5 a6 m2=a1 a2 a3 a4 a5 a6 m3=a1 a3 a5 a7 a8 a2 etc and i want this as m1=a1 a2 a3 a4 …

Member Avatar for sneekula
0
178
Member Avatar for EdJones

Is this considered good form when writing cross-platform code? #! /usr/bin/env python3 And how about this? if __name__ == "__main__": main() I've reviewed some recent sample snippets and not all of them use the shebang and the conditional main call, so I wasn't sure whether that is still considered good …

Member Avatar for sneekula
0
147
Member Avatar for lucyfersdaddy

Hi, I am a newby and am surprised I made it this far. My program is a TicTacToe program. I am having troubles with checking the validity of each move. I have tried multiple things, but could not figure it out. If someone could help point me in the right …

Member Avatar for lucyfersdaddy
0
914
Member Avatar for Florin_1

This is what I have so far :/ #include <iostream> using namespace std; int main() { int i; for (i = 1; i <= 12; i++) { cout << i; if ((i = 4) && (i = 9)){ cout << " \n"; } else { cout << endl; } } …

Member Avatar for Florin_1
0
330
Member Avatar for reminem

Hello everyone I can export texblock.text and label.text to word. But there is no styling found back in the word document For example the background-color won't export. I use this as a conformation document. How can you also export the style of the form and can you export a table …

Member Avatar for reminem
0
238
Member Avatar for Junior999

i'm making table reservations scheduling table with PHP and Mysql. i'm stuck on one thing, dont know how to check every cell i must print,which will indicate a reservation, with every column,which will indicate hours. Can anyone give me an idea ? i will get my reservation info from database …

Member Avatar for Masterblank
0
430
Member Avatar for Borderline

Good evening I've been working on creating a basic admin panel in order to allow a friend to edit the content of her own website. The data is stored in a database, and the plan is to allow her to edit/add content to the database. I've previously used this successfully …

Member Avatar for Masterblank
0
250
Member Avatar for Ben_8

Hi guys Just started to get into Python so this site seems liek a gtreat resource for hints and tips. Nice to meet you all. Ben

Member Avatar for Gribouillis
1
95

The End.