52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for shamsidah

[U]Table's name: grandTotal[/U] (have two fields :defect_code and total) defect_code total LM 23 FM 15 DF 5 How this data can be an array like this array("LM" >=23, "FM">=15,"DF">=5) using query? please help me..:S

Web Development php
Member Avatar for shamsidah
0
121
Member Avatar for mundvawala

Hi, I want to append the content of an already defined "old div" tag to the "new div" tag dynamically but as I'm new to javascript i don't have any idea that how to do this. The code i tried is attached below. And one more question, how to remove …

Web Development html-css javascript
Member Avatar for niranga
0
223
Member Avatar for mandible

I just want to create a file where I can test code idea's in. Basically I want to save a test.jsp file to my file system then open that up with a browser and have it execute the jsp code contained. Is that possible? Here's a simple test that I'm …

Web Development java-jsp regex
Member Avatar for Sadun89
0
233
Member Avatar for vedro-compota

hi there) guys, please tell me - is it any way to make associative array in php without assignment values to the arrays elements? in my situation i need to read indexes names from txt-file -so i can't immediatly give them values.....what will you advice in this situation? Is there …

Web Development php
Member Avatar for cereal
0
96
Member Avatar for AODfan

Ok, so I am working a project where one of the last parts is to have a hidden field in the form to pass the product id with everything else in the url parameters. As of right now I have it setup to grab product info for an external file …

Web Development html-css javascript
Member Avatar for urtrivedi
0
311
Member Avatar for nfaezah

i try to run this code but it returned this error : Parse error: syntax error, unexpected T_STRING in C:\xampp\htdocs\removeproducts.php on line 31 could u please help me........ <html> <head> <title>removeproducts</title> <meta http.equiv="Content-Type" content="text/html; charset=iso-8859-5"> </head> <body bgcolor="#FFFFFF" text="#000000"> <p>&nbsp;</p> <table width="37%" border="0" align="center" cellpadding="0" cellspacing="0" height="66"> <tr> <td bgcolor="#000000" …

Web Development php
Member Avatar for pritaeas
0
77
Member Avatar for rpv_sen

Hi friends i am having n number check box, if i checked one check box it has to select all the similar values of the check box and the other check box should be disable. can any one help me to solve the issue i am having a java script …

Web Development javascript php
Member Avatar for rpv_sen
0
202
Member Avatar for skunkmedia

Hello all, First and foremost I would like to thank anyone who will end up contributing to this thread. I'm relatively new to PHP/MySQL and did a site migration for a client to a different server. The website was working perfectly fine before, however now I am getting these errors. …

Web Development client-server html-css mysql php
Member Avatar for simplypixie
0
304
Member Avatar for jithusdani

hi freinds,, In my application i have to send email to a specified email, I have done this and its working fine , Now I want to send some word attachment in the same email id. The word attachment will select the user through the application as browse option just …

Web Development email php
Member Avatar for dean8710
0
167
Member Avatar for abathurst

Hello, I am having trouble inserting data from a XML file into a table in a SQL data base. The worst thing is it isn't coming up with an error but nothing is being inserted into the database Here is the condensed version of the XML code I am using …

Web Development asp.net sql visual-basic xml
Member Avatar for abathurst
0
2K
Member Avatar for Aardwolf

I don't know how to do this for Javascript, but I can explain in PHP as I have further experience in it. maybe someone can translate. A textbox's value is "username", and it needs a onclick javascript code that makes it 'this.value = ""' When users click the textbox that …

Web Development javascript
Member Avatar for Aardwolf
0
403
Member Avatar for Nithya.G

how to use password recovery control in my .net application using C#.

Web Development asp.net
Member Avatar for crishlay
0
187
Member Avatar for abathurst

What I am trying to do is have a user enter a word into a text box and retrieve the information from a SQL database where the 'entered word' eqauls that a column. I have this working perfectly but now I would like the user to be able to enter …

Web Development asp.net session sql
Member Avatar for abathurst
0
248
Member Avatar for jfunchio

I have the registration form and everything seems to work good except when I try to insert the data into the table from the query in the php code. It will submit, but when i check the database the data is not in there. I tried multiple ways, but none …

