199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for masterjiraya

POSTBACK.php [CODE=PHP] <?php $q=$_GET['q']; $words=explode(' ',$q); //$words2 = "'%".implode("%','%",$words)."%'"; //echo $words2; $con = mysql_connect('localhost', 'root', '')or die('Could not connect: ' . mysql_error()); mysql_select_db("ajax_demo", $con)or die('cannot connect'); //$sql = 'SELECT * FROM `ajax_demo_table` WHERE `FirstName` LIKE CONVERT(_utf8 '%'.$q.'%' USING latin1) COLLATE latin1_swedish_ci OR `LastName` LIKE CONVERT(_utf8 '%'.$q.'%' USING latin1) COLLATE latin1_swedish_ci'; …

Member Avatar for masterjiraya
0
101
Member Avatar for DarkBerzerk

I'm Editing little PHP and SQL script so if the code in the db is [CODE]`crystals` int(11) NOT NULL default '0',[/CODE] and in the php script is [CODE]$_POST['crystals']=(int) $_POST['crystals'];[/CODE] and other code in db is [CODE] `class` enum('Knight','Archer') NOT NULL default 'Knight',[/CODE] What the php script will be (in the …

Member Avatar for vibhaJ
0
97
Member Avatar for PixelatedKarma

G'd evening, So I built this script and figured that I had it all figured out, styled it with css only to find out something is messed up. The php script is set so that it retrieves a value from a mySQL database and if it is 0 the site …

Member Avatar for vibhaJ
0
158
Member Avatar for shamusk

Hi everyone, I am new to java enterprise edition and used Eclipse previously. I need to integrate apache maven with my eclipse. I saw a few tutorials like the one [url]http://www.eclipse.org/m2e/[/url] , and i tried to follow it but i could find the other option in the import dialogue. I …

Member Avatar for peter_budo
0
276
Member Avatar for George91340

Hello Everyone! So I have an assignment to create a program to read in data from text file. I managed to get that part, but I'm having trouble with two areas. 1. Having the names read from the display read into a 10x3 format (10 rows, 3 colums/seats.) Expected output: …

Member Avatar for raptr_dflo
0
372
Member Avatar for ebanbury

Hi I'm trying to practise with this form, which will eventually be part of a much larger form. What I'm trying to do is to validate my reg_agent field in which a user can choose whether they are an agent or private. The validation is supposed to say that when …

Member Avatar for ebanbury
0
145
Member Avatar for pbcomput

Hello I want to convert the date formate from Wed Jun 15 2011 00:00:00 GMT 0530 (India Standard Time) to 06/06/2011 I have done something like this [CODE] $chkdt = "Wed Jun 15 2011 00:00:00 GMT 0530 (India Standard Time)"; $month = substr($chkdt,4,3); if($month == 'Jan') $month = '01'; else …

Member Avatar for almostbob
0
4K
Member Avatar for mark22

I have almost given up but thought I would post here in a last attempt. I am pretty new to jquery and I am having an issue. I need to use the same carousel with three different json queries on the same page. I tried putting them in divs with …

0
114
Member Avatar for patraghost

Its kind of complicated.well iam trying to create a search form,where the output will be like : Found (a number) results: Name: Surname: [View Button1] Name: Surname: [View Button2] and so on,depented on the results of query. i am calling a fun on pageload.in that i create the buttons,and i …

Member Avatar for masterjiraya
0
169
Member Avatar for yash777

hello all, i m trying to edit the values in database through textbox in ASP. first i retrived the values from database and set those values to the value property of textboxes on the form so that user can see the old values. now, i want him to enter new …

Member Avatar for forfyp
0
106
Member Avatar for VernonDozier

I have the following code. It's a memcmp implementation for the Renesas R5F Embedded Chip family and I'm trying to test it. [code] #include <stdio.h> #include <time.h> #include <stdlib.h> #include <math.h> #include <stdbool.h> #include <stdlib.h> #include <assert.h> typedef char SInt8; typedef unsigned char UInt8; SInt8 one_net_memcmp(const void *vp1, const void …

Member Avatar for VernonDozier
0
206
Member Avatar for jonkeeler

