52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for joeyfm

So heres my issue... I am a student studying php and as a project am making an online php phonebook. It is database driven, and currently I am having issues with the delete page. the code for this is below and the website is online and said page can be …

Web Development html-css php
Member Avatar for nuttyniall
0
115
Member Avatar for novedturn

The issue I am having is the following: Table1.FieldA is unique where as the Table2.FieldA field is not. When I run the following: SELECT Table1.Numbers, Table2.Numbers FROM Table1, Table2 WHERE Table1.ID = Table2.ID I get mutiple records like so: ID Name Numbers 125 John Doe 555, 556, 557 125 John …

Web Development mssql php
Member Avatar for novedturn
0
94
Member Avatar for Moderns

Hi mates, I have a php page called "get_http_vars.php" that's hidden and not browsed in browser and only used to receive HTTP GET response variables from remote server. The problem the value of $_SESSION['id'] is empty when the HTTP GET variables are received (I mean when the page gets response …

Web Development php
Member Avatar for Moderns
0
193
Member Avatar for ben.marks

Hi there, Got some form validation but doesn't seem to even be running through it. First off the form is displayed, if you click in 'Name:' the 'ID:' box disappears so that you cant type in both, after it disappears (and vice versa), the validation should check its correct, but …

Web Development javascript
Member Avatar for ben.marks
0
211
Member Avatar for Sorcher

Hello! I am trying to understand how i could make a profile page for each of my members. They all got an unique folder and i need to make something for the index. I was thinking...can i get the last word in [url]www.example.com/u/user22[/url] and compare "user22" to the $_session['username'];, and …

Web Development php session
Member Avatar for nuttyniall
0
168
Member Avatar for dudzkie

hello there, i'm currently studying php and i have no idea about some codes im trying to learn how to compute a total amount that i called from a database its like this i call this data from a database using SELECT * FROM Item Price book 5.00 pencil 3.00 …

Web Development php
Member Avatar for mschroeder
0
90
Member Avatar for fawadkhalil

Hi people I have radio button list populated from database. By default first value is selected. How can i call JavaScript function if user selects another value in radio button list.

Web Development asp.net javascript
Member Avatar for jbisono
0
136
Member Avatar for ello

Guys, just a quick question, is there any way to get this AJAX to be called on a button click? I know how to use buttons to call JS functions but I'm not sure where to add the open and closing parentheses with this AJAX...I've tried encasing different parts, but …

Web Development javascript
Member Avatar for McLaren
0
224
Member Avatar for kischi

Hi, I've made a form and it can send an e-mail with the text the person filled out. But now I'm trying to do so the person can upload a file and that will be included in the e-mail as an attachment. I think the problem is that I don't …

Web Development php
Member Avatar for kischi
0
161
Member Avatar for kirtan_thakkar

I want to get details of user when he registers with my website for security reasons. I need ip and date and time I guess. Is there anything else I need to cache while registering? How to get ip,time and date? And time will be in which timezone? I want …

Web Development lan-wan php
Member Avatar for kirtan_thakkar
0
2K
Member Avatar for manish250

hello all i have a jsp project when i run this using apache-tomcat on windows server 2003 a pop up window open in the top of the page notifying about the active x control.when i move the mouse over menu bar item it is not showing drop list.i an not …

Web Development java-jsp perl web-browser
Member Avatar for manish250
0
258
Member Avatar for 123mehran

Hi I wanna when checkbox checked write 0 to 5 in my list box please help me thanks

Web Development asp.net
Member Avatar for Pgmer
0
106
Member Avatar for McLaren

Here is the button: [CODE] <input class = "preview" type="submit" name = "Preview" value="PeržiÅ«rÄ—ti" /> [/CODE] and here is the submit: [CODE] $('input.preview').click(function() { $('form').attr( 'target', '_blank' ); document.myform.submit(); }); [/CODE] So when I submit with jquery, and try to get with php the data [CODE] print_r($_REQUEST['Preview']); [/CODE] It does …

Web Development javascript javascript-jquery
Member Avatar for McLaren
0
133
Member Avatar for soomro_moon