Web Development php sqlite
Member Avatar for jfunchio
0
882
Member Avatar for narekm

Hello there. I am sooo despared since I cant make this work here is what I have in my logged_in.php file. <html> <?php echo "Welcome: "."<b>".$_SESSION["username"]."<b/>"; ?> <head> <div id="ajax"></div> <script type="text/javascript"> function createXMLHttpRequest(){ var XMLHttpRequestObject=false; if(window.XMLHttpRequest) { XMLHttpRequestObject=new XMLHttpRequest(); return XMLHttpRequestObject; } // else{ if(window.ActiveXObject) { XMLHttpRequestObject=ActiveXObject("Microsoft.XMLHTTP"); return XMLHttpRequestObject; …

Web Development php session
Member Avatar for jmichae3
0
247
Member Avatar for ebanbury

Hi I have a php page, in which I would like users to be able to 'renew' a product by clicking on a button 'renew' There are no form fields to post though, as information is just shown to the user via a recordset. So basically they see their product …

Web Development php
Member Avatar for jmichae3
0
135
Member Avatar for JamesPublic

I'm trying to use the Fb PHP SDK to execute different Js document.getElementById innerHTML functions, depending on whether the user is logged in to Fb or not. For some reason the function won't work for me. I know my API connection is successful, and Javascript can be inserted here, as …

Web Development javascript php social-media
Member Avatar for jmichae3
0
218
Member Avatar for Ingska

Hi! I have some forms that i have used to send to my e-mail using the php mail() function. I have had som issues with it because the mailservice i am using is not on the same server as the domain, so now i am forced to change the way …

Web Development php
Member Avatar for NameSet
0
230
Member Avatar for siva28

i need a solution... create a web page using send mail option. so mail send to mail id as well as to mobile. also i login through mobile. when i enter using mobile automatically enter my area of web page. is this possible? for example..im client of one website. using …

Web Development php
Member Avatar for jmichae3
0
205
Member Avatar for jaycastr

Hey Guys my goal for this multi dimensional array is to document the answers (right or wrong) for a test that the user is taking. In the beginning the test array is set up. as the user goes throught the questions the app should add to the array. Note: the …

Web Development javascript
Member Avatar for jaycastr
0
106
Member Avatar for cmps

Hello, I want to know if I am doing a list of students, which are executed from database (mysql), does the number of data influence in the speed of the page load? if yes: What to do ? And for how much data should I start to think for a …

Web Development php
Member Avatar for cmps
0
130
Member Avatar for karthik82vk

Hi, I am working with a web application with MySQL as the backend in asp.net. I need to insert values in a table called ACS. The code is working fine and i am able to insert values. But the problem i am facing is the values are getting stored as …

Web Development asp asp.net html-css mysql
Member Avatar for hericles
0
292
Member Avatar for rayidi

Dear Friends, I'm developing a website that can show online users, When ever a user logged we can update the status to "Online" On our database. Now i'm using AJAX. Is it possible to show the online users without refreshing a page ? That means timed interval for a ajax …

Web Development javascript php
Member Avatar for makman99
0
172
Member Avatar for jwhite68

Hi I have a script in PHP prepared by a third party some time ago, and when I open it up in Dreamweaver, it just looks a mess. I am not so familiar with Dreamweaver, but is this just a setup issue? Do I need to import all the files …

Web Development html-css php
Member Avatar for diafol
0
147
Member Avatar for opjjuly

Hey guys, Im trying to code a body shape calculator using PHP maths functions, its giving me a headache:confused:. I have tried coding the body shape calculator with the following values, but it jus gives undesirable results:yawn:. Is it my code or the problem is with the ratios? [B]Apple:[/B] 0.8 …

Web Development apple php
Member Avatar for blocblue
0
162
Member Avatar for Poonam Jadav

hello i am a student ane new to php i have a code here i want to pass the data from one page to another but i m not able to do so plz check both the code and please help [CODE] <html> <head> <title>update_tanenet</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link …

Web Development html-css javascript-jquery php
Member Avatar for simplypixie
0
129
Member Avatar for jsrpatna

Hi All, I've this problem with cookies. I am lost as I can't understand why this code does not work as expected. Please help!! [CODE] $rq =$_REQUEST['r'] ; $value = $_REQUEST['v']; setcookie("XYZ",$value, time()+60*60*24*30) ; echo "Value is ".$value; if ($rq =='showdata'){ print_r($_COOKIE); echo "Cookie is".$_COOKIE['XYZ']; exit; } [/CODE] Output: when …

Web Development php
Member Avatar for diafol
0
88
Member Avatar for Martin C++

I m not sure if thats right section, but I m pretty sure it's done with PHP. So the question is, how can I change a conetent inside a division without navigation to new page. For instance I have 4 division. Header, links, content, footer. Now if i click some …

Web Development php
Member Avatar for diafol
0
1K
Member Avatar for tobeeornot

Hi, New to wordpress and php so please bear with me. I am using WAMP as a testing server and Dreamweaver CS5 as a text-editor to manipulate the theme files. I have successfully set up a live local connection between WAMP, WP and DW and can view the live index.php …

Web Development ide php wordpress
Member Avatar for tobeeornot
0
481
Member Avatar for Martin C++

Probably a stupid question but why does the following loop works ? There is nothing wrong with it I just want to understand how does this code know how many entries I have in database. [CODE=PHP] $result = mysql_query("SELECT * FROM post_categories"); while ($row = mysql_fetch_array($result)){ echo $row['Name']; } [/CODE] …

Web Development mysql php
Member Avatar for cereal
0
3K
Member Avatar for cmps

Hello, I want to display all data from database (repeat) and not only the last one: In classic php I do this using: [CODE]... $row_record = mysql_fetch_assoc($record); do { echo 'Record <br />'; }while($row_record = mysql_fetch_assoc($record))[/CODE] In advanced php (using class) I decided to create my own way, so here …

Web Development php
Member Avatar for cmps
0
183
Member Avatar for iinviktus

Hi all- I'd like to change the buttons below used to change images to links/images instead. Any help would be appreciated! Thanks. [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> <style> </style> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script> <script type='text/javascript'> onload = function() { var buttonData = [ {src:'fareast.gif', href:'http://google.com'}, …

Member Avatar for Airshow
0
197
Member Avatar for jaycastr

I have save formulas and variables in a database and when I retrieve them I want php to calculate the value like so [CODE] $x = .0832; $y = .0673; $z = 1.5; $formula = '$x -(($x-$y)*($z-1.0))'; $newformula = str_replace('$x', $x, $formula); $newformula = str_replace('$y', $y, $newformula); $newformula = str_replace('$z', …

Web Development php
Member Avatar for diafol
0
1K
Member Avatar for trektrak

Hello, Is it possible to get data from another web server (not local webserver) using php and by that I can create the php connection to store into local mysql ... ? Any ideas?

Web Development php web-server
Member Avatar for trektrak
0
77
Member Avatar for lordx78

auth.php [code=php] <?php // start session session_start(); // convert username and password from _POST or _SESSION if($_POST){ $_SESSION['username']=$_POST['username']; $_SESSION['password']=$_POST['password']; } // query for a user/pass match $result = mysql_query("SELECT * FROM users WHERE username='" . $_SESSION['username'] . "' and password='" . $_SESSION['password'] . "'"); // retrieve number of rows resulted …

Web Development php session
Member Avatar for markashworth
0
4K
Member Avatar for rimilbadal

i have a page that has a textarea (id="elm1") i post this value to the same page when a submit page is clicked to send the value of the textarea in a html mail the textarea will contain html code but when i use it only the text comes in …

Web Development email html-css php
Member Avatar for rimilbadal
0
931
Member Avatar for rse

Hello, I managed starting a session and store some data when a user login to the system. The user can edit his/her prifile by clicking on edit, then some of the data will show in the edit form. Now I have the form with empty fields and I need to …

Web Development php session
Member Avatar for rse
0
139
Member Avatar for jaycastr

Hey Guys, My problem is that i want to get a random number given a specific range. But it the range is a small decimal or float it rounds up. Here is what i have so far [CODE] $xl=$row['x_lower']; $xu=$row['x_upper']; if(isset($xl) && isset($xu)) { $x = rand($xl,$xu); echo $x; } …

Web Development php
Member Avatar for diafol
0
111
Member Avatar for DarkWolffe

I have an [URL="http://pantheonarts.host22.com/xml/feed.xml"]RSS feed[/URL] set up using XML on the website I've developed for [URL="http://pantheonarts.host22.com/"]Pantheon Arts Unlimited[/URL]. I'm still fairly new to PHP and MySQL, so I find myself often jumping to various forums looking for answers for what are usually fairly obvious questions. My newest problem, however, I've …

Web Development php wordpress xml
Member Avatar for DarkWolffe
0
191
Member Avatar for aadebayo

Hello I have got a code below that works perfectly in generating html via PHP. However, I will like to export the results into PDF or Micorsoft word, but I am struggling. Please can anybody point me in the right direction [CODE]// Get house group details for this member //$memberRecord …

Web Development html-amp html-css legal pdf php session
Member Avatar for aadebayo
0
121
Member Avatar for exidez

Im new to javascript so im sure there is a lot i am missing in its understanding. What i am trying to do it create a layer of images so that it looks like a pile of cards. have seen similar codes and have tried to follow their idea but …

Web Development javascript
Member Avatar for Airshow
0
148
Member Avatar for stanley87

May i know how to matching 2 array keywords? e.g I have 1st array keyword like kfc,mcd,fastfood,etc 2st array keyword like kfc,mcd If i want to get the matching keywords among these 2 arrays, how to i write the matching code? Thank advance for your help.

Web Development php
Member Avatar for stanley87
0
192
Member Avatar for rahul bora

dear all net visitors how can i create a frame in web page using html

Web Development html-css javascript
Member Avatar for Airshow
0
60
Member Avatar for azegurb

hi all, I have script that sums all textboxes value from dynamically added row, but still i have problem with the script. below listed two version of script [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" xml:lang="en" lang="en"> <head> <title></title> <script type="text/javascript"> /*<![CDATA[*/ function addRow() { // grab …

Web Development javascript
Member Avatar for Airshow
0
301
Member Avatar for DarkBerzerk

I need Video Gallery With cPanel, i searched all over the World Wide Web and found nothing xD doesnt matter free or for money, im ready to pay for it, Video Gallery With cPanel to upload and edit and those things. :/

Web Development cpanel php
Member Avatar for diafol
0
111
Member Avatar for twitah

[CODE]<?php include('header.php'); foreach($_POST as $key => $value) { $protectie[$key] = filter($value); }if(isset($_POST['submit']) && $_POST['type'] == "facebook") { $num1 = mysql_query("SELECT * FROM `facebook` WHERE `facebook`='{$protectie['url']}'"); $num = mysql_num_rows($num1); if($num > 0){ $mesaj = "<div class=\"msg\"><div class=\"error\">Facebook Pages has been added before!</div></div>"; }else{ mysql_query("INSERT INTO `facebook` (user, facebook, title, points, cpc) …

Web Development mysql php
Member Avatar for diafol
0
155
Member Avatar for bibiki

Hey there, I am trying to build a small survey for a homework assignment. So, I have the following code: [CODE] $con = mysql_connect("localhost","user", "mypassword"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("mydatabase", $con); $slq = "INSERT INTO results VALUES('', '', '', '', '', '', '', '', …

Web Development mysql php
Member Avatar for bibiki
0
153
Member Avatar for waveydaveywaves

I have literally been banging my head on my keyboard out of frustration. I'm trying to display PHP sessions as values in my php form, but it's not going so well. here's what I have: [CODE]<?php session_start();?><html> <head> <title>Create An Event</title> <style> label {float: left; width: 100px;} input[type=text],textarea {width: 210px;} …

Web Development php session
Member Avatar for diafol
0
226
Member Avatar for hotice47

Hi i have a form which is used to post jobs. i have multiple checkboxs for location's i need a way in which i can save all the values which are checked into single table or two . right now i have a table called jobs in which all the …

Web Development mysql php
Member Avatar for diafol
0
140
Member Avatar for crishlay

Hi I want to make website like [url]www.polyvore.com[/url] can anyone know me how i can make clone of this website. What tools or third party tools i have to use ?

Web Development php
Member Avatar for diafol
0
80

The End.