199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for afrogfx

**how can i make next page and prev page in my gallery script .. when mid = id of images path = link of images i need 2 button next to get next image and prev to get last image ?? how can i do it ?** $mid=$_GET['mid']; $qur="select * …

Member Avatar for diafol
0
131
Member Avatar for EvolutionFallen

I have some web forms that contain several normal fields, and at least one upload field each. Upon submission, the contents of the form are e-mailed to the recipient. When I fill out the form *without* including a file for upload, it works correctly. I get an e-mail that, when …

Member Avatar for EvolutionFallen
0
226
Member Avatar for hwoarang69

note all image store in database . long blob. so i have a gallery.php page where i have all the image of user who i loged in. echo" <a href='zoom.php'><img src=\"$src\" width='130px' height='130px' class='image_p' /></a>"; now i want to make a zoom.php page. here i want to display the same …

Member Avatar for hwoarang69
0
203
Member Avatar for mani508

hello i want to write a filedownload code behind html button how its possible...?? i don't know how to write asp.net(c#) code behind html button on click event?

Member Avatar for mani508
0
299
Member Avatar for Borderline

Good evening I'm running a tipping competition, and am hoping to make the updating slightly less tedious. The code currently reads as follows: <?php $query = " SELECT SUM(comptipsterselections.profit) as Profit, comptipsterselections.stable, comptipsterboard.link FROM comptipsterselections INNER JOIN comptipsterboard ON comptipsterselections.stable=comptipsterboard.stable WHERE comptipsterselections.comp = 'aintree 2010' GROUP BY comptipsterselections.stable, comptipsterboard.link ORDER …

Member Avatar for Borderline
0
144
Member Avatar for hwoarang69

long blob size is way too small for me. how can i make it bigger??? i want thing when i making col image. i can set Attributes to or lenth/value? but i dont know what to type in help plz

0
89
Member Avatar for aaloo

