52,566 Archived Topics
Remove Filter ![]() | |
Hey, I am having trouble with some code I am using. I have used this same code on a different site but it doesnt seem to work now on this site. I am trying to insert something into my database. however I keep getting this error: SQLSTATE[42000]: Syntax error or … Web Development mysql php web-server | |
[CODE]<?php $file = 'GPSserial.txt' or die('could not open file!'); $handle = @fopen($file, "r") or die("could not open file!"); if ($handle) { while (!feof($handle)) { $buffer = fgets($handle, 4096); $GPSstr = $buffer; $GPSarray = explode(',', $GPSstr); if ( $GPSarray[0] == '$GPGGA'){ echo 'congrats'; } else{ // move to the next line … Web Development file-system php | |
hi! I have prbleme is that how can apache recieve email and how I can add session it mean that the person can not add or delete or do any evenement before he login . [CODE] <?PHP session_start(); include("connexion.php"); if (isset($_POST['login'])and isset($_POST['password'])) { extract($_POST); if (empty($login) or empty($password)) { echo … | |
![]() | Hi everyone I am trying to develop a friend system where you can view friends who you are friends with. I have been able to get it to show one result but it wont show any other. Please can someone tell me what I am doing wrong. Here is the … Web Development mysql php programming-construct sql ![]() |
Hello everybody I made an personal form to upload files to different maps wich can be selected. I'm making an mistake, but I don't know how to fix this. There is no error only when the file is processed, the file isn't kept in the directory map wich was selected. … Web Development file-system php | |
Hi everyone Forgive me if I am asking a foolish thing, i have seen several time this sign "->" in php. example is below $total_report['turnover_cost_annual'] = round($rows->turnover_cost_annual); It is bold here "ound($rows[B]->[/B]turno" can anyone please let me know how it is pronounced and whats its use in php. Any usefull … Web Development php | |
I've been developing in lot's of other languages, and never had this difficult a time setting up. On a XPSP3 machine, I have WAMP in the root folder, with all parts installed. Then I have eclipse-helios for php installed as well. My file path is C:\www\HelloWorld\hello.php The follow code renders … Web Development ide php troubleshoot-hardware | |
Hi, I have some pictures in a MySQL database that i am able to retrieve and display. How ever, i want to display them as images in a gallery, but not able to. The MySQL query is ok, it retrieves the images, i think the problem is with my PHP … | |
i wanna try to use ajax to async something from the mysql database.. i have read many tutorial/book/article recently and there are many things that I don't clearly understand. it looks like json is a good pick to do stuffs like loading things from a database. however, the examples i … Web Development javascript javascript-jquery json | |
Please help me to solve the problem.I want to rewrite the url from [url]http://localhost/demo/index.php?keyword=sap[/url] TO [url]http://localhost/demo/sap[/url] but i am facing problem in rewriting url i.e unable to rewrite url to [url]http://localhost/demo/sap[/url] i have written my htaccess as RewriteEngine On RewriteRule ^([a-zA-Z0-9_-]+)$ index.php?keyword=$1 Please help... Thankyou [code] <?php if( (isset($_GET['action'])) && … Web Development php | |
//This is my html code [CODE]<INPUT TYPE=\"Button\" CLASS=\"Button\" onClick=\"delRow()\" VALUE=\"Delete Row\"> //this is javascript function for deleting a row function delRow() { var current = window.event.srcElement; //here we will delete the line while ( (current = current.parentElement) && current.tagName !="TR"); current.parentElement.removeChild(current); }[/CODE] Thanks, Sura Web Development javascript | |
Hello Everyone, I need help in this issue and if I solve it, I will solve all of my problems in the web program I am building. I have a list of cateogries where I can do 2 things: Start a new list under that category (list of sub categories) … Web Development asp.net web-server | |
I want to make a jsp page which checks some condition and if it is not true it should send error response 404 to server.. so that the tomcat server should think that the page is not available... is it possible to do in jsp..??? Web Development java-jsp | |
Hi, can someone tell why or how I can perform a search using text from a drop down box - I can search successfully using a textbox and bring back the correct search results - But when I am using a dropdown box my search seems not to work - … | |
Hello Friends, Greetings. I have a search option in my website but it doesn't work properly. And i don't want to use google search in my web page. If any1 can help me in this regard that, how to make own search engine for my own website ? Thanks & … Web Development php | |
Hey. I am new to webprogramming..so sorry if this question sounds stupid:D I just wanted to make an animation but in firefox that animation just doesnt appear tho it works great in IE and opera. Do you have any idea what's wrong? I use the function setTimeout() and document.all[id].style...etc to … Web Development javascript | |
Hi Im looking for a browser compatable and stable method for taking an image of a website and displaying it on my website. For example, someone submits a link and then another person visits the page and sees there website information and an image of the site itself. Perhaps like … Web Development php | |
[CODE]<input type="button" onclick="move()" value="go" /> <br /> <img src="btn16.gif" style="height:100px; width:100px; top:0px" id="img" /> <script> var k=0; function move(){ var t=document.getElementById("img").style.top; t=parseInt(t); t+=15; document.getElementById("img").style.top=t; if(k<10){ k++; setTimeout("move()",1); } } </script>[/CODE] Web Development javascript | |
"Hi, I need some help with a text box input. This is used in a form to capture results from exams. I need the user to not be able to put in a amount greater than 100, is there a way of doing this? Web Development php | |
When I call this this form in self submission the calue of the drink_id is always the last id value of the table...... How to retrive the proper value as per id ??? [CODE]<form name="drinks" method="post" action="<?php $_SERVER['SELF_PHP']?>"> <table width="100%" border="0" cellspacing="10" cellpadding="0"> <?php $d_id=1; $query01 = "SELECT * FROM … Web Development php ![]() | |
I want to display a player in Jsp page that supports .wav file | |
I have try to display selected date from calendar into textbox. But, I got error. My textbox name is txtStart My calendar name is Calendar1 Here is my code.. [CODE] protected void Calendar1_SelectionChanged(object sender, System.EventArgs e) { System.DateTime myDate = new System.DateTime(); myDate = Calendar1.SelectedDate.ToString("MM/dd/yyyy"); txtStart.Text = myDate; } [/CODE] … | |
Ok I need help setting up a postback script in PHP for an affiliate program. Example: [code]http://example.com//postback.php?appId=2798&userId=12345&amount=10&hash=8b44493ab7b37a6e47ca2f8726b87563[/code] How would I script something that would take the postback info and look up the user and give them the amount shown while checking the hash. I am very confused by all this … Web Development php | |
Hi I seriously need help. I have to create a web app using asp.net and c# that sends data that the user put in and then my web app sends data to another company's webservice, process the data and then my web app should display it to the user. What … | |
hi, i looking for a dropdown menu something like this: [url]http://www.lwis.net/free-css-drop-down-menu/dropdown.ultimate.horizontal.html[/url] but without jquery javascript or complex javascript. the reason for mininum javascript if possible is that i use many javascript already for other operations like ajax etc and if i add jquery etc all functions simple don´t work :( … Web Development html-css javascript javascript-jquery | |
hi a piece of code i have requires a files location and name for it to retrieve its content. instead of hard coding it i would like to simply have a window open that enables me to select it from my directory. is there a way i can do this … Web Development php ![]() | |
Hello. I am using Easy php i am trying to connect with the following code [code] <?php $con = mysql_connect("localhost","admin",""); if (!$con) { die('Could not connect: ' . mysql_error()); } // some code ?> [/code] getting error as follows Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'admin'@'localhost' (using password: NO) … | |
When I send an email using PHP to hotmail or to my personal email, it comes through fine. The message and PDF attachment is there. When I send the same email to a google gmail account, the headers and subject seem to be intact, but there is no message and … ![]() | |
Anyway I can turn off the 500 error? I have a recursive function that is being set to be called a few hundred times if possible, but before that can happen and proceed with the rest of the code it calls a 500 error. (For those interested its a dynamic … ![]() | |
Please help? I am getting the following error when executing a mass mailing script that contains HTML as the mail content: [B]Parse error: syntax error, unexpected '>' in ... on line 14[/B] If I remove lines 14 to 27 (from <style> to </style>) I get the following error: [B]Parse error: … Web Development php | |
Hi All, I want to create SMS sending solution from .net framework to send notification to my clients. I found a website where they offer a software that seems pretty suitable, but I want to know more about the company. Has anyone heard about Ozeki Ltd? Good or bad? Their … Web Development asp.net | |
I just downloaded PHP, but I am having trouble finding where to write my code. I found a website said to use php-cgi.exe. Is this right, because I can't figure out how to save nor display the code and output. Web Development php ![]() | |
Hello everyone, I'm having a little trouble here. I'm trying to use a session created from log in(the user id) and take that user id and pull out information from the data base. An example would be: (this is not the actual code, but I will wrap it anyway) [CODE] … ![]() | |
[CODE] Protected Sub btnSend_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSend.Click If txtFromAddress.Text = "" Then MsgBox("Please Enter From Address", MsgBoxStyle.Exclamation) txtFromAddress.Focus() Else If txtToAddress.Text = "" Then MsgBox("Please Enter To Address", MsgBoxStyle.Exclamation) txtToAddress.Focus() Else If txtSub.Text = "" Then MsgBox("Please Enter Subject", MsgBoxStyle.Exclamation) txtSub.Focus() Else Dim mailmessage … | |
How could I like programming ? When you spend 2 days on one single, pointless line and the only thing you get to see is an ERROR-response. It`s really inhuman and I cant imagine who would want this voluntarily. Nevertheless, what am I yammering about is following error, that is … Web Development java java-jsp postgresql session | |
I need to display part of text from mysql: for exapmle i`m having 50characters and then i just want to display just part of it like 20characters in the first page and the remain including the first as a link to another page. That when someone clicks the link the … | |
![]() | Hello all. I have made a basic page in html with a table in it. The top row in the table displays a picture. When I designed and viewed it in html format the table started at the top of the page. I set the rest of the layout up … Web Development php |
I am looking for an ecommerce solution similar to [URL="http://simplecartjs.com/"]SimpleCart[/URL] in the fact that it is one page and allows PayPal (or Google Checkout ect.) to handle the heavy lifting. However, I need something that can calculate shipping costs and deal with in stock/out of stock items. I would really … | |
For the solution, I cannot use any postback methods, because this is all working through ajax. The solution need to be implemented in the asp.net code. I have a `List<WebPage>` that contains a list of Links `(List<Link>)` and I need for all the links to bind repetitive information such as … Web Development asp.net | |
Hi Advanced Devs, I am very new to php. This is my learning moment. So, Help me. I have added a zip folder with my files. I also have expoted my database as zipped folder. Please help me with this topics. Please. Samrat | |
Hello, this my first thread and I need some supper fast help I'm on a deadline... I have applied for a Microsoft program but part of the application process is to complete this assignment... You are to create a console application that accepts exactly one command-line argument. If it doesn’t … Web Development javascript | |
Thank you in advance for your help: I really don't know much about Javascript but I'm trying to use it on my web site. Here is the code: [CODE]function changeCategory() { //ID#1 document.getElementById('category_106634').setAttribute("class","mind") document.getElementById('category_106634').innerHTML="MIND" document.getElementById('category_106634').href="http://www.voyagetobetterment.com/_blog/Voyage_to_Betterment_Blog/tag/MIND/" //ID#2 document.getElementById('category_106446').setAttribute("class","movie") document.getElementById('category_106446').innerHTML="MOVIE" document.getElementById('category_106446').href="http://www.voyagetobetterment.com/_blog/Voyage_to_Betterment_Blog/tag/MOVIE/" }[/CODE] The program works fine if the ELEMENT#1 is above ELEMENT#2 … Web Development javascript | |
Hi, I have setup a custom membership provider which works fine locally but when uploaded onto the host which is shared btw doesnt work due to the server operating in medium trust mode. The membership provider is pretty overkill for me i just need a really simple login/authentication to protect … Web Development asp.net operating-system | |
hi, i have a database that i have done for a client, which has about 5 CREATE VIEWS in the mysql database, i need to backup the database and then import it into a new database for another client who wants the same thing. problem i have is i can … Web Development php | |
Ive accidently deleted something needed in the body I think for this code, but I cannot work out what it needs. I think the descarea div is missing? Can you help me rewriteit? [CODE]<div class='row4' style='position:absolute; background-color:yellow;border:1px solid #000000; padding:10px; display:none' id='miniTopic'></div> <script> function Request() { if (window.XMLHttpRequest ) { … Web Development javascript | |
Lets say I want to show [url]http://www.whatever.com/longWebPage.html[/url] and [url]http://www.someOtherDomain.com/alsoALongPage.html[/url] and [url]http://www.ranOutOfNames.com/youGetThePoint.html[/url] All on one page with one scrollbar. I want it to seem like I copy pasted all three sites one after another on my page. I tried using frames but that splits up the window into parts. What I … Web Development javascript | |
Hey there, i'm beginner programmer in PHP and try on my web add cool url. I've this simple rewrite rule that make from url [B]page.com/index.php?id=about[/B] this url [B]page.com/about[/B] [code] RewriteEngine on RewriteRule ^(adm|img|content)/(.*)$ $1/$2 [L] RewriteRule ^(.*)$ index.php?id=$1 [L,QSA] [/code] But now i wanna to try some harder, e.g. i've … Web Development php | |
Hi all, I have a query that outputs 4 fields from a DB. Each row contains data like so: [code] $id = 1; $name = John; $items = 2; $price = 4.2; $saleprice = 2.0; $id = 2; $name = James; $items = 1; $price = 1.01; $saleprice = 1.0; … Web Development php | |
hi i'm trying to retrieve content from a .csv file and load it into a mysql database. i already created a corresponding table in my database with matching table names but when i try to use the following code, only one row is filled and with 0's. [CODE] <?php $connection … Web Development php |
The End.