52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jino

When i am loading the below page it is showing this error message: Parse error: syntax error, unexpected $end in c:\PHP5\www\JINO\Tutorial\mis\from net\login_full\register.php on line 76 Here line 76 is the last line.. Please help.. [code=php]<?php mysql_connect("localhost", "root", "") or die(mysql_error()); mysql_select_db("tutorial") or die(mysql_error()); if (isset($_POST['submit'])) { if (!$_POST['username'] | !$_POST['pass'] …

Web Development php
Member Avatar for nav33n
0
149
Member Avatar for PeterYpenburg

Hi, I am developing some PHP code for a client and part of the code must send emails. My development environment is using Eclipse on Windows. I want to test the email functionality from my local machine. I have to set the values in php.ini file but I am not …

Web Development client-server php windows-server
Member Avatar for PeterYpenburg
0
232
Member Avatar for Brims

Hiya my application is an online music video library where users can download music to their web browsers, mobile phones and pdas. right now my application downloads the track and plays the music track from the browser, I just want it to do the same on mobile phnes and pdas …

Web Development php video web-browser
Member Avatar for vishal arora
0
116
Member Avatar for zoid777

Friends, I have two bugs I would like to fix,I know thier is someone out thier that can shed some light into this. First one is simple I don't know what I typed wrong for the date function it says this as below Missing argument name. When using named parameters …

Web Development coldfusion
Member Avatar for zoid777
0
149
Member Avatar for kings

[CODE]<?php session_start(); if(!isset($_SESSION['un'])) { header('Location: web_login.html'); exit(); } else { ?> <html> <body> <?php print "<table align='center'><tr><td>Thank u</td></tr>"; echo $_SESSION['un']; print "<tr><td><a href='http://www.examples.com/fram.php'>View Order</a></td></tr>"; print "<tr><ta><a href='http://www.examples.com/web_job.php'>Search </a></td></tr>"; print "</table>"; } ?> </body> </html> [/CODE] when i execute this code even though my $_SESSION['un'] is present in the database it's …

Web Development php
Member Avatar for kings
0
113
Member Avatar for queenc

hi now i want the first one alone to be seclectes on page load,rest should word based on the user clicks [CODE] SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT"> <!-- function view(s) { if(ss.options[s.selectedIndex].value!="none") { var a=document.getElementById('IndustryType'); var temp=a.value; parent.frameright.location = "http://www.website.com/web_desc.php?var=" + temp; } } --> </script> $result=mysql_query("select * from jopposting where owns='$id' …

Web Development javascript php
Member Avatar for nav33n
0
340
Member Avatar for justinmyoung

if (empty($_POST['repair_number'])) { $errors[] = 'You forgot to enter your repair number.'; } else { $rn = escape_data($_POST['repair_number']); } Could someone tell me why I on my form do I keep getting an error that says "You forgot to enter your repair number." when I'm entering a number in that …

Web Development php
Member Avatar for nav33n
0
59
Member Avatar for cmax

hi!! me i have a problem in PHP/MYSL database i dont know how send/store a data and receiving that data from the database by use codes ,i tried to do it so many times but i didnt get it.

Web Development php
Member Avatar for phper
0
246
Member Avatar for naju

i download Element. Dimensions.js but when i include it ... got error object doesnot supported.... :( what to do?

Web Development javascript
Member Avatar for phper
0
97
Member Avatar for vicshoup

ASP & VB with MS Access. This recordset should spit out the results of a search from several select boxes on previous page. I keep getting: [QUOTE]Error Type: Microsoft VBScript compilation (0x800A03EA) Syntax error /RP_Ref_Guide/RP_search_results.asp, line 25 IF fRPname <> "" THEN results1=results1 &" WHERE tbl_Partners.Partner_company = " & fRPname …

Web Development asp microsoft-access sql vbscript
Member Avatar for vicshoup
0
160
Member Avatar for ghostsquad

I'm trying to understand something fairly simple I hope. How to pass optional parameters to a function or object in javascript by the parameter name. for instance, what script.aculo.us does with their scripts. syntax example: [code=javascript] Sortable.create('id_of_container',[options]);[/code] live example: [code=javascript]Sortable.create('examplelist',{ghosting:true,constraint:false})[/code] the object has a possibility of 5-10 parameters, all of …

Web Development javascript
Member Avatar for ~s.o.s~
0
153
Member Avatar for vaskar

Hi All, why do we need filter in a servlet? When we use servlet filter? pls help me thanks!

Web Development java-jsp
Member Avatar for jwenting
0
58
Member Avatar for koushika

i have a table displayed with bookisbn , booktitle and bookauthor etc..in which i have to make the bookisbn column values as hyperlink to a page name bookinfo.jsp which will diplay all copies of the book under the clicked isbn number . i am attaching the code below: {code viewbooksforsale.info …

Web Development java-jsp session xml
Member Avatar for jwenting
0
158
Member Avatar for firthusa

I'm developing a ecommerce solution in PHP. The ADMIN is stored on one DNA while the stores are hosted on their own unique domains. My problem is that I need the images that are uploaded on the admin domain be available to the client domains without hot linking from the …

Member Avatar for Suomedia
0
145
Member Avatar for kings

1st page .html [code=html]window.opener.top.location.href="2nd page.php?vars=" + temp + "&varr=" +temp1; self.close();[/code] 2nd page.php [code=html]if(mysql_num_rows($result) > 0) { print "<script>"; print " window.opener.top.location.href='3rd page.php'"; print "</script>"; } else { print "<script>"; print " window.location='1st page.html'"; print "</script>"; }[/CODE] in this code i'm passing javascript variable to 2nd page.php.when i execute it's …

Web Development javascript php
Member Avatar for nav33n
0
92
Member Avatar for zoid777

Hello friends, I want to validate this two checkbox variables on an action page and also an update page [code=coldfusion]<cfinput type="checkbox" name="gender"checked> </label></td> <td>Female</td> <td><label> <cfinput type="checkbox" name="gender"> </label></td>[/code] by default I checked one of them, how can I check if it is checked and what is the best way …

Web Development coldfusion
Member Avatar for zoid777
0
1K
Member Avatar for cutebab

hi frens I hav windows server with XP os . I need to make a contact us form for a website for which i want to use PHP. Will it run in windows server having IIS or it requires unix os TNX

Web Development php unix windows-server
Member Avatar for peter_budo
0
126
Member Avatar for PeterYpenburg

Hi All, I am new to PHP, I have tried to look for similar error but could not find anwers that helped me. I am getting the following error: Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in C:\ ... register.php on line 109 Here is my …

Web Development mysql php
Member Avatar for nav33n
0
270
Member Avatar for Venom Rush

^ | | | javascript noob Hi there I have the following script that strips out acceptable non-numeric characters that you would find in a telephone number and then checks to see if it is equal to ten digits. The problem I have is that I can't figure out how …

Web Development javascript
Member Avatar for Venom Rush
0
110
Member Avatar for lagyossarian

I have a gridview that has a couple of Label server controls nested inside an ItemTemplate. I want to assign their Text value when each row is databound (I'm using Profile properties so I have to get the user and their profile to get the values). [code=asp]<asp:GridView ID="grdUsers" runat="server" AllowPaging="True" …

Web Development asp.net
Member Avatar for postmaster
0
205
Member Avatar for smartness

can anybody make this flash menu xhtml valid... i tried with some tutorials over the net but it still doesn't work. this is the code [CODE]<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase= "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="923" height="90"> <param name="movie" value= "http://www.zeriislam.com/menu.swf" /> <param name="menu" value="false" /> <param name="quality" value="Best" /> <param name="bgcolor" value="#1f314f" /> <embed src="http://www.zeriislam.com/menu.swf" …

Web Development flash html-css javascript
Member Avatar for Suomedia
0
210
Member Avatar for vidaj

Hello I'm building a factory for my DAO's and want it to return the correct DAO based on the class of the ValueObject passed to the factory. Now, if this was java I would use something like this: [code=java] if (valueObject instanceof User) { return new UserDAO(); } else if …

Web Development java php
Member Avatar for vidaj
0
133
Member Avatar for brightline

I have a master page which contains a menu. I want the menu's links to open in the details page instead of open in another page. How to tell the menu link to open in the details page.

Web Development asp.net
Member Avatar for plazmo
0
97
Member Avatar for b1naryMan

Hi, I'm a newbie to this forum and I wanna ask a few questions:) How can I export using jsp, data that are store in sql database to word or excel or even pdf? Is it possible to be done? How can in jsp to provide into my webpage an …

Web Development java-jsp pdf
Member Avatar for jwenting
0
97
Member Avatar for ejasalikhan

i need a jsp code regarding the online exam

Web Development java-jsp
Member Avatar for jwenting
0
50
Member Avatar for spring_patel

hi guys, i'm upgrading a web application designed in visual studio 2003 to visual studio 2005. i want to start from the scratch. I've restored the database from the older application in sql server 2000 from another machine. now whenever i try to execute that application an error is displayed …

Member Avatar for majestic0110
0
800
Member Avatar for mhretabk

Hi all i need to recieve comment on my page and i need the message to go to my mail address can any one help me how to do it? thanx

Web Development php
Member Avatar for mexabet
0
329
Member Avatar for santoo

[B]HI, I want to define short keys (access key) for button and radiobutton list,checkbutton list in my page.It is working fine for simple radio button and checkbox but it is not working for radiobuttonlist and checkbox list. How to add access keys for Checkbox list and radiobutton list.[/B] thanks.

Web Development asp.net
Member Avatar for SheSaidImaPregy
0
402
Member Avatar for hemgoyal_1990

Hi All, I Have a PHP Searching Code it have some problem it only connet to database but does not show any result.......... PHP Code is :- Search.php [code=php]<HTML> <BODY> <FORM Action="/Search.php" Method="POST"> <div align="center"> <table border="0" cellpadding="0" cellspacing="0"> <tr> <td bordercolor="#000000"> <p align="center"> <select name="metode" size="1"> <option value="name">Name</option> <option …

Web Development php
Member Avatar for w_3rabi
0
136
Member Avatar for queenc

hi In my mail attachment i am able to recieve the attachment but the file size is 0kb. it is showing the below warnings please do tell the error in my code [QUOTE] home/wesite/public_html/profiles/resumes/153/ Warning: fopen(home/website/public_html/simple.txt) [function.fopen]: failed to open stream: No such file or directory in /home/website/public_html/mail_attachment.php on line …

Web Development file-stream php
Member Avatar for w_3rabi
0
254
Member Avatar for pb_sudhir

I had exported a table containing jpeg images in a ms access database to mysql using myodbc. The images were stored as mediumblob type in mysql. I now want to display the images stored in mysql as mediumblobs using php but am unable to do it. can anyone suggest the …

Web Development php
Member Avatar for pb_sudhir
0
163
Member Avatar for pancgom

Hi, I am very new to php still trying to find my way around it, i got this code which will pull everything off my database and display in one endless table across the page is there a way i can split it and display. [CODE=html]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML …

Web Development display php
Member Avatar for nav33n
0
93
Member Avatar for redmage

I'm getting the following error on run Parse error: syntax error, unexpected T_VARIABLE in /www/99k.org/g/a/t/gatewayarcanum/htdocs/process.php on line 2 the code i'm using is [code=php]<? php $name = $_POST['name']; $email = $_POST['email']; $how_found = $_POST['how_found']; $comments = $_POST['comments']; mail("psidonwav@gmail.com", "Contact Form Submission", "Name: $name /n E-mail: $email /n How Found: $how_found …

Web Development php
Member Avatar for redmage
0
59
Member Avatar for friends_ajai

I am a student of b.tech with computer science And I am using a "JSP BASED LIBRARY MANAGEMENT SYSTEM " project which I have downloaded from a website("sourceforge.net")..But I m facing problems in using it succesfully. I have installed : a.tomcat 5.0 b.mysql5.0 c.j2sdkee1.3.1 d.jdk1.5.0 2.set all the envoirment variables …

Web Development apache java-jsp
Member Avatar for kristo_abhi
0
85
Member Avatar for kusal

sometime I see pepole use @ with variables ex: @$cat=$_GET['cat']; is this something like pass by reference? can you direct me to a good tutorial in this matter Thank you

Web Development php
Member Avatar for kusal
0
91
Member Avatar for XtremeCamera

HI, I paid a web development company many thousands of dollars to develop a photo community site using PHP. After many months of delays the project was delivered, however much of the code is sloppy and nothing was commented. But that's not the problem I need help with today. This …

Web Development php
Member Avatar for peter_budo
0
184
Member Avatar for soultrav

If i have, for example, a marquee that displays time when i push a button,like this: [code=php] if($_POST['time']) echo "<marquee direction=right behavior=alternate scrolldelay=500 scrollamount=30>".date('d-m-Y').' GMT'.date('P').' '.date('H:i:s')."</marquee>"; [/code] ,it will display the time at the moment that i pushed the button. How could i make it to display the time continously? …

Web Development display php
Member Avatar for soultrav
0
112
Member Avatar for rapchak

hi everyone. I am doing a project in jsp where i need to check the duration of logins of a particular client. If the client doesnot login for 6 months(say) his account should expire. For this purpose i am taking system date and storing it in sql database. I have …

Web Development java java-jsp sql
Member Avatar for jwenting
0
127
Member Avatar for sukhy_1

hello ive got a sign in page it works and sends data to database but soon as i had validation code for an email address using java, and then when i click submit it comes up with this error below for every textbox even though all the textboxes have data …

Web Development php
Member Avatar for Suomedia
0
154
Member Avatar for Inny

Im trying to creat an Imagemap Menu using my banner. This is a proto-type for a much more complex imagemap menu. I have created an imagemap of the original banner (click the eye) and used an image swap script to swap to my 'menu banner' (which will have more clickable …

Web Development javascript
Member Avatar for Inny
0
110
Member Avatar for rejoicegants

Hi friends, I require your assistance here. Is it possible to import profile details from the existing social networking sites such as “myspace.com”, “bebo.com” and “hi5.com”? The site myyearbook.com can import the profile details of the myspace.com easily and it displays the myspace.com profile details of one user in its …

Web Development php
Member Avatar for w4webmaster
0
165
Member Avatar for queenc

hi, this is a simple program it is not working...please do tell me whether my code is correct [CODE]<form> <?php function login() { print "<script>"; print " window.location='http://www.webs.com/hi.html'"; print "</script>"; } print "<input type='button' name='butt' value='Apply Online' onClick=login() style='height :2em; width :7em; font-weight:bold; font-size:0.7em' >"; ?> </form> [/CODE]

Web Development php
Member Avatar for sagedavis
0
110
Member Avatar for zoid777

I need some help with <cfquery>, I want to authenticate an add form so the user doesn't enter the same value twice or more so I used recordcount like this [code=ColdFusion]<cfquery name="cool.recordcount" datasource="#Request.proto#"> <cfif cool EQ 0> INSERT INTO proton( name, moon ) VALUES( '#Trim(Form.name)#', '#Trim(Form.moon)#', ) <cfif cool EQ …

Web Development coldfusion
Member Avatar for zoid777
0
167
Member Avatar for Inny

Im trying to insert a script <div class="js-kit-comments" permalink=""></div> <script src="http://js-kit.com/comments.js"></script> into my boards profiles page <tr> <td class="row3" valign='top'><b>Country</b></td> <td align='left' class='row1'>Australia</td> </tr> </table> board http://inny.ipbfree.com/index.php? to a particular spot beneath a td (profile field) called 'country' I cant seem to get it to happen. can anyone help? code …

Web Development javascript
Member Avatar for Inny
0
139
Member Avatar for rashmigs84

Hi, I am using masterPage wherein i want to blink the text . But i also want to put one logo beside that text. Here i only want to blink the text. I have combined both the logo and text using paint and given the path in masterpage. Please let …

Web Development asp.net
Member Avatar for rashmigs84
0
194
Member Avatar for hunkychop

is there a way to create a function that uses values from the statement inside of brackets. ex. [CODE=php] myFunction(){ //data here } [/CODE] if not, what i am trying to do is get a html tag and check/modify without having it inside of a variable or echo tag. for …

Web Development javascript php
Member Avatar for hunkychop
0
127
Member Avatar for sukhy_1

error message Notice: Undefined variable: sentmail in /home/stud/1/0472547/public_html/send_password.php on line 59 The code works but when wrong email is entered and it cant find it in the database it comes up with that error its all right but for some reason its saying undefined variable // ---------------- SEND MAIL FORM …

Web Development email php
Member Avatar for Suomedia
0
1K
Member Avatar for misbahmurtza

Hello, Can any1 tell me how i can change the field/column name on a datagrid only for the web interface. I set the field names for the database with no space in between words but when i display the data on the web page i want it to appear differently. …

Web Development asp.net user-interface
Member Avatar for SheSaidImaPregy
0
158
Member Avatar for justted

Hello everyone, I seem to be having a problem inserting some information into a MySQL table. Below is a copy of the MySQL table code I used and also the PHP code. I was wondering if anyone can help me find out why it wont insert the information. What I …

Web Development mysql php
Member Avatar for RoryGren
0
189
Member Avatar for VIeditorlover

Hi, is there in PHP a way how to determine in real time geographical area from IP. I mean rough estimation e.g. Asia, USA, Russia etc.? Thanks in advance for any advice!

Web Development php
Member Avatar for Suomedia
0
100

The End.