Hi this is my first post so hello everybody, I've recently been exploring the uses of linq to use for comparisons,but really need a bit of a kickstart. Say for instance i have a listview populated with numbered names and I want to put up a message box if certain …

Member Avatar for Unhnd_Exception
0
519
Member Avatar for gspeedtech

I am working with existing VB.NET code for a Windows Application that uses StreamWriter and Serializer to output an XML document of transaction data. Code below. [COLOR="Green"] [CODE]Private TransactionFile As ProjectSchema.TransactionFile Dim Serializer As New Xml.Serialization.XmlSerializer(GetType(ProjectSchema.TransactionFile)) Dim Writer As TextWriter Dim FilePath As String Writer = New StreamWriter(FilePath) Serializer.Serialize(Writer, TransactionFile) …

Member Avatar for gspeedtech
0
190
Member Avatar for rajandass65

hi i have two div with same class name.these two div are generated dynamically by javascript from different server, so i dont have access to css file. i want hide one div when page load. so how to acess the div. regards rajan

Member Avatar for Airshow
0
90
Member Avatar for DarkBerzerk

Ok i want freedomain to test on so i dont care if its domainname.blabla.com i just need some good domain to test on , i was testing on freehostia but they dont allow crons i want some one have php,sql (at least one free server allowed)and crons aaaaan no ads …

Member Avatar for DarkBerzerk
0
133
Member Avatar for rminator

Hallo i am Working with Stringbuilder Array,i want to convert byte in from a Byte array and save it in a Stringbuilder Array,that is my code,but is not runing like i want,i have that failure :object reference was not specified on an object instance. [CODE]private string Byte_To_Hex_Ar(Byte[] Buff) { StringBuilder[] …

Member Avatar for oredigger
0
4K
Member Avatar for MareoRaft

I have a Plain Text matrix file (called q.txt): [CODE]1 0 0 0 2 0 0 1 1 0 0 1 1 1 1[/CODE] which I would like to read into a matrix, which is a vector containing vectors (which contain doubles). My current codes yields the error "newReader.cpp:22: error: …

Member Avatar for MareoRaft
0
1K
Member Avatar for VernonDozier

[code] #include <stdio.h> #if 1 //! Set Pin string const char* const ONCLI_SET_PIN_CMD_STR = "set pin"; #endif const char* const SINGLE_APP_STRINGS[] = { ONCLI_SET_PIN_CMD_STR }; int main() { printf("%s\n", SINGLE_APP_STRINGS[0]); getchar(); // pause return 0; } [/code] Line 12 Error message... [code=text] 12|error: initializer element is not constant 12|error: (near …

Member Avatar for VernonDozier
0
332
Member Avatar for drax12

hey all, I'm developing a small application,and i what i need to do is when i rename the exe file into some thing,(ex: abc.exe to aaa.exe) it has to show a message box showing the new name.(aaa). help needed ASAP. thanks in advance, drax

Member Avatar for skatamatic
0
86
Member Avatar for yongj

So for my website I'm trying to have a page where the user can type in literally anything and the page would output a list of stock symbols that are close to the input. Anything unrealistic (e.g. 3548 random letters) would obviously not work but if the user were to …

Member Avatar for yongj
0
79
Member Avatar for dyingatmidnight

Hello all, I've been using Chrome to develop a database website for a school project and I've been having a couple of issues. The first being refreshing. When I logout or login I have to refresh the page for it to pick it up. Or if sometimes I'm logged in …

Member Avatar for dyingatmidnight
0
111
Member Avatar for jrotunda85

I recently moved a script I created for Google Maps over from my development site and I changed the information in the mysqli line and now I'm recieving an error mesage -- any idea what's going on here? Here's the error message: [CODE]Warning: mysqli::mysqli() [mysqli.mysqli]: (28000/1045): Access denied for user …

Member Avatar for diafol
0
370
Member Avatar for TomaCukor

hello ! i have a program id like to code , and it uses from 3 upto 15 members of a structure , id like to ask , [COLOR="red"][I]1,[/I][/COLOR] is there a way to not define all members of a structure at the start but add members as needed ? …

Member Avatar for Schol-R-LEA
0
137
Member Avatar for moone009

I'm having problems with my query below. Basically I need to calculate the feet between two gps coordinates. Basically once I can get this formula completed instead of manually entering the data I'll use a temp table and then select the top 2 rows and then delete these and keep …

Member Avatar for jjc_Mtl
0
125
Member Avatar for ITNoobie

I am creating a database in MS Access 2010, I have 6 tables. My question do all 6 tables need to have either a direct relationship (primary key to primary key) or Primary Key to Foreign Key with each other?

Member Avatar for boblarson
0
190
Member Avatar for chamnab

i don't know if it possible or not if i want to like this : Actually, i have one form "Product" In Form, i have two comboboxs , first name cboProduct that have Row Source "CPU;RAM" and second name cboSeries. what i want to do is when i choose a …

Member Avatar for boblarson
0
167
Member Avatar for deva.v

Hi, I am working with a multiple forms in vb.net. When i open forms it shows that many icons in the taskbar how can i stop and showing it as a single icon. I ve tried using child parent concept but when i click button to activate it dont get …

Member Avatar for codeorder
0
116
Member Avatar for deceivingrakesh

Hey fellas , the issue is im developing an application in VB for a client and there are 4 computers in the network , and in one computer the database will be filled which ll be accessible by other 3 computers , its like client server application , any ideas …

Member Avatar for deceivingrakesh
0
111
Member Avatar for mrcniceguy

WELL GUYS,I HAVE A NAVIGATION IN MY WEBSITE WHICH IS SIMPLY A <UL> LIST. ALMOST EVERYTHING WORKS WELL,EXCEPT WHEN I WANT TO SHOW THE CURRENT PAGE WHICH IS BEING VIEWED,...I HAVE SUCCESSFULLY IMPEMENTED THE FUNCTIONALITY IN PHP WHICH CAN DETECTED THE PAGE BEING VIEWED BUT THE PROBLEM IS CSS WHERE …

Member Avatar for diafol
0
125
Member Avatar for marrkee

hello, I'm currently writing a program to write a website easier, but i don't know, how output " to a file? thank you very much for help

Member Avatar for marrkee
0
114
Member Avatar for aymenbnr

i just wanted to make a small bot using a web browser to post comments to wordpress blogs ! well i don't know the reason but it seems that only the last url is executed ! when i load a list and start the posting the loop seems to jump …

Member Avatar for codeorder
0
321
Member Avatar for vehpurple

okay so i have Form2 which has a db table named Car using LINQ with four attributes(Make, Model, Year, Price). Now Form1 has 4 textboxs using ReadLines to acquire the make,model,year,price). How do i get them to insert into the table on Form2. thanks in advance for the help.

