52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for new SE

Hi all, i need some help in c# in order to display the attrtibute that is not in the same table.. i have a table COMPANY and CODE..in company table, i have attribute called CmpStatusCode that just display in int (input by ddl which is selectedvalue ex: 1,2,3)..but in CODE …

Web Development asp.net
Member Avatar for siju kuriakose
0
115
Member Avatar for aeronvista

I have tried to write a script that sends image as an embedded object rather that attachment OR a url link but it is not working. I am attaching the code. Please help me.

Web Development email image php
Member Avatar for aeronvista
0
113
Member Avatar for JayGeePee

I'm not sure how to do this or if its possible with CSS/HTML. I have tables that hold info on my index page that is entered from the members area. The table has a plain white background, which isn't my problem. I'd like it if when new info is entered …

Web Development html-css php
Member Avatar for Lsmjudoka
0
66
Member Avatar for webfan16

i'm sorry my title is confusing here's my problem i've created this echo "<table border='1'> <tr> <th>Idno</th> <th>Name</th> <th>Specialty</th> <th>Email</th> <th></th> </tr>"; while($row = mysql_fetch_array($result)) { echo "<tr>"; echo "<td>" . $row['Idno'] . "</td>"; echo "<td>" . $row['LastName'] . " " . $row['FirstName'] . " " . $row['MiddleName'] . "</td>"; …

Web Development php
Member Avatar for Lsmjudoka
0
95
Member Avatar for new SE

Hi all, i have a problem with my datagrid attribute "OnPageIndexChanged="gridedit_PageIndexChanged""... for example if i have 2 page and the second page contain only one record.. if i want to delete the record, this error appear.. anyone can help me plz.. [CODE] Invalid CurrentPageIndex value. It must be >= 0 …

Web Development asp.net
0
69
Member Avatar for dschuett

Hi all, This may be asking a bit much, but this is my FIRST advanced PHP/MySQL project. Any help is appreciated. I am currently building a website for one of my friends photography business, and she has requested to allow her clients to be able to sign with a username …

Web Development php
Member Avatar for Lsmjudoka
0
120
Member Avatar for chineerat

Hi! I need help calculating the summed values of a column. Also, the row values are subtracted from each other eg: [CODE] col1 col2 col3 row1 a b = a-b row2 c d = c-d row3 =a+c =b+d =a-b+(c-d) [/CODE] however there can be N number of rows. I have …

Web Development javascript
Member Avatar for chineerat
0
160
Member Avatar for valonesal

Im a novice at php and cant seem to get the following two line together. We want to use this line [CODE] <?php if($logged_in) { echo "Welcome back, $logged_row[username]&nbsp"; } else { print('<a href="http://xxx/login.html">Login</a> / <a href="http://xxx.com/signup.html">Signup</a>'); } ?>[/CODE] But we need this put into it, we need it before …

Web Development html-amp php
Member Avatar for valonesal
0
103
Member Avatar for nicholaslee21

[CODE] <html> <link rel="stylesheet" media="screen" href="DynCalendar/dynCalendar.css" /> <script language="javascript" type="text/javascript" src="DynCalendar/browserSniffer.js"></script> <script language="javascript" type="text/javascript" src="DynCalendar/dynCalendar.js"></script> <body> <table width="703" height="210" border="1" cellpadding="5" cellspacing="0"> <tr> <td width="535"><form name="Add_Record"><form action="insert.php" method="POST"> <p class="Headings"><strong>Add a Record</strong> </p> <p>First Name: <input type="text" size="20" maxlength="20"name="firstname" /> Last Name: <input type="text" size="20" maxlength="20" name="lastname" /> </p> <p>Days …

Web Development first-post html-css javascript php
Member Avatar for hielo
0
186
Member Avatar for markolini

guyz pls i need help writting d php script for a registration form...i want all the contents of the form to be emailed to an email address i will provide here is a copy of the html code, its juss the php script i need not pls someone help [CODE]<FORM …

Web Development email php
Member Avatar for diafol
0
235
Member Avatar for techie929

Hi, I want to calculate the number of days between two dates. Date is in the below format: First Date : 2010-09-27 05:00:00 Second Date : 2010-10-1 08:00:00 Thanks.

Web Development javascript
Member Avatar for Airshow
0
329
Member Avatar for hbat66

Subject PHP: Echo SimpleXMLElement Object Data Out to 3 Column HTML Table Post Hello everyone. I am working with Simple XML Element object data and PHP code. I want to echo out that data into a 3 column HTML table and have run into some trouble. I am currently able …

