52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for JanqeD

Ok well my friend wrote me a ShortUrl script and I continue to get a [CODE]Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/janqed/public_html/index.php on line 37 [/CODE] Well Heres line 37.. [CODE]echo "Thank you! Your new Short URL is <a href='http://www.Lolurl.net/$newid'>http://www.Lolurl.net/$newid</a><br /><a href="index.php">Go Back</a><br /> ";[/CODE] …

Web Development php
Member Avatar for helraizer
0
79
Member Avatar for yassar

Hi, I am working on a database related project for a course. I have decided to use mysql as a database but I cannot decide which web programming language to use. I am trying to decide between asp.net and php, because these are the only two web programming languages i …

Web Development asp asp.net php
Member Avatar for Fungus1487
0
145
Member Avatar for jeet_portal

Hi Expert, when i m accessing a .shtml file from my apache server, I got this Error."You don't have permission to access /test/link.shtml on this server.: 403 Forbidden" on windows O.S Pls tell me the Procedure to solve this Error.. Thnx in Advance

Web Development apache html-css php windows-server
Member Avatar for jeet_portal
0
125
Member Avatar for Inny

Is there a better way to write this short code? It goes to topics that dont exist, I want it to check first so that dosent happen, and not to go to topics in a particular forum, a forum url looks like this (last number being the forum id) [url]http://inny.ipbfree.com/index.php?showforum=1[/url] …

Web Development javascript
Member Avatar for Inny
0
148
Member Avatar for assgar

Hi I have 7 arrays for all containing the same data:time_id, start_time, end_time and colour. Each array represent a day of the week. There are a total of seven columns to display. I have combined them into a three multi dimentional to display data form the 7 layers which are …

Web Development php
Member Avatar for assgar
0
115
Member Avatar for tahadhali

Hi all, I'm trying to build a new search system for one of my sites. The idea is something like this: 1. Visitors choose something in dropdown1 (ex. seach staff, search students, seach grades) - all these choises should be extracted from mySQL db and could be updated from time …

Web Development javascript mysql php
Member Avatar for ChiNko5
0
194
Member Avatar for pancgom

Hi, I have this form which has got all these drop down boxes which has values built in the html form, once selected they are all sent to the database table to be stored only when the authentication is done and for that record only. I am also using the …

Web Development display html-css php
Member Avatar for peter_budo
0
166
Member Avatar for lordx78

[code=javascript] var cBrand = document.getElementById('cBrand'); var cType = document.getElementById('cType'); var cStyle = document.getElementById('cStyle'); var cFrame = document.getElementById('cFrame'); var cGroupSet = document.getElementById('cGroupSet'); if (empty(cBrand) && empty(cType) && empty(cStyle) && empty(cFrame) && empty(cGroupSet)) { alert("Please Choose atleast 2 Criteria"); return false; }else{ return true; } [/code] The above code is not working …

Web Development javascript
Member Avatar for lordx78
0
109
Member Avatar for shadiadiph

hi i have a table i can write to it ok but i need to know the correct syntax to retrieve the last updated record i have been using something like this but it doesn't work.?? $sql = "select * from tblexdetails where intexchangeID='$tid'"; can anyone ive me any pointers …

Web Development php
Member Avatar for ultra vires
0
3K
Member Avatar for irtiza

Hey Guys.....I am new in web development and this was supposed to be my first Servlet but I am getting java.lang.ClassNotFoundException: servlets.HelloWorldServlet Now in my Apache tomcat folder C:\apache-tomcat-6.0.16\webapps\ServletExamples I have the WEB-INF folder.....which has the web.xml.... Web.xml is something like this... [CODE] <?xml version="1.0" encoding="ISO-8859-1"?> <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee …

Web Development apache java-jsp xml
Member Avatar for sinan.yumak
0
104
Member Avatar for dbayo

