17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Designer_101

Hey Underneith is my code, im having a problem where as when i click the delete button it does what i need it to do (delete a thead) however it also delete the 'title' fields from every other entry in my database ?? this is substantually weird can anyone help …

Web Development mysql php
Member Avatar for Shanti C
0
78
Member Avatar for RahulV

[B][U][COLOR="Red"]---URGENT---[/COLOR][/U][/B] Hai, I wrote a code : [CODE] <html> <body> <%response.write "<form action=http://localhost/rentry.asp?tid="& request("tid") &">"%> <textarea name="treply" rows="10" cols="100">Enter ur text here</textarea> <input type="Reset" name="subFThread" value="Reset"> <input type="submit" name="subFThread" value="Post"> </form> </body> </html> [/CODE] Here i wanted to send a piece of data (tid, that i extract from the earlier …

Web Development asp
Member Avatar for RahulV
0
299
Member Avatar for agz86

i have a text box that should only accept alphabets... i know we hav 2 use RegularExpressionValidator but i dunno the format to write the code in.. plz help me out.. thanx in advance..

Web Development asp.net
Member Avatar for ajsa
0
92
Member Avatar for Naters_uk

Is it possible to send sms from an asp.net webform? :eek: I have searched multiple sites, but can't really find anything useful..any advices?

Web Development asp asp.net vb.net
Member Avatar for jalpaeol
0
464
Member Avatar for AON07

I need help deleting a row from a mysql database using a drop down menu form. i want to be able to just select the category i want to delete and then hit the delete button. For some reason I can not get this to work. I'm also fairly new …

Web Development mysql php
Member Avatar for R0bb0b
0
1K
Member Avatar for OmniX

Hi guys I am trying to allow people to upload any image (size, format, etc) and reformat it into a jpeg file of 50 by 100. Now im not sure if this is possible to re-format but I know you can re-size the image. At the moment I am having …

Web Development php
Member Avatar for OmniX
0
72
Member Avatar for antwan1986

Hey everyone. I was reading the documentation for this function and I can't understand what the example is doing, and how it's working. Can someone explain to me what these functions are doing? [CODE] <?php function odd($var) { return($var & 1); } function even($var) { return(!($var & 1)); } $array1 …

Web Development php
Member Avatar for antwan1986
0
114
Member Avatar for streetrodfanati

Hello, I'm having trouble with these syntax errors & need some help. Thanks! Parse error: syntax error, unexpected T_STRING in /home/a3933825/public_html/require.inc.php on line 43 function footer() { ?> <CENTER> <table> <tr> <td class="font"align=center><a href="start.php?option=contact">-contact us-</a>&nbsp;&nbsp;<a href="privacy.htm" target="_NEW">-privacy policy-</a>&nbsp;&nbsp;<a href="spam.htm" target="_NEW">-spam policy-</a><br></td></tr> </table> </CENTER> <? } ?> I also get the …

Web Development php
Member Avatar for streetrodfanati
0
230
Member Avatar for Chaster

I've got some homework to do, but I cannot go through this issue. I want my .aspx page to display my database records, one below another. In order to do this I use a GridView, while the data is stored in an ArrayList. This ArrayList is composed of User objects, …

Web Development asp.net
Member Avatar for serkan sendur
0
127
Member Avatar for mb2442

I'm trying to load a text file into a MySQL table. The text file has 2 delimiters (tab and space). The problem is that some of the fields in the text file occasionally have NULL values. When this happens, and I split (preg_split or split) the file out into an …

Web Development php
Member Avatar for mb2442
0
88
Member Avatar for justted

Hello everyone, I have been trying to get this piece of coding to work! It contains multiple if statements and has just sent my mind spinning. I have an error code and cant seem to get past it! What im trying to achieve is to basically check if the username …

Web Development php
Member Avatar for humbug
0
127
Member Avatar for OmniX

I am trying to crosscheck a column in a table with 30 rows. Example: [code=php] $value = "a"; $sql = "select * from characters"; $query = mysql_query($sql); $fetch = mysql_fetch_array($query); for ($i = 0; $i < 30; $i++) { if($value == $fetch['letters']) { $counter++; } } echo $counter; [/code] The …

Web Development php
Member Avatar for OmniX
0
119
Member Avatar for davidegan

This is my first forum post ever, so I'm not sure exactly how it works. I'm looping through the code below to create a list of links that will open a new window with information about an event. The code below seems to work fine in firefox but displays very …

Web Development asp asp.net javascript
Member Avatar for serkan sendur
0
168
Member Avatar for OmniX

Is there a command to empty a table? or would I just use a SQL statement in conjunction with a query statement? If so is this the correct syntax [code=php] $table = "abc"; $sql = "DELETE FROM $table WHERE *"; mysql_query($sql); [/code] Would that delete every row in table abc? …

Web Development php
Member Avatar for OmniX
0
205
Member Avatar for aparnesh

How can I implement a constructor / destructor for a class written in ASP ? Something like the __constructor() function of PHP. Also is there an in-built Collection Object in ASP (as in Visual Basic) ? Thanks

Web Development asp visual-basic
Member Avatar for aparnesh
0
109
Member Avatar for rickya100

Hi, Can anyone please tell me how to do a REST request to a URL using method POST and NOT GET. I know I have to pass XML to the URL but I really don't know where to start actually sending the request. I have tried looking at loads of …

Web Development first-post php xml
Member Avatar for rickya100
0
393
Member Avatar for OmniX

Hi, I have a few questions in regards to checkboxes I wanted to confim. Your code is below: [code] <input type="checkbox" name="checkbox[]" value="1"> <input type="checkbox" name="checkbox[]" value="2"> <input type="checkbox" name="checkbox[]" value="3"> <input type="checkbox" name="checkbox[]" value="4"> <input type="checkbox" name="checkbox[]" value="5"> [/code] Now what happens next? The checkbox array is checkbox[0] = …

Web Development php
Member Avatar for Shanti C
0
94
Member Avatar for Shanti C

HELLO all... Good Afternoon!!!! Currently i am developing a website...In that website i want to ad management ,where we can add and manage different ads with different prices, in different place on our website with time and etc... Any body have any scripts or any ideas to develop this kind... …

Web Development open-source php
Member Avatar for PoA
0
128
Member Avatar for Diode

I'm not sure if this should go in the MySQL board, or this, since it deals with both PHP and MySQL. But anyway, I am making a sports memorabilia site for a guy. On the item creation page, after I call the function to prevent sql injection, no matter what …

Web Development html-css php
Member Avatar for Diode
0
2K
Member Avatar for Robins Antony

Hi all! How to use crystal report with ASP.net? How to choose database? pls help with an eg. Robins

Web Development asp asp.net
Member Avatar for Kusno
0
506
Member Avatar for Coward

hello i have problem with radio in this code [CODE] <!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=utf-8" /> <title>Untitled Document</title> <link href="style.css" rel="stylesheet" /> <script> function add() { var radio=document.getElementsByName("t"); var d=document.getElementById("div"); if(radio[0].checked==true) { d.innerHTML+="<p><input type='text' id='txtfname'><br />"; d.innerHTML+="<p><input type='text' id='txttxtlname'><br />"; …

Web Development html-css javascript
Member Avatar for Coward
0
73
Member Avatar for Falkoner1

Okay, I am trying to combine the notepad feature from this page: [URL="http://falkoner.cow.googlepages.com/Notepad.html"]NotePad[/URL] With this page: [URL="http://falkoner.cow.googlepages.com/Buildings_to_Crash.html"]http://falkoner.cow.googlepages.com/Buildings_to_Crash.html[/URL] Rather than copying and pasting the internal code from the first page into the second one, I want to put it into my external javascript page, here: [URL="http://falkoner.cow.googlepages.com/FalksMainJavascript.js"]http://falkoner.cow.googlepages.com/FalksMainJavascript.js[/URL] So far I have not …

Web Development javascript
Member Avatar for Falkoner1
0
160
Member Avatar for Jaima

The code I have written in Servlet is as follows: [code=Java]ArrayList news=admindelegate.getNewsdelegate();//this is defined already request.setAttribute("news",news); rd = request.getRequestDispatcher("ViewNews2.jsp"); rd.forward(request,response);[/code] and my JSP code is: [code=JSP]ArrayList newslist=null; ArrayList newslist=(ArrayList)request.getAttribute("news"); int newscount= newslist.size(); System.out.println("newscount:"+newscount); if(!newslist.isEmpty()) { for(int i=0;i<newscount;i++) { %> <tr> <Td><%=newslist.get(0)%></Td> <Td><%=newslist.get(1)%></Td> </tr> <% } } %>[/code] But this table …

Web Development java-jsp
Member Avatar for peter_budo
0
161
Member Avatar for FlashCreations

Hello, I am creating a feature for a site, that when you click a button changes specified text to a textbox that lets you edit the text. When the user presses enter, the textbox will dissapear and the text typed will be in it's place. This is so I don't …

Web Development javascript
Member Avatar for FlashCreations
0
148
Member Avatar for Venom Rush

Hi there I just need some clarification on sessions. If I have $_SESSION['name'] = $_POST['name']; in my php will it $_SESSION['name'] be created numerous times on different pc's? For example: Joe submits a form and $_SESSION['name'] is created with Joe being the value. Then Suzy submits a form and $_SESSION['name'] …

Web Development php
Member Avatar for Venom Rush
0
95
Member Avatar for serkan sendur

Install iis 7 on your vista os.Open up the iis manager from administrative tools. Right click default web site and choose add new application. Give your application(your site) a name(alias) and point to your physical application folder. open up your web project in visual studio. Right click the web project …

Member Avatar for skiabox
0
1K
Member Avatar for tech_bc

Hi, I am new in jsp. And I want to use web rowset in jsp. How can I use it can any one help me? Thanks

Web Development java-jsp
Member Avatar for peter_budo
0
76
Member Avatar for tiger86

Hi, I am a newbie to php and I am using nusphere php nued standard. I got it because it has a debugger which I need the most and I am having some problems; I wait for 5 hours and it just says waiting for local host. I have tried …

Web Development php
Member Avatar for nikesh.yadav
0
101
Member Avatar for OmniX

Hi guys You know when you enter a registration page with a textbox saying enter the characters that corespond to the image. I heard its called COPA or something. Anyone has any tutorials on how to make a page like this? Thankyou, Regards X

Web Development image php
Member Avatar for OmniX
0
149
Member Avatar for krauz2

I have tried a few different ways to get two email address to send on a case statement. How do I add to commands on same line? I am just a little off track. Thanks for your help. case 'it': $to_email = "erich.krauz@rgl-e.com"; $to_email = "krauz2@hotmail.com"; break;

Web Development php
Member Avatar for krauz2
0
98
Member Avatar for krauz2

I am trying to have a "Contact us" page with a drop down tab that you can select from 4 people to contact. I am trying to figure out how to link each one to a certin email address. I was only able to get it with one. Thanks for …

Web Development email php
Member Avatar for krauz2
0
185
Member Avatar for oku

Hello everyone, Well i've just searched the forum to see if my question has been answered prioer to posting, but seem to find the answer. Well basicly i've created a script to help me monitor and maintain the domain names my company owns (1000's) I've virtually finished it but i …

Web Development php
Member Avatar for CademiaX
0
3K
Member Avatar for MDGM

Hi, Im making a 5 star rating system but half the time it has the complete wrong result. I have gone over and over the script and checked the sums with a calculator and it is still doing something wierd. Sometimes when I rate it above it's current rating it …

Web Development php
Member Avatar for MDGM
0
163
Member Avatar for jobojo

I am new to JavaScript and have what may be a very simple and easy question to most. I am writing a simple block of code that I need to display dollar amounts with 2 decimals for change. For example instead of displaying the number 5, I need it to …

Web Development javascript
Member Avatar for Shanti C
0
143
Member Avatar for Shanti C

hello all.. Tel me how to create a site with different languages, if user select particular language, then all the content will be displayed in that language... How to do it??? or Any predefined free software available on the internet... Any resources or information would be appreciated.... Thanks.. Shanti.

Web Development php
Member Avatar for kevindougans
-1
94
Member Avatar for RuneMan

this is my login function: [CODE] function doLogin($username, $password) { include ("global.php"); $conn = mysql_connect($DB_HOST, $DB_USER, $DB_PASS); if (!$conn) { return 2; } mysql_select_db($dbnames[$DATABASE_MAPLESTORY]); $result = mysql_query("SELECT * FROM `accounts` WHERE `name` = '" . $username . "'"); if (mysql_num_rows($result) < 1) { mysql_close($conn); return 1; } $row = mysql_fetch_array($result); …

Web Development mysql php
Member Avatar for RuneMan
0
108
Member Avatar for maydhyam

Hello, I am trying to do an export from a table within a mysql database into a csv file where my parameters are a start date and end date...but I am experiencing a few problems... [U]Background:[/U] I have 2 files; testGCR.php and gcrFunction.php. testGCR.php has my form where the user …

Web Development mysql php
Member Avatar for R0bb0b
0
1K
Member Avatar for maydhyam

Hi, I have a web application where the users have to create an account to be able to access the entry form. I have 2 types of users, 1. Admin and 2. User. I have a Java application that is called via a link on the page, but I only …

Web Development php
Member Avatar for maydhyam
0
101
Member Avatar for Jihad

I have an wsdl file, I puted the wsdl file in the app_code folder ("I am using visual studio 2008"), as it is supposed to be it generated the proxy for me. But the proxy file containes object type parameter for all functions even for the functions that are not …

Web Development visual-studio xml
Member Avatar for Jihad
0
200
Member Avatar for Shanti C

Hello Every Body I Am Using PHP AND JAVASCRIPT i am using two images on my page at run time 1. first i drag one image on another 2. after that i write some text using a prompt box which is written on the dragged image at run time 3. …

Web Development javascript php
Member Avatar for Shanti C
0
102
Member Avatar for FlashCreations

Hello Everyone, I have a little problem with my PHP script. I have created a very detailed system using PHP and wish to upload it to a computer running XAMPP on my network. Because the file will be uploaded to a normal computer all of my PHP files will be …

Web Development php
Member Avatar for FlashCreations
0
249
Member Avatar for Mylena

Hello, This is just an extraction from the code. The code below works really well in Mozilla Firefox, but does not work with the <a> and <font> tags in any other browsers. When I remove <a> and <font> tags, it works in other browsers... If anyone can spot the problem, …

Web Development php
Member Avatar for Mylena
0
109
Member Avatar for wsee

Hi, I set HtmlEncode="False" and DataFormatString="{0:mm/dd/yyyy}" in boundfield of a gridview but the month became 00 (18/00/2008). After removing {0:mm/dd/yyyy} from DataFormatString, the month appeared again (2008-09-18 12:00:00 AM) of course together with the time portion that I wish to get rid of. Please help. BTW, whart is {0} stands …

Web Development asp.net
Member Avatar for wsee
0
93
Member Avatar for Thirusha

My head is telling me that the answer to this question is going to be NO, but hopefully i m wrong. I have a servlet which gets redirected using RequestDispatcher to a jsp page, the jsp page has some html input fields. In the servlet i get the values from …

Web Development java-jsp javascript json
Member Avatar for Thirusha
0
115
Member Avatar for Shanti C

Im developing a web page, where i can drag one image upon another background image and merge them... my problem is , i want to know the position of dragged image by the user.. im using php and javascript functions to develop this... please anybody know about this ..please get …

Web Development image javascript
Member Avatar for Shanti C
0
112
Member Avatar for Will Gresham

Hi all Just a quick question, I have avoided the ternary operator type If statement a lot in my code, because personally I find it easier to read a statement like this: [code=php] if (empty($_POST['action'])) { $action = 'default'; } else { $action = $_POST['action']; } [/code] Rather than: [code=php] …

Web Development php
Member Avatar for R0bb0b
0
271
Member Avatar for antwan1986

Hi everyone and thanks for reading, Now that I've been getting my hands dirty with PHP a lot more, I've been starting to freelance and I'm wanting to make sure I have the right systematic approach to protecting data before I commit to any projects. Whenever we accept user input …

Web Development php
Member Avatar for antwan1986
0
151
Member Avatar for Shanti C

hello all... At my project , need for creating cards online..In detail , i have provided the users with some back grounds,images and text...then user make a card by selecting the backgrounds,images, resizing them,entering text into that final image... To do this , my completed work is : i made …

Web Development image javascript
Member Avatar for ~s.o.s~
0
113
Member Avatar for FlashCreations

Hello, I have a problem with my form validator. For some reason it will always return true when it should return false and display and error message (either about a blank username or password). Here is my javascript: [code=JavaScript] <script type='text/javascript'> function ValidateLogin(form) { var error=false; document.getElementById('userError').style.display = 'none'; document.getElementById('passError').style.display …

Web Development html-css javascript
Member Avatar for R0bb0b
0
111
Member Avatar for MVied

Okay, so I'm writing an application. In this application there is a drop down with the selections 10, 20, 30, and so on to 100. This drop down controls the amount of times a loop will occur. Basically, every time the application gets to a loop that is 10% of …

Web Development php
Member Avatar for MVied
0
181

The End.