this is my javascript for validation of a form .It works perfectly <script type="text/javascript"> function validateForm() { var x=document.forms["contacts-form"]["email"].value; var atpos=x.indexOf("@"); var dotpos=x.lastIndexOf("."); if (atpos<1 || dotpos<atpos+2 || dotpos+2>=x.length) { alert("Not a valid e-mail address"); return false; } var x=document.forms["contacts-form"]["name"].value; if (x==null || x==""||x=="Name:") { alert("First name must be filled …

Member Avatar for diafol
0
1K
Member Avatar for hwoarang69

trying to create upload page. 1st need help geting image size for ex 199mb or kb etc.. 2nd resolutiion 1000x39 etc 3rd how can get more information about the image.or camra for ex make, model, Aperture, ocal Length. 4th how to get date when its sumbited for some reason it …

Member Avatar for hwoarang69
0
3K
Member Avatar for Sanchixx
Member Avatar for MarielaMontaldo

Hey DW fellas I'm having some trouble when I run my code on IE. I tried it on Chrome and Firefox and it works, but it doesn't at IE. I think that is a Javascript problem, but I can't find the solution. So please, if you can give me a …

Member Avatar for ko ko
0
267
Member Avatar for arcticM

so i checkied how to swap 2 variables without a 3rd one and I found this solution - $x ^= $y ^= $x ^= $y; but I don't understand what the xor (^) does! never used it before and php.net has some strange examples I don't get.. can someone explain …

Member Avatar for diafol
0
169
Member Avatar for hwoarang69

trying to display image from database. last image to 1st. but getting error: Warning: mysql_query() expects parameter 1 to be string, resource given in C:\xampp\htdocs\a_upload\gallery.php on line 12 Warning: mysql_fetch_assoc() expects parameter 1 to be resource, null given in C:\xampp\htdocs\a_upload\gallery.php on line 26 $sql = mysql_query("SELECT * FROM image WHERE …

Member Avatar for hwoarang69
0
95
Member Avatar for VB 2012

Here's my code Dim allelementds As HtmlElementCollection = MbFacebookBrowser.Document.GetElementsByTagName("span") For Each DD As HtmlElement In allelementds If DD.OuterHtml.Contains("resource") Then TlsResourceComboBox.Items.Add(DD.GetAttribute("InnerText")) End If Next LblHel.Text = TlsResourceComboBox.Items.Item(0).ToString LblIro.Text = TlsResourceComboBox.Items.Item(1).ToString LblOxy.Text = TlsResourceComboBox.Items.Item(2).ToString LblWat.Text = TlsResourceComboBox.Items.Item(3).ToString As you can see im currently using a combobox as a type of a list …

Member Avatar for Reverend Jim
0
230
Member Avatar for edfinley

How can I log a user on automatically once they have been identified with a cookie in C#? Membership.ValidateUser("membersUsername","membersPassword") will let me know if it's a valid user but it won't log them on.

Member Avatar for edfinley
0
126
Member Avatar for shanboy

I want to connect to sql server database from php code. OS: Win xp SP3 PHP ver 5.1.0 Database : SQL server 2005 IIS ver 5.1 What are the drivers needed for the connection to happen? I downloaded the php_sqlsrv_52_ts.dll and tried with it. It doesn't work.I think its for …

Member Avatar for Squidge
0
256
Member Avatar for Sanchixx

Hello, I have a comment box that uses php her is the code: <?php $act = $_POST['act']; if($act == "post") { $name = $_POST ['name']; $area = $_POST ['area']; @$fp = fopen("comments.html", 'a'); if (!$fp) { //The file could not be opened echo "There was an error! Please try again …

Member Avatar for diafol
0
306
Member Avatar for A0110

i have a grid view in whichld store i hav aaded a new column 'status'. i hav my data coming frm database. i hav added delete buttons in grid view in eacj row... i want that when i press the del button in order to del a particular row the …

Member Avatar for A0110
0
137
Member Avatar for Valiantangel

How can i implement this constructor? I tried replacing commissionEmployee = new CommissionEmployee with this but the complier asked me to create another constructor. public class BasePlusCommissionEmployeeComposition { private double baseSalary; private CommissionEmployee commissionEmployee; // six-argument constructor public BasePlusCommissionEmployeeComposition( String first, String last, String ssn, double sales, double rate, double …

Member Avatar for JamesCherrill
0
213
Member Avatar for AHMED_DB

**Hello every one, this is my first post since the day I registered. I need your help as I'm new to the programming world. I'm doing doing JavaScript and so far was going smooth.. But when I tried to work on the exercises that came with textbook, I failed. Here's …

Member Avatar for AHMED_DB
0
98
Member Avatar for ericstern

Hi, I am learning python coming from a C background and I am trying to understand how python lists work. I took a look at the built in methods, and I am wondering if they are implemented like a linked list. The reason I am wondering this, is because I …

Member Avatar for ericstern
0
248
Member Avatar for kendaop

Hello, I'm following along Riemer's tutorial for terrain generation and I have my program working, but about 15 seconds after running the program, I get a an error that says, "Win32 Exception was unhandled. The operation completed successfully" Here is my code. [code=c#] using System; using System.Collections.Generic; using System.Linq; using …

Member Avatar for Dennijr
0
416
Member Avatar for Despairy

I made a new project that has to open a folder using DIR * `DIR * directory=openDir(...); // openDir is a function returning DIR * after it was opened` than to make a new folder in it, so far so good `mkdir(path,permissions);` and now i have to run through the …

Member Avatar for Ancient Dragon
0
110
Member Avatar for triumphost

What's a fast way to fill a union/struct of integral members with ALL Zeroes? RECORD* UNION = {0}; void ZeroStruct(int X, int Y) { UNION = new RECORD[X * Y]; int K = 0; for (int I = 0; I < X; I++) for (int J = 0; J < …

Member Avatar for mike_2000_17
0
272
Member Avatar for triumphost

Is it possible to overload one operator more than once? I have a struct that is just my idea of a C++ Box. I'm trying to increase the size of a box using an integer or another box. I'm trying to do: Box X(0, 0, 0, 0); Box Y(1, 1, …

Member Avatar for triumphost
0
2K
Member Avatar for 47pirates

there are two panel in one panel there is search button and in the another one there is Jtable for displaying search result. In that jtable initially all the records are displayed. But when i try to search, it works but the problem is that i need to click search …

Member Avatar for 47pirates
0
427
Member Avatar for sirus23

Hello everybody!I want to ask you something. I want to send values from C# windows form application in php webpage.In other words send post values from C# to php. The problem is that php script cannot read this values and preview this results which comes from C# app.Could you help …

Member Avatar for sirus23
0
1K
Member Avatar for hwoarang69

how to print 30 random images and image name from database width out repeating same images? database: image image_id user_id image(image store here blob) iam thinking some thing like this but not sure i = 0; while(i > 31) $queryget = mysql_query("SELECT image_name FROM user WHERE username = '$user'") or …

Member Avatar for Biiim
0
146
Member Avatar for mike_2000_17

I am currently working on kind of multi-graph structure. The thing is that two graphs are needed for my application which span the same vertices but with two distinct set of edges (i.e., a multi-graph). The first graph is a binary search tree, while the second graph must be general …

Member Avatar for mike_2000_17
0
681
Member Avatar for rayidi

Hi firends, hope you all dn well. Here i need one thing ! table1 - Which stores all user's posts ( `id`, `post`, `who` ) table2 - Which stores relations ( `id`, `from`, `to`, `status` ) ( `status` contains `accepted` and `hold` ) here i want to retreve the posts …

Member Avatar for Biiim
0
193
Member Avatar for suneye

hello, I am saving some data in sql of type datetime but the value I am getting is 1900-01-02 00:00:00.000 what must I do?

Member Avatar for Momerath
0
154
Member Avatar for tgifgemini

Please, I need someone to show me the correct synatx - code to FTP a file (in an Access table) to a server. The access table contains the following information: Open 10.8.44.34 Username Password File path - sourcefile destinationfile Quit. I tried to run the code below and I get: …

Member Avatar for evry1falls
0
313
Member Avatar for hwoarang69

so i have a table called image. in side image table it has image_id user_id image_short_name. i am trying to create upload page where user can sumbit image. but i want to make sure a user dont pick same image_short_name. for ex if a user called "dave" pick a image_short_name …

Member Avatar for ckchaudhary
0
145
Member Avatar for PhoenixInsilico

How to handle characters like ü, Ö etc. I tried using decode_utf8() function. But still when I print the string I get some funny characters instead of ü or Ö

Member Avatar for 2teez
0
99
Member Avatar for funkey100

Hey, I am trying to make a C++ scrit that decodes and encodes tenis polar (search it on Google if you don't know what it is). After some testing, I found out my application stops after the strcpy. Any help? The code is below. Thanks! #include <iostream> #include <cstring> #include …

Member Avatar for Schol-R-LEA
0
313
Member Avatar for missil9

Hey all, I usuallly don't like asking for help on these sites but I have been kicking myself for a while now implementing boost regex for a program (i have never had any prior issues). I believe the issue is with my regex syntax but i have tried numerous variations …

Member Avatar for missil9
0
318
Member Avatar for mie.ilani

Dim MaxVal As Integer For a = 0 To DataGridView1.RowCount - 1 If MaxVal < DataGridView1.Item(DataGridView1.ColumnCount - 1, a).Value Then MaxVal = CInt(DataGridView1.Item(DataGridView1.ColumnCount - 1, a).Value) End If Next MsgBox("The Optimum Value is " & MaxVal, 1, "Optimum Choice")

Member Avatar for mie.ilani
0
161
Member Avatar for dany12

Hy I have a problem with my apache in wamp it dosen't recognize my htaccess file and I have searched everywhare to find a solution to the problem. Fot starters I want just to show my 404 custom page but my code is not working. `<Files ~ "^\.(htaccess|htpasswd)$"> deny from …

Member Avatar for almostbob
0
852
Member Avatar for brandonhorst

Hey Folks. I'm writing a Python app using wx and I'd really like the ability to block the Capslock key at certain times. My current system has some unfortunate toggling of Hotkey Bindings and uses SendKeys, which results in some ugly keyboard light flashing and some seemingly random infinite loops. …

Member Avatar for zaphoenix
0
576
Member Avatar for arcticM

I can't think of how this thing is called and so I can't find any example on google, I'll try to explain my vision best I can. I want to have a list of square divs, each has contant (but that's not the point), so the divs are standing in …

Member Avatar for blinkey
0
117
Member Avatar for Valiantangel

Hi, What is for ( : ) in java.i know what a loop is but lately when i am doing excercises these keep coming up Example:** for(Field currentField : emp.getClass().getDeclaredFields())**

Member Avatar for JamesCherrill
0
139
Member Avatar for sanket044

ey i have following code for crystal report 8.5 to vb6... i just want to change database location of report from vb code... Private Sub Form_Load() Dim Reportapp As New CRAXDDRT.Application Dim Report As CRAXDDRT.Report Set Report = Reportapp.OpenReport(App.Path & "\orders.rpt") Report.Database.SetDataSource App.Path & "\RatanDB.mdb" CRViewer2.ReportSource = Report CRViewer2.ViewReport CRViewer2.Zoom …

Member Avatar for jhai_salvador
0
492
Member Avatar for mwenyenia07

consider the following code: $result=mysql_query($sql); $datas=mysql_fetch_array($result); $row=mysql_fetch_row($datas); $num_rows=mysql_num_rows($result); for ($counter=0;$counter<$num_rows;$counter++) { echo("<option value={$datas[$counter]['name']}>{$datas['name']}</option>"); } the problem is that it only picks the first record in the mysql database and duplicates it. can somebody help me solve this error

Member Avatar for junior_rosul
0
115
Member Avatar for ak47carbon

i want that when user type username in from fiel it validate from process.php and after validate it show result in front of name field . i want that when user select uk from contry it show uk city and if selected india then show india cities how can it …

Member Avatar for dany12
0
435
Member Avatar for shizzle08

what sql command i must use. this is my current command but it give me an error saying "The specified filed 'ClientNo' could refer to more than one table listed in the FROM clause of your sql statemate." Try dc.Connection = conn dc.CommandText = "SELECT * FROM tblClient, tblClientInfo WHERE …

Member Avatar for JorgeM
0
370
Member Avatar for Nikhar

The following is my code for Edit Distance problem. The problem asks us to find the edit distance between two strings. My code, I think gives the correct output. If I run the code with two strings of 1500 length each, I get the error. But if I run it …

Member Avatar for Nikhar
0
352
Member Avatar for chudapati09

I created a JTree and also created a class which implements `TreeSelectionListener` then I pass that object into the JTree's function `addTreeSelectionListener`. In the [JavaDocs](http://docs.oracle.com/javase/tutorial/uiswing/examples/components/TreeDemoProject/src/components/TreeDemo.java), there is an example where they implemented the function `public void valueChanged(TreeSelectionEvent e)` within the main class and passed `this` into `addTreeSelectionListener`. I tried to …

Member Avatar for JamesCherrill
0
180
Member Avatar for steven467

Hello Folks, Im really newbie in VB.NET and i hope that someone could explain how may i do this successful, ok im explaining now.. I had two richtextboxes and one button First richtextbox contains the following text: <user_register.php: 2012-02-21 00:03:49 POST username=sexhunger15 email=ho_t**@hotmail.com email_confirm= password=vergota password_confirm=vergota country=CA msisdn= isyp=0 isPremiumChat= …

Member Avatar for Reverend Jim
0
188
Member Avatar for cjay175

Hey, I was wondering if someone could help me with this. I want to, when an anchor link is clicked, the id of the link is grabbed by jquery then passed to a function. The id is would be the same as the id of the div that is used …

Member Avatar for efadfsfasdf
0
5K
Member Avatar for SuchANewb

Hello everybody! My roommate had a problem and asked me for some help. I do not write in Java so I would need some help translating my code from PHP into Java. Here is the code: <?php mysql_connect ( "someserver", "someusername", "somepassword" ) ; mysql_select_db("somedatabase"); $q = mysql_query ( "SELECT …

Member Avatar for NormR1
0
428
Member Avatar for Bisquick

Is there any way I could make specific text strings "invisible" on my web page? For example, If I were to specify the string "hxxp://nullrefer.com/?", I would need that text to appear invisible on my page everywhere it's mentioned, automatically. So, if the url "hxxp://nullrefer.com/?hxxp://www.Amazon.com" were to be mentioned on …

Member Avatar for dany12
0
230

The End.