Web Development html-css php xml
Member Avatar for rdc
0
465
Member Avatar for Shaswat

can anyone explain me add to cart script.i have read it in some sites but dont know what it means. can anyone explain a simple one?

Web Development php
Member Avatar for Kieran Y5
0
67
Member Avatar for sen4ik

Hi I am parsing .csv file which contains 21 000 records. While i am parsing it i insert records in database. It is taking about 40 second for script to parse the file. User will not sit and wait 40 seconds - he might close page. How can i print …

Web Development php
Member Avatar for MooGeek
0
64
Member Avatar for gauri_agr

Hi All, I am new to Ajax. I have updated my website with Ajax code. How should I get unique url after click on menu. I mean if I click on "about me" on my website yogawithgauri.com. the url in the address bar should be yogawithgauri.com/aboutme Please let me know …

Web Development javascript
Member Avatar for Protuberance
0
119
Member Avatar for marketingmaniac

This use to work for me when i placed it in the browsers address bar to follow someone on twitter. [CODE]javascript:alert($('.follow-button').click());[/CODE] does anyone know how to not follow with a similar code in the address bar? been trying everything but cant seem to get the rite code down.

Web Development javascript social-media
Member Avatar for marketingmaniac
0
134
Member Avatar for MackAttack30

Hi forum, This will probably be an easy one but i have a situation where i have multiple PHP/HTML <SELECT> tags. So i hold their id and name in an array. When i go to call this enableBox JavaScript function and i try to call the selectorName[] using the getElementById …

Web Development javascript php
Member Avatar for MackAttack30
0
325
Member Avatar for ceeandcee

Good Morning, I am looking for some code that will simply echo "0" when the result is negative. I dont want it to output a negative number. Here is the line I am looking to add this to: [code] echo $row['GP1011_'.$wk.'']-$row['GP1011_'.$prev.'']; [/code] Any help is appreciated. Thanks Chris

Web Development php
Member Avatar for nevvermind
0
114
Member Avatar for gyannitin

Hi All, When I am fetching a photo from the database, it is getting save into my tomcat server root directory. Now to use this photo i have to give path as C:\Program Files ...... I dont want to hard code this path in any of my web page. Is …

Web Development image java-jsp web-server
Member Avatar for gyannitin
0
87
Member Avatar for anandhikrishnan

