52,566 Archived Topics
Remove Filter ![]() | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 … | |
[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 | |
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 | |
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 … | |
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 … | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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>: … | |
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" %> <% … Web Development asp microsoft-access open-source vbscript | |
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 | |
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 | |
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 | |
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 | |
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(): … | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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? | |
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 | |
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 | |
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 … | |
hello i got two vaildations on one form but can i have two submit buttons?? onSubmit="return checkcheckl(?)" Web Development php | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 =) … | |
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 | |
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 | |
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 | |
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 … Web Development asp.net dataset vb.net visual-studio | |
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 | |
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 | |
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 | |
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 | |
i want to know simple coding how to check duplicate record. Web Development php | |
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 |
The End.