52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for MoreBloodWine

My PHP knowledge is extremely limited so with someone saying read this wont help me much. Anyway... below should be everything one would need to assist me. Thx in advance ! [url]http://www.myu2sig.com/EoJCardLibrary.php[/url] If you check out the above link you will see some tables where I'm pulling and displaying DB …

Web Development php
Member Avatar for MoreBloodWine
0
124
Member Avatar for tristanhall

Hey guys! I am working on creating a website that offers resources and calculators for a lot of algebraic and geometric equations. One thing that I want it to do is factor polynomial equations. For example, x^2-x-2=f(x) would become f(x)=(x+1)(x-2). WolframAlpha.com does this for all polynomials so I know that …

Web Development php programming-construct
Member Avatar for tristanhall
0
548
Member Avatar for Awah Mohamed

hey everyone i have sugested to create a new club in my school called programmers , so they told me that i have to bring a list of the club aims and they xheck if the aims are good or bad then they accept the club or no , so …

Web Development asp c++ html-css mysql php
Member Avatar for budalverson
0
84
Member Avatar for c0deFr3aK

Hello, I have a newly created ASPX Website with Default.aspx and a Masterpage. on the master page i created a navigation menu i.e Home, News ect. then i created a folder inside the site and put some pages i.e page1.aspx. My problem is when im at page1.aspx (/mysite/folder1/page1.aspx) then hit …

Web Development asp.net
Member Avatar for c0deFr3aK
0
94
Member Avatar for dirkjan75

So, two pages: first one is a simple datasource & gridview with edit button, is working. Second is the same code but then in a contentplaceholder page, linked to a masterpage. Now the code is not working, when editing, it returns empty fields in steds of edited fields. [CODE]<%@ Page …

Web Development asp.net
Member Avatar for dirkjan75
0
279
Member Avatar for MDGM

Hi all, I'm making some changes to a google chrome extension I made and am having some trouble. Heres my code on a content script page (removeAttr.js) : chrome.extension.sendRequest({greeting: "whitelist"}, function(response) { var whitelist = response.whitelist; console.log(response.whitelist);//working }); alert(whitelist);//alerts "undefined" How do I acess the whitelist variable from outside the …

Web Development javascript web-browser
Member Avatar for Airshow
0
4K
Member Avatar for itisnot_me

i dont know what is the issue and it is not giving me a error in the error_log. i have a variable that collects from the url to be put into the query were the DB field would go. i know that is is the part that is not working …

Web Development php
Member Avatar for itisnot_me
0
107
Member Avatar for omar_ghassan

I'm using an ajax function to call multiple php files to the same HTML web page. Dividends must be dynamic the data is stock prices. It seems that the last stock price is only updating the other 9 are not is their a limitation to the number of ajax functions …

Web Development javascript web-browser
Member Avatar for omar_ghassan
0
126
Member Avatar for keltoid

Hi all -- I need to put a table w/ 4 cells (across) to display recommended/suggested items. I want them to all be random each time someone visits or refreshes, I will have a current pool of about a dozen images to be pulled from.. I have found the code …

Web Development html-css javascript
Member Avatar for Airshow
0
216
Member Avatar for andrewliu