can any one help me out.what is the problem with this code? [CODE]<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <script type="text/javascript"> function combofunction(){ // actions that you want to perform //You will receive a different greeting based //on what day it is. Note that Sunday=0, //Monday=1, Tuesday=2, …

Web Development javascript
Member Avatar for Shanti C
0
133
Member Avatar for bkv.kannur

I am using ajax to pass php variable to javasccript function as shown below for my particular application. i am using the foolowing function from ajax.js freely available from net to implement the ajax functionality as var abc = new sack(); PHP portion which passes the response text: ************************************ <? …

Web Development javascript
Member Avatar for SatishU
0
666
Member Avatar for Sarao

[code] <style> font-size: 14px; font-weight: normal; font-family: Tahoma, Geneva, sans-serif; } .bar { font:"Free 3 of 9 Extended"; font-size:14px; } .K2 { font-size: 14px; font-family: tahoma, Geneva, sans-serif; } .ff { font-family: "Courier New", Courier, monospace; } --> </style> <?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' …

Web Development php
Member Avatar for SEOCoder
0
151
Member Avatar for pankaj.jainin

i work with fileupload control in asp.net.i require that when a page is load ,my file upload control fills same path which store in my database. if any substitue of this control which work like that.

Web Development asp.net
Member Avatar for umair.sabri
0
123
Member Avatar for guggilosmodz

Can you please tell me where i am going wrong i am trying to insert just the username and stuff into my database and its not showing up please help me ASAP! it is connecting to the server okay its just that for some reason its not showing up in …

Web Development php
Member Avatar for lyrico
0
91
Member Avatar for branding4you

me again ... been google'ing the last 3 days to slide images accross a php page, does anyone know of any to pull these image names from a folder in the directory of a website? Thanx mike

Web Development image php
Member Avatar for branding4you
0
106
Member Avatar for oree

I am trying to have a search bar where user will input a string ($var) which after i will search that sting in the field named: "itemname". i will search all the different tables in the database and create a new temporary database named: searchtable. seachtable should contain all the …

Web Development php sql
Member Avatar for oree
0
115
Member Avatar for Buppy

Hi, I have a HTML document with form. The form has several radio buttons. I want different elements of HTML (including <input> elements) to appear when each radio button is selected. Also, it is intended to show only those elements for a specific radio button. For example, if i select …

Web Development html-css javascript
Member Avatar for Troy III
0
723
Member Avatar for soomro_moon

why this code is not working? can any one help me? [CODE] <select id="cboOptions" name="cbo0ptions" onChange="displayDiv(this.value)"> <option selected="selected" value="">choose</option> <option value="1">Order 1</option> <option value="2">Order 2</option> <option value="3">Order 3</option> <option value="4">Order 4</option> </select> <div id="1" style="display:none;"> <fieldset> <legend>order line</legend> <table> <tr><td>Item ID</td><td><input type="text" readonly="" value="<? echo $c = uniqid(); ?>" /></td></tr> …

Web Development php
Member Avatar for jkon
0
118
Member Avatar for Macko888

