199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Iggy54945

After around 20 years of not working with PHP\MySQL, it appears I am in need of a little assistance (as I have forgotten most of what I knew) to point me in the proper direction. What I have is a basic search field that automatically pulls information from MySQL once …

Member Avatar for Iggy54945
0
228
Member Avatar for anisha.silva

HI, I have a spec for a golf tournament report. in it it says that to generate a report for less than 200 players the processing time of the report should be within 15 minutes. how can i test this in junt the uril for the SRS is below (section …

Member Avatar for anisha.silva
0
65
Member Avatar for anisha.silva
Member Avatar for anisha.silva
0
88
Member Avatar for iamthesgt

I am using Awk inside a bash shell script to search header files for c++ functions so I can add these functions to another file. All of the functions I need will have form: type getName() or type setName(type value) Right now I get all the functions listed in between …

Member Avatar for iamthesgt
0
454
Member Avatar for branding4you

I want to create a php file that reads HTML file that is uplaoded daily to a folder on my web server, when ever I open the page it needs to read the HTML file and post only data i want to use, i have created some reader but it …

Member Avatar for branding4you
0
362
Member Avatar for adsegzy

Hello there am working on a website where members can add event. Once the member select the event type, the form for that event will appear. below are the pages i did. I also included jquery-1.7.2.min.js. Once i select any event on the **add_event.php** it brings the right form as …

Member Avatar for fobos
0
180
Member Avatar for TwijoO

hi, eventually this program should be able to automatically upload an image to a youtube page. (origionally the idea was to add a gamertag alongside the channel name so people could see current gamerscore etc...) I have coded a lot of it and one part which i thought to be …

Member Avatar for TwijoO
0
191
Member Avatar for drumichael87

Hi all, I am having trouble figuring out a good way to go about looping my database results. Currently, my code looks something like the following (abbreviated for simplicity): $db_results = $wpdb->get_results("SELECT * FROM table"); echo '<table><thead><th>Name</th><th>Number</th></thead>'; echo '<tbody>'; foreach ($db_results as $result) { echo '<tr>'; echo '<td>' .$result->name. '</td>'; …

Member Avatar for drumichael87
0
109
Member Avatar for mangel.murti

if i have a given date so how can i find in what date sun and sat comming ... ? i store 0 for sat and 6 for sun in database.

Member Avatar for diafol
0
188
Member Avatar for bibiki

I believe the title of my thread explains what I am trying to do... I have a .class file, I need to look at the code has generated the .class. is this possible, and if yes, can you tell me how?

Member Avatar for stultuske
0
231
Member Avatar for davefitze

hi guys working on a little basic forum for collage but i keep getting this error kinda driving me crazy i know its something small but i cant spot it. any help would be great [B]Notice: Undefined index: topic_id in /users/2014/daf1/public_html/cs1109/lab18/showit.php on line 14 Warning: mysql_num_rows(): supplied argument is not …

Member Avatar for Sibzsolutions
0
282
Member Avatar for PF2G

Hi, I'm using a javascript messagebox, but i'm having trouble with the delete: <html> <head> <title>Adminstração</title> <!----------------------------------------------> <script type="text/JavaScript"> function confirmDelete() { var agree=confirm("Tem a certeza que quer remover?"); if (agree) { return true; <?PHP $del="DELETE FROM content_lang WHERE id_content = '".$row_lang['id_content']."'"; $q_del=mysql_query ($del, $connect); ?> } else { return …

0
83
Member Avatar for riahc3

Hey How do I correctly validate that a email is in the correct format? I tried using the Apache Commons Validator library but, since Im using a web service, it seems not to want to fix it up and use it. I comply the code, make the aar, put it …

Member Avatar for riahc3
0
178
Member Avatar for Cross213

I have an array of objects but when i traverse throught it to display its contents, it gives an error, but only if it is not full. Any suggestions? Below is the code snippet: for (int k = 0; k < array.length; k++) { msg += String.format(array[k].toString()); } JOptionPane.showMessageDialog(null, msg);

Member Avatar for Cross213
0
306
Member Avatar for 330xi

Hi! I want to add a picture to my opened word file. But not from file. I have some picture on a DC in my program and want it directly to Word document. Does anybode know how?

Member Avatar for 330xi
0
170
Member Avatar for fabzster

Hi I have a MYSQL DB hosted on a Win 2003 server on my LAN and a Mysql DB on a dedicated (linux) server at our ISP. I would like to dump a few tables to a .sql file and ftp it to the server and then import the .sql …

Member Avatar for fabzster
0
185
Member Avatar for Aparna9019

I need to add dynamic timestamp with the attachment file test.dat as (test_currentDateTime.dat) sample code which I need to modify: <node name="testEmail" type="emailoutput" subject="this is a test mail with an attachment" xsl="&XSLPATH;test.xsl" outputType="text/plain" > <attachment type="text/plain" name="test.dat"/> </node> How can this be done in the attachment tag that is inside …

Member Avatar for Mike Askew
0
1K
Member Avatar for cooh

http://pastebin.com/esxAR3wY This is my source code here...It is simply too big and ugly to fit in here, so I used this site.. If anyone can paste the code into his compiler and help me I will be grateful. Everything works except for the "addEntry" function (and I am guessing "resizeArrayCopy" …

Member Avatar for cooh
0
136
Member Avatar for inesi1

I need help to do a research for this theme : Creating connections with databases in mobile applications .

Member Avatar for peter_budo
0
58
Member Avatar for sid78669

I am trying to find the point of intersection of a circle and a line through its center. I want to put an arrow on the point actually, to make a directed graph. After some calculations, I found that the math that would go in is, ![formula](/attachments/large/1/formula.JPG "formula") The figure …

Member Avatar for JamesCherrill
0
2K
Member Avatar for sara5454

svp que fait ce programme ? merci d'avance 1.load A 2.ADD B 3.CMP 20 4.JB etq1 5.load A 6.SUB 1 7.JMP etq2 8.etq1 load A 9.Add 5 10.etq2 STORE A

Member Avatar for sara5454
0
162
Member Avatar for Albert Pinto

Hi People, need some help Actually I wanna block an IP address from a certain country... I don't want them to access my home page which is index.php.... so I've included a file "country-redirect.php" this file is placed at beginning of my index.php.... index.php code is like <?php require('country-redirect.php'); ?> …

Member Avatar for Albert Pinto
0
556
Member Avatar for celop

hello..i'm really appreciate of what both of u did to help me..but this is my real problem. i'm trying to build fca tool and until today i only can browse the data, load the data n show it on space. i try to build a context table based on the …

Member Avatar for celop
0
91
Member Avatar for aecha

Hello everyone! I know this is very numb question. But can anyone please help me on seeking the error? I already search the error for the past few days but still cannot find where it is wrong. Anyway there is no error come when its debug but the data not …

Member Avatar for code739
0
75
Member Avatar for |-|x

Is anyone familiar with PDFlib? I'm having trouble geting it to run. Running a WAMP server, PHP 5.2.16, followed the instructions to install the appropriate version of the DSO, the PHP monitor recognises that the extension is loaded, but when I try to use it I just get undefined function …

Member Avatar for |-|x
0
154
Member Avatar for silvercats
Member Avatar for silvercats

more registers or something? I know about the advantages and disadvantages of 32 and 64bit bit what is the big difference between processors?

Member Avatar for silvercats
0
189
Member Avatar for silvercats

Under what architectures do assembly programs run? I mean,what processors can run the same assembly program? program written for p4 processor,on a core 2 duo ,core i3 .and core i 3 on a p4,p2 etc...... program written for an Intel processor on a AMD processor..... and i7 and a core …

Member Avatar for silvercats
0
222
Member Avatar for newbie26

hi. can anyone help me on how to create a spider web graph in vb6. is it possible? my client wants a spider web graph not the usual bar/line/pie chart. thanks in advance.

Member Avatar for newbie26
0
117
Member Avatar for C0ding

Hello everyone, I've been trying to generate a way to catch or suppress errors in my web browser control. actually what i really need in my browser is that if i run my project and the page cannot be display, to generate an error handler so instead of showing "The …

Member Avatar for C0ding
0
280
Member Avatar for BilalAKhan

Hi, I am trying to get the data from the database into the text boxes and then update the data if something is changed in the database. I have successfully tried data binding with the text boxes and the data is displayed in the text boxes based on the session. …

Member Avatar for BilalAKhan
0
161
Member Avatar for sara5454

hi everyone i create a simple program on dev++ but always a message error exist ps: im a debutante :/ plz help ! #include<stdio.h> #include <iostream> int main () {int a,b; __asm__ __volatile__ ("load a \n\t" "cmp b \n\t" "jb etq1 \n\t" "jmp etq2 \n\t" "etq1 load b \n\t" "etq2 …

Member Avatar for mike_2000_17
0
548
Member Avatar for KeithMon

I'm getting an error when I run this. I'm sure it's simple. Any thoughts? Code: mysql_query("INSERT INTO leads `facility` = '{$facility}' , `leadAdded` = '{$today}' , `updatedBy` = '{$username}' , `manager` = '{$username}' , `name` = '{$_POST['name']}' , etc... ") or die(mysql_error()); Error: "You have an error in your SQL …

Member Avatar for diafol
0
233
Member Avatar for hirenpatel53

Hi all i got one project to build web site for engineering shope i have done with all the things but they are looking for online functionality for that they want that any one can purchase product online by creadit card as we regularly perchase from flipkart,Ebay and all sites …

Member Avatar for |-|x
0
157
Member Avatar for hwoarang69

hi, iam not sure if this is sql question or not. but i just download "sql developer". from oracle website. and i need help setting it up. i want to connection to my localhost (myphpadmin). how can i find these things. connection name: no idea username: using myphpadmin username which …

Member Avatar for |-|x
0
369
Member Avatar for venkat arun

I am a recent immigrant from c++ to Java. I have this problem: I have an array of objects (not yet initialized using the new operator), that I need to pass to a member function of another class for storage. In c++ I would have made a pointer to the …

Member Avatar for sbp94
0
165
Member Avatar for silent.saqi

using System; using System.Configuration; using System.Web; using System.IO; using System.Data; using System.Data.SqlClient; public class ShowImage : IHttpHandler { public void ProcessRequest(HttpContext context) { Int32 empno; if (context.Request.QueryString["id"] != null) empno = Convert.ToInt32(context.Request.QueryString["id"]); else throw new ArgumentException("No parameter specified"); context.Response.ContentType = "image/jpeg"; Stream strm = ShowEmpImage(empno); byte[] buffer = new byte[4096]; …

Member Avatar for skatamatic
0
157
Member Avatar for rossco89

I have read plenty articles on Bool methods that have problems returning a value and i have been having the same problem except I cant see anyway around mine. public bool GetAdministrators(string userName, string password) { SqlConnection conn = new SqlConnection("Data Source=(local); database=ManagementNAV; Integrated Security=True"); SqlCommand cmd = new SqlCommand("GetAdministrators", …

Member Avatar for skatamatic
0
208
Member Avatar for Japri

Hello all, nice to know this helpfull forum, I'm a totally newbie and I need advice, I want to import a CSV to a table in sql, but the problem is the CSV has very strange format. ================================== Telephone,=,'88213839 Name,=,John Doe Currency,=,USD Date,Information,Source,Total,,Balance '30/04,ATM 28/04 ,'0000,000000000500000.00,DB,1.171892966E7 '30/04,DEBIT 28/04 LAWSON,'0000,000000000092100.00,DB,1.162682966E7 '30/04,DEBIT …

Member Avatar for diafol
0
110
Member Avatar for efth

I'm very new to all of this, here's the code. f="/home/name/Desktop/text.txt" fil = open (f,"r") data = fil.read() i=int(data) fil.close() import os os.remove(f) i=i+1 inp=file(f,'w') inp.write(i) inp.close() I'm pretty much trying to make the value in the text file increase by one each time the script is run. I realize …

Member Avatar for TrustyTony
0
171
Member Avatar for Cerb21

So, I am working on this site and for some reason I can not figure this out. I keep getting the error Warning: Cannot modify header information - headers already sent by (output started at /home/site/public_html/header.php:42) in /home/site/public_html/index.php on line 68 I have checked everything and maybe I need new …

Member Avatar for zoreli
0
435
Member Avatar for maximchris

Hello, NOTE: I dont know in witch forum to post this, I'm sorry if i post it in the wrong one. I had to make a project a few months back for my school, that required me to create 3 3D objects (cube, sphere and so on) and apply some …

Member Avatar for myk45
0
241
Member Avatar for rohit61288

Hello everyone I am trying to create a MS word file using c programming can anyone tell me how to change the font size using c programming and one more thing i a creating this file through a embedded machine in pendrive.

Member Avatar for myk45
0
146
Member Avatar for Daddy-Dope

Okay, so I'm getting a MySQL Error that says "Column count doesn't match value count at row 1". I'm not sure what the problem is. Here is the code <?php if( !preg_match( "/index.php/i", $_SERVER['PHP_SELF'] ) ) { die(); } if( $_GET['id'] ) { $id = $core->clean( $_GET['id'] ); $query = …

Member Avatar for bonsoirval
0
331
Member Avatar for gedas

Hey, i was wondering whether anyone ever came accross developing something that would allow to have a software installed on the vm. What i mean by that is that i would want to install ie (internet explorer)/or any other windows application whithin my java app. so it could be opened …

Member Avatar for NormR1
0
96
Member Avatar for erikdeboy

I'm trying to create a poker dice game. There are comp player and user player. Each player will roll dice 5 times. Basically, it likes create 2 random array, with 5 elements in each array. I'm trying to compare the outcome of these 2 arrays. For example; 2 pairs beat …

Member Avatar for thines01
0
703
Member Avatar for princeofpersiaa

Hi guys, I have a php crop issue, I am using Jcrop (JQUERY plugin) to allow users crop their user profile picture jquery doesnt have an issue (is easy to select) but when processing image crop in PHP, image crop doesnt work and all i get is an empty page …

Member Avatar for princeofpersiaa
0
359
Member Avatar for new_2_java

Hi all, I have a java program when I compile it, it compiles fine, without any error or warning. However, when I run it, I get the following warnings. [code] bash-2.03$ javac CountSessions.java bash-2.03$ java CountSessions Writing data to file... Data written to file !! log4j:WARN No such property [maxFileSize] …

Member Avatar for NormR1
0
4K
Member Avatar for GeekTool
Member Avatar for sandz24

Does anyone know the equivalent version of cvCreateImage in c++. I tried googling it but no luck. Thanks!!!

Member Avatar for Ancient Dragon
0
129

The End.