Member Avatar for vehpurple
0
125
Member Avatar for dyingatmidnight

Urg, I will so happy when I'm finished this project, I feel like I'm spamming you guys every couple of days. So I have a couple date values in my tables. And I'm trying to do some calculations with them. Which are working fine. But I'm retuning the number of …

Member Avatar for dyingatmidnight
0
306
Member Avatar for raghujosh

How can I set the value of a textbox to the user entered value(it's a number). [ICODE]<input type = "text" name = "somename" value = "">[/ICODE] User enters 3 in the textbox The code should transform to [ICODE]<input type = "text" name = "somename" value = "3">[/ICODE]

Member Avatar for twiss
0
104
Member Avatar for odonnemr

I'm looking to select almost duplicate rows in a table. I initially just sorted all the rows by name and picked out the duplicates manually (took a while), but I'm wondering if there's a "real" way to go about doing this. Problem is that the duplicate names can slightly differ. …

Member Avatar for almostbob
0
145
Member Avatar for rminator

In fact I had a logfile, that I decoded, by reading his contents byte after byte and save it in a Byte Array. And there after I converted my array of byte in hexadecimal value, and Save it in a stringbuilder. But now my problem is the following, how to …

Member Avatar for oredigger
0
740
Member Avatar for Jollyyy100

Hi, i have a login section made through layers and tables within dreamweaver. At the same place i have a login button (i have coded it and it works all right) but at the moment i have an issue, because when i sign in the login section which says enter …

Member Avatar for Jollyyy100
0
174
Member Avatar for heshanm

HI all, I have a small problem regarding my php project. There is a page called [B]open_account.php[/B]. It contains all customer data such as NIC, full_name, date of birth, gender etc. When a user fills all the fields in that form it redirects to another page called [B]new_account.php[/B]. There are …

Member Avatar for heshanm
0
227
Member Avatar for Jazerix

Hey first of all, im sorry if the title is a little misleading Im creating a private program for myself and some friends, and i want to make a login form, but i was wondering what would be the best way to host the usernames and passwords? I used to …

Member Avatar for jfarrugia
0
98
Member Avatar for muralibobby2015

hello... i am developing one realestate website. in there the properties will syndicate in to another web sites like yahoo-realestate,zillow. so how can i syndicate my properties in these sites. thanks.

Member Avatar for twiss
0
121
Member Avatar for jenny666

Hello im makin a program in C tht will query my database when i use the following code i get an error "segmentation fault" [code] //retreive configuration items from the mysql database mysql_query(conn, "SELECT callcost FROM imds.testset Where callcost BeTWEEN 900 and 1000;"); results = mysql_store_result(conn);[/code] even when i use …

Member Avatar for Salem
0
290
Member Avatar for ciokhan

hello i need one of 2 things. either to make a table which changes its background color to black when the mouse enters the table and when the mouse is out, the background color should be transparent again OR i want a table with permanent transparent color like this site …

Member Avatar for twiss
0
246
Member Avatar for FELIGO

Hello everyone Can anyone help me with codes to calculate sum of numbers in the diagonal of a 2 dimensional matrix array. Please help. (a b c d e f g h i j j k l m n o p q r s)

Member Avatar for Mitja Bonca
0
108
Member Avatar for Jsplinter

Is there a more efficient way to do this? [CODE] vector<int> myvec; vector<int>::iterator it; /////// // Count # of iterations int i = 0; while ( it != myvec.end() ) { ++it; ++i; } [/CODE] Just seems expensive to me.

Member Avatar for Narue
0
116
Member Avatar for Swoop_GB

Here's the problem. I'm designing a worksheet for very young children and what they need to do is type a number into a cell and then click a button to run the macro. However, in order to click this button they first must either press ENTER or TAB or click …

Member Avatar for Swoop_GB
0
508
Member Avatar for paulnamroud

Hello, I'm building a generic [B]Class Library[/B] that I will use it in all my projects. However, I want to know how can I access Resource file from a Class Library ? I will appreciate if you can send me a code sample! Thank you for your help Paul

Member Avatar for paulnamroud
0
293
Member Avatar for niths

hello everybody, I am having problem with logout of a Users Account in Firefox because whenever the user presses the Back browser button, the personal page was displayed, showing their personal details. Is there a way to logout successfully in firefox and chrome i;e when user click back button after …

Member Avatar for jfarrugia
0
71
Member Avatar for vivek.visen

Hi, i'm implement chatting in c# using Remoting in Window form. But i want to apply this concept on an Asp.net web site Like a Facebook chatting application but i have no idea how to implement to do this. please send me suggestion or code. or can we use third …

Member Avatar for stbuchok
0
148
Member Avatar for Joe34

Hello take a look at my code then I'll tell you what error I get... [CODE]var Top = document.getElementById("topmargin").value; var Left = document.getElementById("leftmargin").value; var Background_Color = document.getElementById("backgroundcolor").value; var Border_Width = document.getElementById("borderwidth").value; var Border_Type = document.getElementById("bordertype").value; var Border_Color = document.getElementById("bordercolor").value; var num = id+1; var new_id = "a"+num; document.getElementById(new_id).style.top = Top; …

Member Avatar for Joe34
0
157
Member Avatar for iphathuy

[code] using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace FileApp { class Program { static void Main(string[] args) { Console.WriteLine("***** Simple IO with the File Type ******"); string[] myTasks = { "asdf", "qwerty", "awdx", "1234" }; // Write out all data to file on C drive. File.WriteAllLines(@"C:\tasks.txt", …

Member Avatar for iphathuy
0
180

The End.