hello..i need a help for math function..when i try to add multiple number in php..the value that return to me is array..below is my code..can anyone help me.. [code=php]<?php $Final2=null; $gred=null; $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("kptm", $con); $result = mysql_query("SELECT NAMA …

Web Development php unix
0
104
Member Avatar for myth3_16

Hi All, i wonder if anyone can help me. I've got a form where you can enter your email address and a surname to search for, when clicking on the submit button the form is processed with a PHP page and sent via email. What I want to do is …

Web Development javascript php
Member Avatar for helraizer
0
93
Member Avatar for dskumar_85

hai friends , i want to give my page very attractive so i want to create or insert a stylesheet in my web page , i don't know that , if any one know's that plz give a css code and procedure to create and insert the css , thank's …

Web Development asp.net html-css
Member Avatar for Confused007
0
115
Member Avatar for OmniX

This is what happens: I have an input submit button. On mouse over text is changed from RED to WHITE. On mouse out text is changed from WHITE to RED. Simple eh? Well IE does it fine but FF makes everything change to RED border, etc. [code] jscript: function over(button) …

Web Development javascript
Member Avatar for OmniX
0
210
Member Avatar for brr

in the below text sum the amount to those FLAG & MA_NAME fields are same and put them in one array, and unique item append to that array i did some work but difficult to get unique items [TEX] FLAG MA_NAME SUM_AMT -------- ---------------------------------------- ---------- Credit CASH 7777 Credit Salaries …

Web Development java-jsp
Member Avatar for jwenting
0
91
Member Avatar for Hjcooke

Hi i have variouys different javascripts i have found on the net that allows me to generate random images, images as links and random text. Can any one help me create and all in one random genrator so i have text with an image as a link? Many thanks

Web Development image javascript
Member Avatar for peter_budo
0
513
Member Avatar for oslover

Hi i am new here and I post this topic hoping that i will get some urgent help. I tried this code which should work to export customers emails according to their orders' status but the exported file contained an error. This is the error: PHP Code: [CODE=html]<br /> <b>Warning</b>: …

Web Development mysql php
Member Avatar for ultra vires
0
124
Member Avatar for szt1234

Hi, Can anybody help? It's about summing up the elements of column called Gyujtemeny and then column Duplak of a table of an Access database and presenting the result using ASP code. So each column is sum up by its own not one with the other. [code=html]<%@ Language="VBScript" %> <% …

Member Avatar for rupali87
0
111
Member Avatar for swingingstars

Hai... I'm new to Ajax.. I've seen many cool site pumped with ajax requests. How can I fill the content with ajax responseText ONLY after the page structure has been fully loaded? is it matters if the file is not an html? is .html file faster to render than .php? …

Web Development javascript
Member Avatar for swingingstars
0
180
Member Avatar for camdes

I have an HTML form for authorised users to upload photographs and am having problems with file size. I have my test server restricted to 2m filesize upload and am trying to add something to tell my users if they go above this. I have tried using a hidden field …

Web Development php
Member Avatar for somedude3488
0
91
Member Avatar for ryy705

Hello, Is there a way to install an email server on a personal computer? I don't need a fully functional email server with all the bells and whistles. I just want to build my website on my personal computer before I upload everything to a real web server. In order …

Web Development email php ubuntu web-server
Member Avatar for ryy705
0
64
Member Avatar for some one

Hi every one I am facing alittle problem I have a drop down list that enable the user to select a number when the user select anumber another drop down list will appear i write the code and it work with me but when i put it in a multi …

Web Development asp.net
Member Avatar for some one
0
107
Member Avatar for sdann

Hi! I'm trying to learn PHP but as proceed with tutorials I encounter more and more problems. and I'm not sure if they are arising from my mistakes because I just rewrite very simple tutorial excerisies. I get this two errors when I load table1.php in my browser: Warning: mysql_num_rows(): …

Web Development apache mysql php
Member Avatar for sdann
0
152
Member Avatar for prethum

hi i have a problem i need the same thing pop up a windoow when user clicks the link hear is my code plz tell me if i made a mistake [code=php]<html> <head> </head> <body> <? $company= $_REQUEST['companytype']; $companytype =mysql_real_escape_string($company); echo "<h1> <font color=green>Results For $companytype</font></h1>"; $query = "SELECT companyname,companytype,address,kommun,postcode,telephone …

Web Development php
Member Avatar for helraizer
0
113
Member Avatar for brightline

I had stored a word file in database in "image field" then I restore it in a byte array. I want to convert this byte array into string to write it on the web page. I am using ASP.NET 0.2 and SQL 2005. thanks.

Web Development asp.net
Member Avatar for Fungus1487
0
92
Member Avatar for lifeworks

Hi Busy putting together my first competent attempt at a PHP/MySQL website, its a real estate package of sorts. I'd like to bring up a brief description of each house (in the DB) initially and when the user clicks on the photo or name etc, they will be directed to …

Web Development perl php
Member Avatar for prethum
0
116
Member Avatar for cali_dotcom

hi, i keep getting this error and i just cant figure out what is wrong. i got this code off a book that uses php v 5.1.4 and my wamp server runs php v 5.2.5, could this be a problem? does anybody know where i could download a good free …

Web Development php
Member Avatar for helraizer
0
157
Member Avatar for mikeandike22

ok im new to PHP and sortof need to learn the basics for my job and i got the oreily PHP 5 book and in some of the examples i keep getting a parse error. here is an example [php]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta …

Web Development first-post php
Member Avatar for gcardella
0
146
Member Avatar for lordx78

Hi, How to this type of validation using JavaScript? [COLOR="Green"]Scenario[/COLOR] In my SEARCH page, user was given 5 types of field[COLOR="Red"](drop-down menu)[/COLOR] to choose from. User can select either 1, 2,3,4 or all the field's option to make a search. I know how to do validation field by field[COLOR="Red"](need to …

Web Development javascript
Member Avatar for lordx78
0
78
Member Avatar for swingingstars

Hi... when i use mysql queries with php, is there any way to load my page faster? Can certain divs or tables that use mysql query being executed last? after the page fully loads?

Web Development mysql php
Member Avatar for swingingstars
0
166
Member Avatar for queenc

hi i have a search page where the user will enter some search keywords and click search.in the next page it will display thesearch result.when the user clicks a search result(a link) it will redirect him to the next page which contains the detail result.when he clicks search result link... …

Web Development javascript php
Member Avatar for helraizer
0
3K
Member Avatar for mnetwerk

I am building a database for a fan club, as I test the signup page I get these errors: Can anyone help Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/rmilnerx/public_html/lilmaq/vSignup/process.php on line 50 Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in …

Web Development php
Member Avatar for helraizer
0
109
Member Avatar for Scottmandoo

In my last topic i quess i was asking to much so no one would help me, so this time ill take it one step at a time, heres my first problem. [CODE]<? include("dbinfo.inc.php"); mysql_connect(localhost,$username,$password); @mysql_select_db($database) or die( "Unable to select database"); $query="SELECT * FROM tutorials WHERE tut_program='Photoshop' AND tut_category='Text …

Web Development display mysql php video
Member Avatar for prethum
0
2K
Member Avatar for aran87

hello i got two vaildations on one form but can i have two submit buttons?? onSubmit="return checkcheckl(?)"

Web Development php
Member Avatar for ultra vires
0
56
Member Avatar for cali_dotcom

Parse error: syntax error, unexpected T_STRING in E:\Program Files\wamp\www\practice\addentry.php on line 89 hi, i keep getting this error and i just cant figure out what is wrong. i got this code off a book that uses php v 5.1.4 and my wamp server runs php v 5.2.5, could this be …

Web Development php
Member Avatar for ryan_vietnow
0
342
Member Avatar for rudevils

Hi all, can someone tell me how to display image in select form element i've try to do this, but its not workin [QUOTE] <select name="select"> <option><img src="banner-xmas.gif"></option> </select> [/QUOTE] hope u guys can figure it out

Web Development image php
Member Avatar for rudevils
0
87
Member Avatar for blufab

I am making dynamic changes to my current page's DOM with javascript, and would like to visually inspect the code that was rendered. Is there a easy way to do this? Off the top of my head I was thinking i would have to transverse the DOM and output all …

Web Development html-css javascript
Member Avatar for swingingstars
0
76
Member Avatar for sbv

hi i am developing a site in asp.net 1.0 for validation i have created a js function where i am checking all controls for null my text boxes are validated with that function but not combos. here is the code i used to validate combos [code] if(document.Form1.cboCity.selectedindex == 0) { …

Web Development asp asp.net javascript
Member Avatar for sbv
0
105
Member Avatar for cmills83

I am still new to CSS, how would I add a drop shadow around the main conent of this page? [url]www.racexpressions.com[/url] I have been trying for a while but I can't seem to get it to work. Thanks!

Web Development javascript
Member Avatar for borith
0
261
Member Avatar for helraizer

Hi folks, I have a script that pulls user comments from a database, which works fine. It's an image based script so I'm trying to now add emoticons, for such as =D or =) To do this I plan to use list(,,,,,,$left,$top) for the imagettfbox of where =D or =) …