Hi all, I have a jsp page. It display a table contain 3 columns. 1st column display color name, 2nd for purpose of color like that.. Now i need the contents in td element to editable. This is the sample code. here status is a vector table. out.println("<td align=left class=formlabel1 …

Web Development javascript
Member Avatar for Protuberance
0
741
Member Avatar for madsy

hi there.. well lets say I do have a multidimensional array of the sort shown below.. Now I do need to pass on the arrays using checkboxes..!! how do I assign single row to each checkbox so that when I onclick it posts the value to the function on the …

Web Development php
Member Avatar for madsy
0
153
Member Avatar for mangel.murti

i have a form and text box where user can enter amount on the basis of that amount tax rate fetch from mysql.the query below working well but when user input above 50000 , i want tax_rate should be calcuated according to 35%.. ...it givning me empty result,,, how to …

Web Development php
Member Avatar for mangel.murti
0
98
Member Avatar for dandixon

Right the code below selects staff members from the database by the column gp(group) which enables me to select all or filter down by their group, but i need certain members to appear in more than one group any ideas would be much appreciated [CODE] <form name="staff" action="staffs.php" method="POST"> <select …

Web Development php
Member Avatar for dandixon
0
136
Member Avatar for jain.vrish

hi all i am using gridview control and i want to focus gridview after editing.please give me its solution ASAP. [code] <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True" DataSourceID="SqlDataSource1"> <Columns> <asp:CommandField ShowDeleteButton="True" ShowEditButton="True" /> </Columns> <EmptyDataTemplate> There is No data. </EmptyDataTemplate> </asp:GridView> [/code]

Web Development asp.net
Member Avatar for jain.vrish
0
75
Member Avatar for Zill

Hi, i have a php script form, and i want to use the js confirmation alert, the problem is, this echo "<script> var yes=confirm('warever you want'); if (yes){}<---here i want to plase something in php code else{} </script>"; $confirm='yes' how can i math bouth codes?

Web Development php
Member Avatar for Ithisham
0
200
Member Avatar for subhankar02dey

I have a gridview in which i populate data about books in a library. There is a column as 'Book Name' in the gridview. I want to make this column as linkbutton. And whenever I will click the linkbuttons, the details of the corresponding book will be displayed in another …

Web Development asp.net
Member Avatar for siju kuriakose
0
3K
Member Avatar for sugumarclick

Hi folks, This is my first thread in Spring Framework and I am new to it . While creating a web app in Spring framework I cannot deploy it as it contains few errors. I couldnot resolve. So i seek help from you . . Bean creation exception is the …

Web Development java java-jsp spring-framework
Member Avatar for sugumarclick
0
491
Member Avatar for rori

hi all i am working on a website that will display projects and many images for each project. i want to make an interface for the website admin to login and add new projects and images for each project. i was wondering whats the best way to store the images …

Web Development display php
Member Avatar for ZubiluNajmal
0
116
Member Avatar for thinstaafl

Please help! I have a form with checkboxes. When one or more checkboxes are clicked, I want the program to dynamically create a div, assign that div an editable text area, then when user clicks submit, I need it to gather the input from EACH textbox and output that to …

Web Development javascript xml
Member Avatar for sana3366
0
217
Member Avatar for phaedrusGhost

Hi all, I mistakingly posted this in the PHP forum but hope to find my solution here. I am trying to make a dropdown system for states and cities but the cities aren't coming up correctly. I have this on the root page: [code] <? echo "<form name=sel>\n"; echo "States …

Web Development javascript session
Member Avatar for phaedrusGhost
0
165
Member Avatar for adityaagrawal

Sir, I have developed a few simple projects using Netbeans IDE.They contain JSPs,Servlets,Java Classes and i use Mysql as database.Please guide me how to place them on internet.how will the databse work.I have created (exported) a[B] .sql[/B] (dump file) of my databse. I Understand that i will have to register …

Web Development ide java java-jsp java-netbeans
Member Avatar for adityaagrawal
0
208
Member Avatar for jonathan96

Basically, Im trying to get a list of groups that a member is part of in an array (excluding a few), and limiting it to certain status in that group. I want all the values returned from the query to go into an array. The problem is, when I do... …

Web Development php
Member Avatar for vibhaJ
0
100
Member Avatar for samsons17

Hi.. I've just finished built my website,and now what left is to create the login page so that i could do the admin things.. For this website i just have one user only that is me.. So ,should i create the database for the login page or not? is that …

Web Development php
Member Avatar for swilliamrobert
0
247
Member Avatar for lse123

[code]<cfquery datasource="yyyyyy" name="getData1" > SELECT Category FROM Products WHERE Product_ID=#displayImg2# </cfquery> <cfset PosInCatOfImg= > // how learn position of this Product_ID in getData1 query result data of Products ?[/code] eg is the 13th row ???

Web Development coldfusion
Member Avatar for jsmall26
0
164
Member Avatar for mattlorimor

When doing email blasts using CFMAIL and CFMailPart email accounts with gmail can not view the content, (it is blank). I am using the following construct: CFMAIL CFMailPart type="TEXT" Text version of EMail here. CFMailPart type="HTML" HTML version of EMail is here. No one seems to have a problem except …

Web Development coldfusion
Member Avatar for jsmall26
0
160
Member Avatar for jamesyrawr

hey i seem to get this everytime i run this file within my login script Warning: mysql_result() expects parameter 1 to be resource, boolean given in C:\wamp\www\Isis\login.php on line 16 can anyone help me please? heres my code [CODE]<?php $username = $_POST['username']; $password = $_POST['password']; $login = $_GET['login']; setcookie("username", "$username", …

Web Development php
Member Avatar for vibhaJ
0
127
Member Avatar for Dheeraj Kumar

when we use header for redirecting, it will be redirect immediatelly. so how can page is wait after the redirct another location. I am request to all of u, if you have any suggession or code, please help me. Rgds. Dheeraj

Web Development php
Member Avatar for jogesh_p
0
285
Member Avatar for Nathaniel10

I manage a small website. I went over the logs this morning and found a page reference on the site that should not have been there. It was of the format "/xmlrpc.php". I did a search for the term and found the XMLRPC website. I didn't understand what was written …

Web Development php xml
Member Avatar for Nathaniel10
0
120
Member Avatar for Nathaniel10

I manage a small website. I went over the logs this morning and found a number of pages or page references on the site that should not have been there. Most were of the format "/_vti_bin/". I did a search for the term and learned about the Front Page debacle. …

Web Development php windows-server
Member Avatar for Nathaniel10
0
160
Member Avatar for Nathaniel10

I hope this is the correct forum for this question. I manage a small website. The site uses a database with MySql. When I launched the site, around 3 years ago, the PHP code I wrote had minimal security and validation in PHP because I relied on javascript validation for …

Web Development php
Member Avatar for hielo
0
144
Member Avatar for momo219

Hello all I have a form working perfectly, however I need to put this form in a $display_block .= "... ... ..."; which I have done and which works fine also (minus the following radio code). My problem is that when I add this code back inside the display block, …

Web Development php
Member Avatar for momo219
0
121
Member Avatar for dalip_007

Hi all I want to make sure that my password field should contain numbers as well as letters i am using something like function isAlphabet(elem, helperMsg){ var alphaExp = /^[a-zA-Z]+$/; if(elem.value.match(alphaExp)){ return true; }else{ alert(helperMsg); elem.focus(); return false; } } but it does nothing when there are letter in field …

Web Development javascript
Member Avatar for dalip_007
0
100
Member Avatar for rahul_galgali

Hi guys, I have prepared a website using php,html and back-end as mysql,and now i want it to launch as a website plz tell me how to configure and create a webdomain.Currently i am using Xampp server to create a website.........plz help me guys. But i want to launch it …

Web Development php
Member Avatar for sidneyharris
0
220
Member Avatar for aldm

Hi. I have a problems with slovenian characters. I have a text file that has a letters like č,š etc. I want data from that file to store in my database. I tried utf8_encode and mb_convert_unicode but it doesn't work. Anyone can help?

Web Development php
Member Avatar for nevvermind
0
169
Member Avatar for H_TSOPELAS

i serch about 1 month to find a script that names biorhythms and i found a script! my problem is that the script works in internet explorer but not in firefox and i do not know why! i will sent the code...can any one help me and say to me …

Web Development javascript
Member Avatar for Airshow
0
166
Member Avatar for NBLWebmaster

This question refers to this sample page on my test site: [URL="http://www.twdesign.ca/up/display_tattoos_2009.php"]http://www.twdesign.ca/up/display_tattoos_2009.php[/URL] The following section of PHP code: [CODE=php] <table cellspacing="0" cellpadding="0" border="0" align="right"> <?php while($row = mysql_fetch_row($result2)) { $active = $row[0]; $imagenum = $row[1]; echo "<tr><td><a name='placeholder$imagenum' href='display_tattoos_2009.php?in=$imagenum' onClick='swap('toppic','$imagenum')'><img class='opacity' name='$imagenum' id='$imagenum' src='tattoothumbnails/$imagenum.png' width='72' height='72' alt='$imagenum'></a></td></tr>\n"; } ?> </table> …

Web Development html-css javascript php
Member Avatar for hielo
0
162
Member Avatar for ktyler

I have the following code (at the end) that will create a new distribution row dynamically. Everything looks good on the page and here is the innerHTML for the new row: [code] <TD style="WIDTH: 10px">&nbsp;</TD> <TD colSpan=4>Distribution to: <INPUT name=newdistacct> <INPUT name=newdistshare> <INPUT type=checkbox Name="newdistdefault"></TD> <TD>* New</TD> <TD><INPUT style="TEXT-ALIGN: right" …

Web Development javascript
Member Avatar for Taywin
0
137
Member Avatar for SSMuller

I am getting the exception in firefox 3.6.10 "Illegal operation on WrappedNative prototype object" nsresult: "0x8057000c (NS_ERROR_XPC_BAD_OP_ON_WN_PROTO)" <myfilename>::anonymous::line 172 I am using prototype.js and the line as folows, var dropInsertBeforeElement = createElement("<div id='drop_insert_before_" + this.id + "' style='height:6px; width:" + totalWidth + "px;'>"); The exact place in prototype.js var Enumerable …

Web Development javascript
Member Avatar for hielo
0
261
Member Avatar for midjam

Hi this is driving me a little crazy, have been looking everywhere for a solution for the last few days. I'm new to php and i'm trying to create a simple food shopping cart, i have a repeat region for food extras attached to the food item. [CODE=php]<table width="100%" border="0" …

Web Development mysql php programming-construct
Member Avatar for midjam
0
203
Member Avatar for danimal132

When I use a GET request from a browser address bar… [URL="http:/example.com/vast/1/73188"]http:/example.com/vast/1/73188[/URL] …it loads and displays an XML output. If you then refresh the page a new file loads. Actually, there are something like 5 different titles with load in rotation as you re-call/re-fresh the page. That’s all well and …

Web Development php xml
Member Avatar for hielo
0
285

The End.