52,566 Archived Topics
Remove Filter ![]() | |
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 | |
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 | |
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 | |
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 | |
[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 | |
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 | |
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 | |
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 | |
i download Element. Dimensions.js but when i include it ... got error object doesnot supported.... :( what to do? Web Development javascript | |
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 | |
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 | |
Hi All, why do we need filter in a servlet? When we use servlet filter? pls help me thanks! Web Development java-jsp | |
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 … | |
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 … | |
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 | |
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 | |
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 | |
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 … | |
^ | | | 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 | |
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 | |
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 | |
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 … | |
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 | |
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 … | |
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 … Web Development asp.net visual-studio web-server windows-server | |
[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 | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 … | |
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 | |
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? … | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 … | |
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 |
The End.