Web Development image php
Member Avatar for helraizer
0
118
Member Avatar for nickyspace

Hi all I have a little issue with this php code. Below is the code CODE: PHP 1.<? 2. include("../includes/common.php"); 3. include("../path.php"); 4. 5.$func_ary=array("dental_view","add_data","add_data2","mail_data","thanks"); 6.if(fe($_REQUEST[act])) 7.{ 8. $_REQUEST[act]($_REQUEST[msg]); 9. die(); 10.} 11.dental_view(); 12.die(); 13. 14. 15.################################################ 16.function dental_view() 17.{ 18. //global $Server_View_Path; 19. $t=new Template("templates"); 20. $t->set_file("MyFileHandle","dental_tourism_quote_step1.htm"); 21. $t->set_var(array("SERVER_PATH"=>$Server_View_Path, 22. …

Web Development php
Member Avatar for phper
0
153
Member Avatar for aran87

hello ive used disabled="true" but this disables text from been inserted into a database i need a function which does'nt allow data to be entered into a textbox but still passes information to next page or a database what could i use?? thanks

Web Development php
Member Avatar for phper
0
76
Member Avatar for hunkychop

what i want to do is this: [CODE] function foo(param1, param 2){ [INDENT]this.bar=function(){ [INDENT]this.intervalID=setInterval(this.fbar,5000);[/INDENT] } this.fbar=function(){ [INDENT]//(do stuff with the properties of "this" alert(this.intervalID);[/INDENT] } [/INDENT] }[/CODE] but setInterval will not carry over the properties of "this". when this happens: [CODE] var apple=new foo(5,27); apple.bar(); [/CODE] i need apple.fbar(); to …

Web Development apple javascript
Member Avatar for ~s.o.s~
0
1K
Member Avatar for cmhampton

I have a data layer class built with the dataset designer that I have added as a reference (compiled dll) in a project. When I run the app locally from Visual Studio, it runs just fine. However when I move it to the hosted server, I get "Type 'H2C2DataLayer.h2c2DataSet.topicsDataTable' is …

Member Avatar for cmhampton
0
133
Member Avatar for pancgom

Hi, I have 2 radio buttons which needs to submit a checked value to the database and then retrieve the same when called back in to display...any idea where i can get an example for this.. thanks a lot..

Web Development php
Member Avatar for queenc
0
123
Member Avatar for Jcw69

I have subscribed to a hosting acount that has jsp hosting, they use jsp 2.0 with the tomcat 5.5 server. i am using the netbeans ide to compile my jsp page etc using the tomcat server. my project uses JSF. i am battling to get it working on the site. …

Web Development ide java-jsp web-server
Member Avatar for jwenting
0
91
Member Avatar for genji

hey guys I've been trying to connect this jsp site with MySQL database for a school assignment and I just can't seem to get it to work. It's getting really really frustrating because I have copied my friend's code(which does work on his pc) and for some odd reason it …

Web Development apache java-jsp java-swing mysql
Member Avatar for jwenting
0
90
Member Avatar for AaronASterling

Hello, I am messing around with javascript. I am trying to create a function to which i can pass a constructor and recieve back an object. Kinda (read exactly) like the new keyword. call it a learning exercise. I have a working model but i don't like it. here it …

Web Development javascript
Member Avatar for AaronASterling
0
183
Member Avatar for zatie

i want to know simple coding how to check duplicate record.

Web Development php
Member Avatar for buddylee17
0
52
Member Avatar for kaushik259106

Guys check this site.. [url]http://symbian.mobilethemes.com/downloads/info/24346.jsp[/url] If you are not logged in.. it gives a IE tool bar saying "You are not logged in."similar like the ActiveX warning of IE.. Any idea how this was done..

Web Development javascript
Member Avatar for phper
0
147

The End.