52,566 Archived Topics
Remove Filter ![]() | |
[B]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') VALUES('corey','gibson','Cambodia','ab','bragg creek','t0l0k0','corey_g' at line 1[/B] $sql = mysql_query("INSERT INTO myMembers (firstname, lastname, country, province, city, postal_code, email, acp_reg, rank_medical, rank_fire, nok_firstname, nok_lastname, nok_country, nok_province, … Web Development php | |
Hello, this is my first post here, but I'm having some trouble figuring out what I messed up on my code :( I'm making a Javascript game of Hangman for one of my classes and I originally had the input as a text box where you physically type in the … Web Development javascript | |
![]() | Hi, I am working on a WP theme with a friend and I'm trying to figure out how to update the files on a regular basis. I will have a server that will be on at certain times (when an update is available) and I want a php file that … Web Development php |
Hi, everybody. i want to get file name from html file input form using jsp. my codes are followed as: [CODE] <table> <tr> <td > <input type="file" id="csvfilebrowse" name="csvfilebrowse" value="" width="400px" style="width:400px; height:20px" onChange="getcsvfilename();"> <script type="text/javascript"> // <![CDATA[ function getcsvfilename() { var v_csvfileName = ''; v_csvfileName += document.getElementById('csvfilebrowse').value; getCSVFileContents(v_csvfileName); }; … | |
I am working on a social network site with php and mysql. I was wondering which way would be the most efficient way of uploading the users pics to the server into a file folder or directly into the database? Also I was wondering would it be easier to save … Web Development php | |
Hi, I'm creating a simple form where you select a company name from a dropdown list, and you can then update the values associated with this using textboxes and a submit button. The dropdown works fine (it shows all the companies in the database) and the submit button submits data … Web Development asp asp.net open-source web-server | |
Hi all! I have dug through the heaping amounts of mod_rewrite threads here and elsewhere and have come to no end! I am wondering if this is not working because: A) 1&1 Hosting is garbage. B) Its on a subdomain. Here is my code. [CODE]RewriteEngine On RewriteRule ^([a-zA-Z0-9_-]+)$ profile.php?username=$1 RewriteRule … ![]() | |
This is my first time really using HTML, Javascript and PHP. This is part of a prototype for a project for my SW Eng. course. The problem I am having is that the form is not going through the validation. The user is supposed to be able to search by … Web Development html-css javascript php | |
Hi everyone, I hope someone can help me, here's my problem: I have a php script that retreive photos from a mysql db (and place it on my page into a loop in the right album section), I dont know if you understand what I mean but if you have … | |
Hi, In my page I have a checkBoxList and I need to select all items that has an specific word. Let's suppose my CBL is: VB.NET C#.NET Java2SE Java2EE And suppose that I need to select only the items about .NET (the items that cointain the string ".NET"). How can … Web Development asp.net javascript vb.net | |
I wish to test run my newly designed web site from server now its in desktop system please help me. Web Development asp.net web-server | |
Hello, I am using Visual web developer 2008. I am using AccessDataSource and i connected access database with that. Now on my login page, i am having 2 text boxes (UserName and Password) and a login button. So when i click login button, those 2 fields must be checked with … Web Development asp.net | |
Hi, I want to learn ZEND Framework. I have checked the courses and they are very expensize. My question is, if I buy a book for ZEND, do you think i could learn it. I know PHP5 and OOP. I am open for other recomendations. Thanks | |
How to store list item in order of the listitems selected? Ex: Hindi,English,Telugu,Social............ these are items in checkboxlist, now when i select telugu that value should be stored as 1 and then if i select english that value should be stored as 2,so that we can know the order of … Web Development asp.net | |
Hi I'm having an issue with curl on windows with php. If i have curl enabled in php and i run php through command line i get an instant cpu spike... php.exe cpu jumps to about 20% then back down. when i disable curl it only jumps to about 2% … | |
dear all, I created a web user control for date picker with VB.Net language. To use that control, I dragged that file into my forms. Now, I want to put it in ToolBox control... Does anyone know how to do that? What is this code function ? [CODE]<DefaultProperty("PagingText"), ToolboxData("<{0}:PagingTextBox runat=server></{0}:PagingTextBox>")> … Web Development asp.net vb.net web-server | |
I am posting very simple PHP/mysql as below, to get the hang of creating a DB query, and checking if my syntax, and contruction logic is correct, However when I post the code below: [code] $dbhost = 'localhost'; $dbuser = 'myuser'; $dbpss = 'myassword'; //connect to database// $conn = mysql_connect($dbhost, … Web Development php | |
Hi this is my table structure. I need one result from this. There is a field named LAPeriodStart in this table. If LAPeriodStart date is 2009-01-05 Site Id is 4067 Today Date is 2009-12-07 1. Now I need to calculate LAPeriodStart Month from the date(2009-01-05) How its Possiblle? 2. If … | |
Hi, I'm been looking online for sometime now and haven't really found anything that helped. Bascially my question is: Is there anything else I need to add to my php.ini file or on my Exchange server to allow me to recieve email since I'm not getting email currently from my … Web Development php windows-server | |
Hello, I am trying to post data from one page to another, I keep getting an error message every time I run the code "Object reference not set to an instance of an object.". Please help [CODE] Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If … Web Development asp.net first-post visual-studio | |
Hello, I am storing an Image name as a value in session variable on Page 1. Now on Page 2, I want to use this session variable value in the <table background="Session Variable Value"> How to achieve this. Thanx for help "You will not be punished for your anger, you … | |
Problem with storing values in Array from php to AJAX index.php [CODE] <html> <head> <title>Main Page</title> <script language="javascript" type="text/javascript"> function ajaxFunction() { var xmlhttp = new XMLHttpRequest(); xmlhttp.onreadystatechange = function() { if(xmlhttp.readyState==4) { var arr = new Array(xmlhttp.responseText); alert(arr[0]); } } xmlhttp.open("GET","main.php?q="+document.frm.Act.options[document.frm.Act.selectedIndex].value,true); xmlhttp.send(null); } </script> </head> <body> <form name="frm" id="frm" … Web Development javascript php | |
I found a few where they past the item instead of the value. i want the value to be passed. for e.g [CODE]<asp:CheckBoxList ID="cblPlanets" runat="server" Width="109px"> <asp:ListItem Value="1">Mercury</asp:ListItem> <asp:ListItem Value="2">Venus</asp:ListItem> <asp:ListItem Value="3">Earth</asp:ListItem> <asp:ListItem Value="4">Mars</asp:ListItem> <asp:ListItem Value="5">Jupiter</asp:ListItem> <asp:ListItem Value="6">Saturn</asp:ListItem> </asp:CheckBoxList>[/CODE] and i want it to display You selected: 1 2 3 … Web Development asp.net | |
I want to know if there is a way to make php react to a change from mysql database example: I have information on a db and I want to display it in a table and group all the info from one day in one <td></td> then when the day … Web Development php | |
Hello all, I am trying to update the .onclick event after its been clicked once. Everything works fine in my script except updating the .onclick event. I have searched the web and found that I should do the following: div.onclick = function(params); or div.onclick = new function(){updatedStatement}; I have tested … Web Development javascript open-source | |
Want to click on an image from a list and simply set that filename in a field in a mysql database. I read the tutorials and have tried several different ways to pass the variable on the url and then update with a second php page. Hi my second question … | |
Can anyone help me or get me going in the right direction? Here is the problem. I need to create a script that presents a word guessing game. Allow users to guess the word letter-by-letter by entering a character in a form. Start by assigning a secret word to avariable. … Web Development php | |
Hi, I need help with this. I basically want users to enter their name email address with validation and also have a tick box for them to say yes or no to receiving future updates. This information will be sent to an email address not a database on clicking the … Web Development email file-system php | |
How do i add my ajax-loader.gif to my js. and what kind does the script look like.... Thank you to everyone.... My js. below [CODE]var Spry; if (!Spry) Spry = {}; if (!Spry.Widget) Spry.Widget = {}; Spry.Widget.TabbedPanels = function(element, opts) { this.element = this.getElement(element); this.defaultTab = 0; // Show the … Web Development javascript | |
Im using regex to pull an image url from a site and would like my site to display the image from that url. Anyone have an idea on how to do this since setting the image url to the response url isn't working? | |
Hi all, I made a script that can be used as a captcha. It shows a random amount of (roman) letters sliding by every 2000 miliseconds (thats why its called [B]Matrix[/B]Captcha. But I am not sure wether it is able to stop bots from spamming. Does anyone have a suggestion … Web Development javascript | |
Hi I have took from internet PHP script that uploads images to the host [CODE] <form name="upload-form" id="upload-form" method="post" action="./upload.php" enctype="multipart/form-data"> <input type="hidden" name="MAX_FILE_SIZE" value="30000"> <fieldset> <legend>File upload:</legend> <dl> <dt> <label for="file">File:</label> </dt> <dd> <input tabindex="1" accesskey="b" name="file" type="file" id="file" /> </dd> </dl> <input tabindex="2" accesskey="l" type="submit" name="cmdupload" value="Upload" /> … Web Development file-system php | |
hai i want to know that how to compare the two srting's ... i mean i have a date in string 1 and in the second string i have other date now i want to compare by operant <,>, i convert that string to int but it through error Web Development asp.net | |
Hello I have tow queries on my website. A first query that extracts a number of records from my "Tutors" database based on the criteria "Location". This query works fine and returns "Id", "Name" and "HourlyRate". I want my user to be able to see an extended profile for each … | |
how long a default session stay in php | |
Hello Guys, Can someone please show me if this is possible or not, if so where can i get further information or a code example will be nice. When i enter first name, and then click from the drop down selection "product spec 3" from options "product spec 2" , … Web Development php | |
hello.... is javascript works in mailbody? i mean admin sends registration form through email to new users. for that registration form validation javascript is not working. any suggestions Web Development javascript | |
I just started using both PHP and MYSQL and i have this SQL statement that get record from three tables ie [CODE]Select name,age, datejoind, active, avrage_time_in,avreagework_duration from Personalrecord Union Activestaff Union Timetable[/CODE] but i need to be able to get a the list of Returnd field name into a PHP … ![]() | |
All, I am currently trying to implement Global Exception handling in a website and ASP.Net is throwing a File Not Found exception all the time. I did some search in this regard and the issue is still not solved. I kindly request some one to guide me in solving this … Web Development asp.net | |
I've read some articles and forums on the topic, but still hasn't gotten a clear answer for myself... What I need is my incoming emails to be stored in my MySQL database. I understand that the email has somehow be submitted to a PHP script that will handle it further, … | |
Hello all, I am not sure if I should post this in this forum or the PHP forum. Basically, I am designing a web application for a school project. On the delete action, I want to prompt the user to make sure they mean delete. I was wanting to use … Web Development javascript | |
Hi, What I want to do is to upload a file to a specific directory as well as enter the data into a MySQL database. The specified directory would be a value that has come from a previous select statement from the database. So as an example, I would want … Web Development php | |
hey, i want to install apache ,php and mysql.in my ubuntu linux. but i come across a problem . i configure the apache ,and in the command line it works well: root@chrysanthemumwolf-laptop:/usr/local/apache2/conf# /usr/local/apache2/bin/apachectl start httpd (pid 4325) already running root@chrysanthemumwolf-laptop:/usr/local/apache2/conf# /usr/local/apache2/bin/apachectl restart but when i test it in my browser … | |
Hi, I am using sql data base the image save in database but it doesnt get viewed in data grid view though rest of the items are viewed. Please help me to come out of this solution. Regards Creativz [code] using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; … Web Development asp.net dataset display image web-server | |
--Im having issues using a master page and im hoping for some insight. What i want to do is have a common background image across all pages that are on my site. --When i create a master page and set the background image to the appropriate image (stored on the … Web Development asp.net | |
Hello, I'm new in ASP.NET environment. I'm using text boxcontrol with multiline properity to add description of product into my MS access database. My question is, when I print the data from DB the description is printed in one line not in multiple lines!!! How to solve this problem? Web Development asp.net | |
Hello everyone, I hate to be a bother, but I'm having some difficulty figuring this out. Through an AJAX implementation, I am receiving a SQL Query result that has: [LIST=1] [*]An object's attribute delimited by a comma [*]An entire object (database row) delimited by a colon [/LIST] This is an … Web Development javascript | |
Hi, I'm not sure if this is the right place for it. I'm thinking of creating a secure place on the internet. Some of my presumptions are: 1 - That no system/network is to be trusted. 2 - Important data should be encrypted. 3 - The link between data and … Web Development cybersecurity encryption php | |
I have this database project due Monday and I am trying to create a PHP script to do a simple search query in the MySQL database. This is what I have... [B]search.html[/B] [code] <html> <head> <title>NOMO Auto Group Inventory Search</title> </head> <body> <h2>NOMO Auto Group Inventory Search</h2> <form action="results.php" method="post"> … | |
like isnt there a way to update an rss feed without using other programs? i have an .rss feed and it has like 10 entries or whatever they are callled but its only because i cant update it manually everytime i want to. that would be rediculous. also ihave some … Web Development file-system xml |
The End.