52,566 Archived Topics
Remove Filter ![]() | |
Hi guys! I can not understand - what is wrong with this simple line - [CODE]create table SUBJECT ( SUBJ_ID NUMERUC not null, SUBJ_NAME VARCHAR(100));[/CODE] error message -[QUOTE]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to … | |
im just wondering how would i make like a webbrowser in javascript/html? also how would i resize the who entire webpage/webbrowser? Web Development javascript | |
Hi.. I want to use the pear package.Pear is already on my xampp package.On the file php.ini the pear is included(I didn't change the file php.ini..there is a line like include_path = ".;c\xampp\php\PEAR").I used the following code to retrieve the results from database..But it is not working .. [CODE]<?php // … Web Development file-stream php | |
Hi to all . I write the JS code : [CODE]<?xml version = "1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns = "http://www.w3.org/1999/xhtml"> <head> <title>TemperaturE</title> <script type = "text/javascript"> function temperature() { var temperatureValue = myForm.TemperatureField.value; if ( temperatureValue < 20) {document.body.style.backgroundColor = "Blue";} if (temperatureValue <40) {document.body.style.backgroundColor … Web Development javascript xml | |
I have the following query [CODE]SELECT * from PHOTOS WHERE Subject = '$Subject' AND Location = '$Location' ORDER BY Number[/CODE] It results in the following output 1, 10, 11, 12, 13, 14, 15, 2, 3, 4, 5, 6, 7, 8, 9 How does PHP/MySql think 10 is lower than 2?? … Web Development php | |
I have a database with a listing of events. I do not want to include events that have already happened, so I want to query the db for events from the current date going forward. I have tried a number of things but it is not working. Here is what … Web Development php | |
Help! This contact form keeps displaying the error for an invalid email address, no matter what I do! Where did I go wrong? Thanks in advance! [B]PHP Syntax[/B][ICODE]<table width="570px" border="0" cellspacing="10px" cellpadding="0" align="center"> <tr> <td align="center"> <?php if (isset($_POST["op"]) && ($_POST["op"]=="send")) { /******** START OF CONFIG SECTION *******/ $sendto = … Web Development php | |
Hi, i have made a form in which people fill out their details and its gets saved in database with [CODE] $today = date("F j, Y");[/CODE] now i want to make a search for that forms with date , like Search with in last 3 days or Last 6 months. … | |
Hi, I am currently deciding in which technology should I put more time in and learn . I have been working with drupal and wordpress since 4 months and I like the platforms. As for the browser side work I am a bit confused whether I should put more time … Web Development javascript javascript-jquery seo | |
Hi There, I have found a very usefull and lightweight code that is made by the famous Tim Van Damme, a Dutch compatriot. Here is the code, i will explain my question beneath. The js that works in combination with the js libary. [CODE]<script language="javascript" type="text/javascript"> jQuery(document).ready(function($) { $('.tabs').each(function () … Web Development html-css javascript javascript-jquery | |
Hello everyone, I am trying to understand this concept but its truly confusing. I know that javascript is not server side, but I would like to have an effeicient way to retreive a sessions' value, please inform of any methods, I have tried the following <script> var MyClientSideVar = <%= … Web Development javascript session | |
Hi, I'm trying to create a form in php that helps calculate the distribution of payments to different places example.. Input box to say how much money I start off with (in this example it will be $200.00) Input box for the total amount of money i want to add … Web Development php | |
I'm in dire need of a Script that changes one text to another text. So like say NEWSPAPERS, is [B]Times Roman[/B] with a 18 font and Bold, I would like a Javascript that changes the text that has 'NEWSPAPER' of any font type and size to change it to "NEWSPAPERS" … Web Development javascript | |
hi does anybody know a good sitebuilder script pay or free to provide my client with something like [url]http://www.weebly.com/[/url] or sitereptile.i really need this any suggestion will be much appreciated.or those any body no ahosting company that offers sitereptile in the package all the hosting company offer rvsitebuilder with which … Web Development php ![]() | |
Hi, I am trying to make a simple php photo gallery, I have this code, but the only problem is that the photos appear in a random order. How can I get the photos to appear alphabetically or numerically? [CODE]<?php if ($handle = opendir('photos/')) { while (false !== ($file = … | |
I have a new project deal in hand. The project is to make a web application interface to collect a huge information about people in a particular area. For example, In Film world,s there are director,camera-man, screen writer etc. So the project aims to build a database back end with … Web Development php | |
[CODE]<cfquery name="Sort" datasource="JD8989776555"> SELECT * FROM ResMenuItems ORDER BY "ItemOrder" ASC </cfquery> <p>Output</p> <cfoutput query="Sort"> #ItemOrder# - #ItemName#<br /> </cfoutput> <p>loop</p> <cfloop query="Sort"> <cfoutput>#ItemOrder# - #ItemName#<br /></cfoutput> </cfloop>[/CODE] I am honestly not joking :S That code there, is here : [url]http://jadedragon-co-uk.securec12.ezhostingserver.com/admin/MenuManager/TEST.cfm[/url] Web Development coldfusion mysql | |
this comes when i try to open the php files. Don't know what happen here is my code: function verifyAlphaNum ($teststring) { return (eregi ("^([[:alnum:]]| - |\.| |')+$", $teststring)); } $valid = verifyAlphaNum ($username) if (!$valid){ <<<<<<<<<<<<<< here come the error $error_msg[] ="Username must be letters and number"; } thx Web Development php | |
Hi, i've a search and when i click button to submit the page, it's not getting redirecting to search page as in code instead its loading the same page. The page in which search is present contains validation controls. I think its cos of that its happening. search is working … Web Development asp.net | |
I have this code as part of the action that sends details to admin and user who have registered... However, I would like the email to be sent also to other address based on the selection in this field..(sectorID) the form has 9 sectors, I.e. [LIST] [*]sector ID 1 [*]sector … | |
Greetings. Tell please function PHP5 which defines presence of the end of a line (like !feof - for the file end). Thanks in advance!) Web Development php | |
I have a registration page and I want to validate the e-mail address. I'm having an issue with line 14 in particular. (I used a combination of several tutorials to make this). [CODE]<?php include("db.php"); if (isset($_POST['username']) && isset($_POST['password']) && isset($_POST['email'])) { $username = mysql_real_escape_string($_POST['username']); $email = mysql_real_escape_string($_POST['email']); $result=ereg("^[^@ ]+@[^@ ]+\.[^@ … Web Development php ![]() | |
What is the proper way to use sessions? I have a forum on my site which I've coded from scratch but I've not been using sessions for the users and instead I've been using just cookies to determine if they're logged in or not. I know my current way isn't … ![]() | |
Hi I have 1.database already set up with around 5000 products with all fields required. 2. create a page template with query code and code to echo out the results of the fields of a product. I now need to know how to make each product from the database produce … Web Development php | |
Hey Guys, I am trying to improve my PHP/MySQL skills and need to find a good dvd or cd-rom. I feel that I learn best from video tutorials, I watch the youtube videos but want to buy a couple good dvds with real world techniques. Let me know if you … Web Development php | |
Hey everyone, Brand new to javascript and had a, hopefully, quick question. I have pulled a date from our database in the form of mm/dd/yyyy, and would like to convert this to a Date object type. To do this, I have parsed the string to switch it to the following … Web Development javascript | |
I need a jqeury animate effection. when I click img1.jpg, img2.jpg will animate right 200px, but I have too many divs and other html elements, I tried many times, it also failed. How to write correctly? Thanks. PS: h1, the font is on the top of image, and b class="effect" … Web Development javascript javascript-jquery | |
I would very much prefer one that works with IE. My current code only allows for an element to become visible, but I would much prefer if it faded in. Thanks in advance, kids! [CODE]<html> <head> <title>title</title> <script language="JavaScript"> function fncShow() { document.getElementById('box1').style.visibility = 'visible'; } function fncHide() { document.getElementById('box').style.visibility … Web Development javascript javascript-jquery | |
I wish you all the correct code)) Hi) There was a problem reading the file. Actually, I want to read from file command for MySQL (originally, this team is destined for Orcle, but I think it will be right for MySQL). I think the problem in the encoding (I do … Web Development file-system php | |
hello: I'm working on this code that receives a variable via url and performs a mysql search for records using the value of the variable as the key word. I'm using the following code --which I'm currently using successfully on another section of my project, but experiencing problems in a … | |
Hi, Im trying to have a section that shows the Total and Quantity at the top after customers are logged in and if they dont have anything in their baskets/cart then show Total = 0.00 and Quantity = 0. The Codes work fine when the customer already has something in … Web Development php | |
Hi all, I am adding code to a SharePoint 2007 list where I want a calculated field to be a colored square based on a status column. I have all the code I need to create a colored round bullet, but I would like the bullet to be square or … Web Development javascript sharepoint | |
Hi Ive written my own MVC framework, which uses the mod_rewrite apache tool... first part of the url is the controller and second part is the 'action'... some of my controllers have functionality which is publicly available, and other functionality which i want to restrict to logged in users... i … Web Development microsoft-access php software-architecture | |
[B]<html> <head> <title>New Page 11</title> <meta name="GENERATOR" content="Microsoft FrontPage 3.0"> <script language="JavaScript1.2"> if (document.layers) document.captureEvents(Event.KEYPRESS) function backhome(e){ var targeturl="index.htm" if (document.layers){ if (e.which==104||e.which==72) window.location=targeturl } else if (document.all){ if (event.keyCode==104||event.keyCode==72) window.location=targeturl } } document.onkeypress=backhome </script> </head> <body> <p align="center">Hit The(H) key on your keyboard to send you to a home … Web Development javascript | |
I am calling the callAjax function in the HTML body as below : <center> <h3>Request Tracking System</h3> <table width="70%" border=0> <tr> <td width=100% valign=top> <table width=100% cellpadding=8 cellspacing=0 class=bord border=0> <th colspan=2> <button type="button" onclick="javascript:callAjax('m');return false;">Requests for me</button> </th> <th colspan=2> <button type="button" onclick="javascript:callAjax('o');return false;">All Requests</button> </th> </table> <br/><br/> <div … Web Development javascript | |
Can someone please tell me why this code isn't working? I'm fiddling around with designing a site and trying to get my JS bearings down. I'm wondering why the second option isn't making the drop down list disappear. Thanks in advance! [CODE]<html> <head> </head> <script language="JavaScript"> function fncShow() { document.getElementById('box').style.visibility … Web Development javascript | |
Hi All, My parent window is dash.html. From this i call a pat.jsp file which is a child window to dash.html. I wrote a function in dash.html function feed_refresh(){ getGlaceCompleteDashBoardResult(1); } this function `getGlaceCompleteDashBoardResult(1);` is included in a .js file in dash.html file. Now from the pat.jsp i call the … Web Development javascript | |
Hi all, I want to built tristate checkbox using Javascript. There is lot of examples for this problem.. All have processed with Images. But I want to use this with out image. Can anybody help me out of this problem? Thanks, Eagerly waiting Myl Web Development javascript | |
Hey guys. Well I'm getting that irritating warning on my site when loading up a specific page. [CODE]Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/d6ayr7/public_html/webdevelopment.php:1) in /home/d6ayr7/public_html/masterpage.php on line 2[/CODE] I've encountered and solved this problem before by moving session_start() to the … Web Development php session web-browser | |
![]() | Hi all, i decided to try and make a php shopping cart with sessions and manged to do so with the help of online turorials and references. However, i decided to try and pass over multiple items form a table, but i must have gone wrong somewhere, as some of … ![]() |
Hi friends, any body just give how to call store procedure from php with mysql function not using mysqli function... Web Development php | |
Hi, In a login.jsp page, I logged in by a user. Now by pressing the back button we can move to the login page also. If I log in this time by different user then old session getting reflected. How can I invalidate a session when we move to the … | |
hi.. i had developed ' [url]http://www.wooadvertising.in/[/url] ' this site using Jquery. when i use the another Jquery it doesn't work.. i am trying to solve this problem but i cant. can anyone solve this problem Web Development javascript javascript-jquery | |
hello i m using c#. i extended a textbox with a dropdownlist. now i want to add a datasource to this extended dropdownlist. im trying: textbox1_dropdownextender.**** so what to do now??? Sumit Jain Web Development asp.net | |
I ram coding a website that links to thousands of mp3's on the web, but i need to retrieve the duration of these files without first uploading them onto my server. I already tried using getid3 script but that requires you to have the mp3 file on your server. Any … Web Development php ![]() | |
hi all, is there a method to change the url variable? eg: from [url]www.someaddress.com?value=value1[/url] to [url]www.someaddress.com?value=value2?[/url] Web Development php | |
Hi everyone, i'm following this guide [url]http://code.google.com/intl/it-IT/apis/maps/articles/phpsqlajax.html[/url] to parsing MySql data to google maps. Every step until creating XML file are good, the problem i found was when i use this code (edited with my variable) [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" … Web Development api google google-api php xml | |
i am trying to make a simple trim function but this doesnt works. any help pls? [CODE] function tr(input){ var i; var str; for(i=0; i<input.length-1; i++){ if(text.charAt(i)==" "){ str+=""+text.charAt(i) } return str } } [/CODE] Web Development javascript | |
Hello everyone, i'm using a jquery datepicker like this: [CODE]<script type="text/javascript"> $(function() { $('#inlineDatepicker').datepick({ rangeSelect: true, monthsToShow: 3, minDate: '+7d', rangeSeparator: '|', altField: '#resdate', altFormat: 'dd-mm-yyyy', pickerClass: 'locgrid', onDate: nationalDays } ); }); var natDays = [[12, 18, 2010], [12, 19, 2010]]; function nationalDays(date, inMonth) { if (inMonth) { for … Web Development javascript javascript-jquery |
The End.