Hello, I was wondering what could be wrong? There is this ajax code that I'm trying to work on and its supposed to show the results in a div tag when submitting a search form, but theres no results. here's my code [CODE]$(document).ready(function(){ $("form.ajax").submit(function(){ var ajax_div = $(this).attr("id")+"_results"; var data …

Web Development html-css javascript seo
Member Avatar for andrewliu
0
353
Member Avatar for lwaterfo

Hi all, Newbie question;.... I have a database and a table within called 'data'.. I also have a login script that allows users to access it. My question is..how do I make only the user's record viewable/accessible after login. Specifically, how do I access, the a specific record in the …

Web Development php
Member Avatar for lwaterfo
0
114
Member Avatar for mldardy

I have a dropdown list on aspx page that is using a data source select command to pull from a database. The don't any data in the dropdown when I preview the page. I need help on what I am doing wrong. Here is my code for the dropdown list …

Web Development asp.net
Member Avatar for MichaelWClark
0
135
Member Avatar for mulevad

I have an IIS7.5 server installed on my laptop. I'm learning C#, XML, XSLT, .NET, Visual Studio 2005, 2008, 2010 and Microsoft Expression Web. I am the webmaster on a simple PHP website that I inherited. I figure I ought to learn PHP, but figure I also need to install …

Member Avatar for mulevad
0
140
Member Avatar for cjay175

What I would like to do is have 2 buttons to submit a single form. One button is to save the form for editing later the other is to process it. With... [CODE]$("#saveform_ns").click(function(){ $('form#form_main').attr({action:"http://path/to/save.php"}); $('form#form_main').submit(); })[/CODE] I can get the submit button to work and the above button to work. …

Web Development javascript
Member Avatar for cjay175
0
637
Member Avatar for qazplm114477

Is there a particular reason as to why some people use .inc and some just use plain .php for include files? Does actually do anything performance wise or does it just make it easier to distinguish between files?

Web Development php
Member Avatar for digital-ether
0
110
Member Avatar for romkas

Hello! I have problem! So, first of all I have page wich consist of 3 pages. In first page I press Button "Start" it will create empty record in my DB, in Page 2 is Form where I need to fill data and when I press Button "Next" it will …

Web Development asp.net
Member Avatar for MichaelWClark
0
139
Member Avatar for MichaelWClark

I have a master page with an update panel wrapping up the content template. In one of my pages I have a grid view that is residing in a Div that utilizes the overflow method to produce scroll bars. I need to be able to retain the scroll position through …

Web Development asp.net
Member Avatar for MichaelWClark
0
588
Member Avatar for Traicey

Hi All Im not sure if this is possible but here is the thing I have thankyou.html page that should be opened in the lightbox when a submit button is clicked and the email is sent, I have a contact.php that send an email to the person with the details …

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

hello, I had a fckeditor at my php page, i want to put some data in fck editor when user click a button. How can i do that using javascript. Please help

Web Development java php
Member Avatar for dennishall
0
420
Member Avatar for s2xi

Hey guys, I was making a form that is um... quite large and all inputs consist of the form looking like [CODE]<input type="text" id="first_name" name="first_name" />[/CODE] so instead of having to do [CODE]$first_name = $_POST['first_name'];[/CODE] and so on for every input, is there a way to grab every 'name' or …

Web Development php
Member Avatar for SolidSolutions
0
153
Member Avatar for MichaelWClark

I recently discovered the power of Linq To SQL and decided to implement it into a control that I am working on right now. So far it is making life much easier but I have ran into a small stumbling block here and need the experts assistance. I have a …

Web Development asp.net sql
Member Avatar for MichaelWClark
0
121
Member Avatar for dennishall

Hi All: I have been working very hard and long at understanding this situation. I have tried many different sample scripts, to check my work and find find my solution. I have created a job board for a client, the user applies for a job in application form.php which then …

Web Development display mysql php
Member Avatar for dennishall
0
351
Member Avatar for mpc123

I have a news feature on a website and have a page that shows all of the news and a link to the actual page of each individual news. On first page that lists all the news i would like to limit the amount of Characters that is echoed from …

Web Development php
Member Avatar for P0lT10n
0
152
Member Avatar for julianmoors

Hello, I am building a search filter, but I don't have much experience using AJAX. What I want to do is select a subject from an initial list then return a list of tutors which I have already done. Then I would like to return a list of centres, year, …

Web Development javascript mathematics php xml
Member Avatar for P0lT10n
0
634
Member Avatar for shaikh_mshariq

I have written some code to fetch details from database according to the given id. I am using ajax to help the ui. I can see the responseText in alert box but when i use it as reponseXML than it doesnt give me any child node my server side and …

Web Development client-server php xml
Member Avatar for gecata83
0
153
Member Avatar for imbest

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> [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" > <script type="text/javascript"> function showMe2(it,txtid,msg) { document.getElementById(it).style.display = "block"; e=document.getElementById(it); //e.style.top=200; document.getElementById(it).innerHTML = msg;//document.getElementById(txtid).parentElement.offsetTop ; e.style.top= document.getElementById(txtid).parentElement.offsetTop+35; e.style.left=document.getElementById(txtid).parentElement.offsetLeft+200; e.align = "left"; e.style.width="auto"; //document.getElementById(it).style.top =document.getElementById(txtid).style.top ; } function hide(it) { document.getElementById(it).style.display = "none"; …

Web Development asp.net javascript
Member Avatar for dannie_cake
0
148
Member Avatar for iammirko

Yesterday, I had started a thread with a problem, am trying to execute the script below, but each time it is failing and returning "Unable to record form details". Note: "Unable to record form details" is the response returned when isset($_POST) is not working, refer the code for more details. …

Web Development mysql php
Member Avatar for iammirko
0
101
Member Avatar for g4george

Why dose this not work? When I submit a emty form [CODE] if((!isset($uname)) || (!isset($passw))) { header("Location: ../pub-login.php"); $_SESSION[validate] = "Entry not recognized"; exit(); } [/CODE]

Web Development php
Member Avatar for swilliamrobert
0
93
Member Avatar for swilliamrobert

Hi, I have some problem posting data to other page. Now i am explain. One page (called A.php) is refershing and checking database whether status 1 or 0. If sataus finds 1, A.php page posting values to B.php automatically. Then i need to confim whether B.php page getting values or …

Web Development php
Member Avatar for swilliamrobert
0
139
Member Avatar for pjh1985

Hi, I am trying to design a dynamic website with a content management system and i was wondering what would be the best way to add content such as a photo gallery etc to the dynamic pages. This is a general question but i will explain the problem i am …

Web Development cms database-design php
Member Avatar for pjh1985
0
142
Member Avatar for mangel.murti

hi guys,,, deep trouble,,,, i don't know where to put this question ... when i am seeing my webpages onevery page this script comming .. i have no idea how to deal with this thing.. i search google did some thing for related to cpanel. changning all my account password,,,, …

Web Development cpanel php
Member Avatar for vaibhav1983
0
119
Member Avatar for qazplm114477

I was just wondering if there was a more optimal way to add dates to mysql if I had a drop down for each field. This is the code I use to format the dates [CODE]$date_hired = format_date($_POST['month_datehired'], trim($_POST['date_datehired']), $_POST['year_datehired']); //I have 3 dropdowns in my form, 1 for months, …

Web Development php
0
101
Member Avatar for flamer_x86

Hi, I'm newbie in IIS and MSSQL using php. I got problem connecting to my host and selecting database. Could you please help me how to connect using php. Mar,

Web Development mssql php
Member Avatar for flamer_x86
0
131
Member Avatar for muralibobby2015

hello i am working on google map,streetview. i am using below code.[CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Google Map and Street View</title> <script src="http://maps.google.com/maps?file=api&v=2&key=INSERT_API_KEY_HERE" type="text/javascript"></script> <script type="text/javascript"> //<![CDATA[ function load() { if (GBrowserIsCompatible()) { var lat = -33.867141; var lng …

Web Development api google google-api php
Member Avatar for muralibobby2015
0
161
Member Avatar for muralibobby2015

hello... i am getting problem with this regex....what is the exact format of this pattern only 000-000-0000. exact this pattern only not other U.S phone number format. why because i am using below javascript for this validation. [CODE]if(window.document.UserDetails.phone.value=="") { alert("Please Enter The Phone Number") window.document.UserDetails.phone.focus(); return false; } var pattern …

Web Development php regex
Member Avatar for muralibobby2015
0
185
Member Avatar for pandeyprashant

Hello everyone, i m trying to take input from jsp page and save this to database. every field is working fine but some problem in date format. its showing some errors. please help me.

Web Development java-jsp
Member Avatar for panditavinod1
0
65
Member Avatar for herghost

As above! [CODE] var bustcachevar=1 //bust potential caching of external pages after initial request? (1=yes, 0=no) var loadedobjects="" var rootdomain="http://"+window.location.hostname var bustcacheparameter="" function ajaxpage(url, containerid){ var page_request = false if (window.XMLHttpRequest) // if Mozilla, Safari etc page_request = new XMLHttpRequest() else if (window.ActiveXObject){ // if IE try { page_request = …

Web Development caching javascript
Member Avatar for hielo
0
185
Member Avatar for vinayak.v

hi.. i've created a crystal report and one crystal report viewer in windows form. i've two form form1 and form2 in form2 i've kept one button called print. when i press this button it should print the document into .pdf format. without using the crystal report viewers print button. please …

Web Development asp.net pdf
Member Avatar for vinayak.v
0
135
Member Avatar for Smudly

Hi, I'm trying to type in a name of a song into an input field, for example: I'll Be Missing you This field is captured through $_POST and set to a variable $title I then update the table with this new title. Once it is updated, all that is shown …

Web Development php
Member Avatar for Lsmjudoka
0
97
Member Avatar for pallen

OK, this is as basic a question as any of you will get on this site. Here's the deal. I have a very basic PHP file saved, of course, as php. I have an HTML page built in Dreamweaver. So, how do I include that file in the HTML so …

Web Development file-system html-css php
Member Avatar for Lsmjudoka
0
231
Member Avatar for nyler01

Im noob in php and i have a website which allow users to search for a keyword and give them a result as a link which able to redirect them based on their search.. and i need a script to track how many times a search result's link is clicked. …

Web Development php
Member Avatar for nyler01
0
201
Member Avatar for TySkby

I am calling a function in PHP that should return values from a database that I have set up. However, I'm getting a blank screen instead of what I'm asking for. If I comment the correct lines out and process it without the function, everything works perfectly. I've posted both …

Web Development php
Member Avatar for TySkby
0
133
Member Avatar for prettyrein

Hi, I am also having an ONLINE ENROLLMENT SYSTEM and having a problem with coding.. I am a returnee student and more programming languages has been adapt... Using php, apache, mysql, html, javascript, css etc... I am confused especially in php query.. can anyone help me here, i don't have …

Web Development apache html-css php
Member Avatar for Stefano Mtangoo
0
176
Member Avatar for lse123

NETBEANS: I get none ouput - can you detect? I have a question about server side Ajax (Java) I think serverside error is, Can you find the bug in <div> I do NOT get sample xml data[bookrss.xml]... RSS Client/Server? I get xhrequest.readyState == 4 && xhrequest.status == 200 ... 4 …

Member Avatar for hielo
0
205
Member Avatar for akvlko

Hi Friends! Can you people help me out about this I have Two Array's 1: a[] =>1 =>3 =>4 2: b[] =>5 =>6 =>8 and I want to combine both array like this c[1]=5 c[3]=6 c[4]=8 Means the value of first array will be the Index of Third array and …

Web Development php
Member Avatar for baltazar
0
152
Member Avatar for techie929

Hi, I am repeatedly getting "missing ) after argument list" in firefox. hash_a is a variable. $("#details_a").append("</br>"+"Enter Name "+"<input type='text' id='myText' />"+"<input type='button' id='theSubmitButton' value='Edit Name' onclick='edit_data("+hash_a+")''>"); Thanks.

Web Development javascript
Member Avatar for Taywin
0
177
Member Avatar for festprabu

<?php $allsql="SELECT SUM(Salesprofit)+SUM(Serviceprofit)+SUM(softwareprofit)+SUM(Airtelprofit) FROM billing,service,software,airtel"; $profitall=mysql_query($allsql) or die(mysql_error()); while($row=@mysql_fetch_array($profitall)) { echo $row['SUM(Salesprofit)+SUM(Serviceprofit)+SUM(softwareprofit)+SUM(Airtelprofit)']; } mysql_close($con); ?> Hi everybody.... i have problem in mysql query.. i got the sum for the field called profit from each table... i am getting the TOTAL value as wrong calculation value... how do i get the …

Web Development mysql php
Member Avatar for digital-ether
0
127
Member Avatar for aizel

hello daniweb web developers i am beginner with programing and i want to know how to make this one..if i select a item for example CA on <select box> how to put a confirmation message that will be put in the <div> tag? i'm hoping you could help me sir..regards …

Web Development javascript
Member Avatar for aizel
0
100
Member Avatar for 5416339

Hello Everyone, I made a GET form recently.But the problem is that it is highly vulnerable.You can inject your an script as below. http://mysite.com/processget.phtml?search=<a href="http://google.com">Hacked</a> I'm able to inject any kind of script into my above URL.I'm actually echoing my GET data using an echo in my BODY,so whenever i …

Web Development php
Member Avatar for baltazar
0
153
Member Avatar for jrock2004

Ok so I am writing a PHP script that will gather some information into a file and the push it up via SVN. I am running into a problem with pushing it up via SVN. [CODE=php] shell_exec("svn commit -m $message store-webapp-test-selenium-$storeCode --password $svnPassword"); [/CODE] I have even tried it like …

Web Development php
Member Avatar for digital-ether
0
139

The End.