[CODE]<?php function graphImage($numachieved, $weektarg) { //working out how many days are in the month $day = (date('t')/4.33333); //week1 $day1 = $day; //week2 $day2 = ($day*2); //week3 $day3 = ($day*3); //week4 $day4 = ($day*4); //tagert for the week $perWeek = $numachived; //height of graph $numtarg = ($weektarg*1); $numtarg2 = ($weektarg*2); $numtarg3 …

Web Development php
Member Avatar for jkon
0
327
Member Avatar for skald89

I have a form on page 2 and I want the information submitted on the form to be sent to page 3. How do i do that?

Web Development first-post php
Member Avatar for skald89
0
2K
Member Avatar for f_atencia

I have a client-side form and it submits to itself using the 'GET' method. When the form is submitted, I can get the results, but I can't seem to hide the form itself. Is there a way of doing this using Javascript in an ASP file? The document.getElementById("myDiv").style.display="none" doesn't seem …

Web Development javascript
0
70
Member Avatar for CSharpUser

I'm using the method below as a button-click event on an ASP.NET 4.0 page. The first alert box (ClientScript.RegisterStartupScript(...)) works fine, the second I haven't tested yet; but the third doesn't produce an alert - and it doesn't produce an error either. Can anyone suggest what I'm missing here? I'm …

Web Development asp.net
Member Avatar for CSharpUser
0
426
Member Avatar for Sarao

Hello, I am sorry to bother you all again. I am creating a script, which is used for storing the parcels sent. Now, I have done everything. Just need to add one feature. I have a MYSQL field named TRACKING which will hold tracking information or reciept numbers of the …

Web Development php
Member Avatar for kuink
0
192
Member Avatar for cjay175

Using Wordpress with update_user_meta and php array. Had a quick question regarding dynamic input fields and posting it to php. [CODE] <input type="text" name="test[]" /> [/CODE] These fields get added dynamically as well using jquery which works fine, the issue im having is posting the array individually. To save this …

Web Development php wordpress
Member Avatar for cjay175
0
104
Member Avatar for rperez100508

This JavaScript is not working in Mozilla Firefox and Google Chrome, can anyone please help me with this.. Thank you very much.. Please post your revised JavaScript if I am wrong.. please help.. thank you.. [CODE]<style type="text/css"> a {text-decoration: none;} .title {position: absolute; width: 150px; height: 20px; left: 10=px; z-index: …

Web Development javascript
Member Avatar for rperez100508
0
312
Member Avatar for Imratzio

Hi all, I have an error that once user has submitted information the header could not enter information. [CODE]Warning: Cannot modify header information - headers already sent by (output started at F:\root\xampplite\htdocs\fyp\top.php:62) in F:\root\xampplite\htdocs\fyp\login.php on line 219[/CODE] Heres my code [CODE]session_start(); include_once'top.php'; include_once "config.php"; //include_once "html.php"; switch (@$_POST['do']) { case …

Web Development php
Member Avatar for Imratzio
0
120
Member Avatar for JBLDW

I am trying to put together a script and need to be able to list a number of countries and to then say, in the script, if the country is listed in the above do something... The problem is that I do not want to have to specify each and …

Web Development php
Member Avatar for JBLDW
0
261
Member Avatar for burningcandle10

i want to convert this code to php, which will be used in wordress and i want this code to float on browser thanx [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Related Posts Slide Out Boxes with jQuery and CSS3</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta name="description" content="Related …

Member Avatar for Szabi Zsoldos
0
168
Member Avatar for diginamics

First page adds a new job number, then the order page loaded with the job number id as a get id. Basically there is a while loop in the order page which shows products/services client can order and he chooses what he requires 'one or eight services' (8 in total) …

Web Development php
Member Avatar for diginamics
0
169
Member Avatar for crobson

I have a response.redirect in an asp page that works fine in chrome, opera, firefox etc but doesnt work in IE8. The code is simple enough, as below: dim news_item news_item = Request.QueryString() Response.Redirect "newsitem.asp?id=" & news_item The page is news.asp, that was writen by previous developer that has one …

Web Development asp
Member Avatar for AceDesignz
0
271
Member Avatar for sillverstixx

I get this error while executing this code: [CODE] for( $iii = 0; $iii < $tot_layers; $iii++ ) { $Lrow = mysql_fetch_array($Lresult); if($HTTP_POST_VARS[$Lrow['name']] != 'spacer.gif') { if($nulavatar == false) { $sprite_1 = @$imagecreate($phpbb_root_path.$sprites_path.'/'.$HTTP_POST_VARS[$Lrow['name']]); $nulavatar = true; } else { $image = @$imagecreate($phpbb_root_path.$sprites_path.'/'.$HTTP_POST_VARS[$Lrow['name']]); @imagecopy ($sprite_1, $image, 0, 0, 0, 0, $tot_width, …

Web Development image php
Member Avatar for sDJh
0
257
Member Avatar for jehuie

Hi, I'm a total newb. I'm wanting to test out a PHP program so I installed apache on my Win7 machine along with PHP. I actually used the wamp install that installs the above along with MySql and some other goodies. Anyway, it all seemed to install fine but when …

Web Development apache php
Member Avatar for kuink
0
181
Member Avatar for newbie14

Dear All, I am not so clear about jQuery actually what is it and how it function and different from Ajax? Can some one help me clarify? Now I required a functionality where I can drag and drop with the backend mysql capability to update the db. What will be …

Web Development javascript javascript-jquery
Member Avatar for newbie14
0
85
Member Avatar for McLaren

[CODE]function name_free(value, element){ //validation rule var result; if($('input[name="name"]').val() != value) { //console.log($('input[name="name"]').val()); $.post(CI.base_url + "admin_/info_psl/name_check_ajax", { pavadinimas: value}, function(data){ //console.log(data); if(data == 'true') result = true; else result = false; }); } else result = true; //jei vienodi tai viskas ok console.log(result); return result; }[/CODE] when if($('input[name="name"]').val() != value) is …

Web Development javascript
Member Avatar for Airshow
0
143
Member Avatar for roymrinal123

Dear Sir Please Help Me that,I want to get result after Calculating here wag=4349 not as Wag=4349.25 that means just like Round Function In Excel [CODE]wag = (Val(bsc) / Val(DropDownList1.Text)) * Val(TextBox7.Text) TextBox9.Text = Val(wag) esic = (Val(bsc) / Val(DropDownList1.Text)) * Val(TextBox7.Text) TextBox9.Text = Val(wag) [/CODE] and also how is …

Web Development asp.net
Member Avatar for Fortinbra
0
105
Member Avatar for sandesh35

Hi, I want the rewrite url to work on the virtual dedicated server. so when someone enters the url without extension like http://megafastline.com/feedback , it shud display the contents of the page feedback.aspx The code work perfectly fine in the localhost, but when i uploaded this on the godaddy dedicated …

Web Development asp.net
Member Avatar for Fortinbra
0
138
Member Avatar for Witblitz

I am using an XML parser to get product info from a supplier site, I then break it into an array. What I need to be able to do here is to search for a specific model number code and it's accompanying data into a new single array. How do …

Web Development php xml
Member Avatar for Witblitz
0
103
Member Avatar for 123mehran

I want to write a web calculator in ASP.net vb please help me

Web Development asp asp.net
Member Avatar for Fortinbra
0
168
Member Avatar for larsh

Hi guys, Am new in this field, How can I program a text-box in a details-view template to perform a certain function?? [Code] Protected Sub LinkButton1_Click1(ByVal sender As Object, ByVal e As System.EventArgs) Dim tdate, fdate As Date tdate = Textbox2 fdate = Textbox3 Dim ts As TimeSpan = tdate.Subtract(fdate) …

Web Development asp asp.net
Member Avatar for Fortinbra
0
178
Member Avatar for liphoso

<html> <head> <title>Insert New Student</title> </head> <script language ="javascript" type="text/javascript"> function checkForm(formobj) { //name var formOK = true; if (formobj.name.value == "") { window.alert("You have to enter value for name."); formobj.focus(); formOK = false; } //surname if (formobj.surname.value == "") { window.alert("You have to enter a value for surname."); formobj.focus(); …

Member Avatar for hielo
0
102
Member Avatar for savitasagar

i used the image editor control of ajax but it is not able to edit the image or upload the image. i want to use image editor with upload the image

Web Development asp asp.net image
Member Avatar for umamahesh2020
0
264
Member Avatar for ak2011

hi. I have a list of names of flash files. On clicking anyone of them, flash file(.swf) whose path is know should play on the same webpage, on the right side of the list I know the code to play swf file. But here the file name has to be …

Web Development file-system flash javascript
Member Avatar for McLaren
0
129
Member Avatar for harshit99

i want to send mails to all those user who have logged in today at my website. by looking their last time of visit entries of the day in my database. i want the mails to be sent at a particular time like 11:30pm every day. how can i do …

Web Development java-jsp
Member Avatar for saduf
0
147
Member Avatar for vaibhav1983

Hi All, Does anybody know of some Modal Window API? I made a custom modal window for my website, but it gave problems in IE7. I need to put various forms like login, newsletter, etc into them. Thanks in Advance

Web Development api javascript
Member Avatar for vaibhav1983
0
133
Member Avatar for ramareddy_dotne

I have 3 textboxes in my webform.I want my user to enter valid entries into them. If user leaves any textbox empty.I want Give him an alert to him (like a msgbox in vb.net).I'm using textboxes in asp.net(web server controls).I dont want to use the validation controls as they wont …

Web Development asp asp.net vb.net web-server
Member Avatar for shahnawaz khan
0
850
Member Avatar for captain.don

Hi all!! i have PHP script (3 files) for upload images on my hosting server.This script changes the name of images in a unique format before uploading onto the server.I just need to print the name of image file and its path where the image is getting uploaded (like [url]http://www.johnsgallary.net/imageuploader/uploaded_files/124abc.jpg).Please[/url] …

Web Development client-server html-css image php
Member Avatar for Shanti C
0
264

The End.