52,566 Archived Topics
Remove Filter ![]() | |
[CODE]<html> <head></head> <body> <?php $id=$_GET['id']; $hostname = "localhost"; $username = "jesus"; $password = "jesus"; $dbid = "jesus_jesus"; $link=mysql_connect($hostname, $username, $password); mysql_select_db($dbid) or die("unable to connect"); $result=mysql_query("select * from jobs where owns='$id'"); while($myrow = mysql_fetch_array($result)) { print "<option value='$myrow[0]' selected>$myrow[1]</option>"; } ?> </body> </html>[/CODE] In this code i need first value … Web Development php | |
Ok im trying to upload an image and a .zip file to 2 different loactions at once aswell as put their links on my mysql database, heres my script, at the moment it displays nothing, does nothing and seriously needs fixing. [CODE=php]<?php $username="my_username"; $password="my_password"; $database="my_database"; $font_name = ucfirst($_POST['font_name']); $letter = … Web Development php | |
Hello, I want to write a simple application in Ruby to send a sms message. Is there any free sms gateway to try it out ? Any good sites/tutorials for developing the sms code ? Thanks atul Web Development ruby | |
Hi i heard that i can send sms from my pc using my cell phone [COLOR=black]. Then use the computer / PC and AT commands to instruct the mobile phone or GSM/GPRS modem to send SMS messages.[/COLOR], does anyone know anything about this. What is these AT commands and how … Web Development asp.net | |
It's probably OBVIOUS to most of you (I'm a self-taught PHP novice) but I can't, for the LIFE of me, figure out what's wrong with this code! I'm getting a parse error that points to the open curly quotes (in red) in the first line of this code: "...parse error, … Web Development php | |
I'm doin a project using php and mysql. i have 2 tables in my database namely: question & answer. the question table can b accessed by teacher and answer table can be accessed by student... the teacher can all or delete questions frn d question table... i want to create … Web Development php | |
I'm trying to use the GET method to pass a variable from one page to another [code=php] <?php $id ++; echo $id; ?> <input type="hidden" name="quiz" value="venn" /> <?php echo '<input type="hidden" name="id" value='.$id.'" />' ?> [/code] In the URL it returns the value [url]http://localhost/moodle/logicquiz/quiz_start.php?answer1=&answer2=&answer3=&answer4=&quiz=venn&id=3%22[/url] My question is this.......how can … Web Development php | |
Hello All. This seems like a simple question but i cannot find a solid answer anywhere. Im in the middle of streamlining our web application for use on local network and external use. When a form loads there are usually several blocks of code that run. EG. Fetch Title From … Web Development asp.net web-server | |
Hi - At the top of my page, let's say I declare a variable by Shared D1 as String Then in different functions/routines throughout the page I write and read the value of the string. This works just fine. The problem is, let's say the user closes the browser and … Web Development asp.net | |
Hello and thanks in advance to anyone that can help. I trying a simple password recovery script that emails the password after a registered user enters their email. For testing purposes I have been able to get the variable to display on the page after submission, but the email that … | |
I am trying to check if a numerical code that the user enters has already been submitted. I have already checked that the table exists as the first numerical code, but I keep getting an error when I try to check if the second numerical code exists in the table: … Web Development php | |
Can some one help me with this script of mine. ive coded this script so people can register on the register page which this script forms up, but the script is comming up with some errors which i cannot find and if i do find it another one pops up. … Web Development html-css javascript php | |
Hello im trying to get this checkbox code working, im using it in php in a while loop output so when the user gets there search output they can select an option by ticking a option but the user must at least select one option no more then 2 options … Web Development javascript php | |
I am very new to json and havent used much ojects in javascript. I have created a json object, and after i move through a couple of forms in my app i want to access that same object, is there a way to do it? Any help will be greatly … Web Development javascript json | |
Hi, I have a problem in catching window close event in safar. If the user close the browser window without logging out, i have to invalidate the session. The problem is that , how to catch the window close event in safari? Unload cannot be used, since unload will be … | |
[code] <%@ include file="header_style.jsp" %> <html> <head> </head> <script type="text/javascript"> MakeHoverable = function(navigationDiv){ var liEls = document.getElementById(navigationDiv).getElementsByTagName("LI"); for (var i=0; i<liEls.length; i++) { liEls[i].onmouseover = function() { this.className += " sfhover"; } liEls[i].onmouseout = function() { this.className = this.className.replace(new RegExp(" sfhover\\b"), ""); } } } function exit(){ var url = … Web Development javascript | |
I am sure this is old hat to many of you, but it is new to me. The idea is to display a floating menu when the mouse is over a non-positioned DIV item. First, I get the position of the DIV item, which works fine. Then I use style.left … Web Development javascript | |
when i'm passing value through $_SESSION in frames first time i'm not getting value.when i execute second time i'm getting value.why the values are not passing first time. Web Development php | |
Hello. I am new to JavaScript and need to make sure that all of the fields in this form are populated before the submission will go through, otherwise a message needs to popup saying which fields are missing information. Can someone please help. My code so far is: [code=html] <html> … Web Development html-css javascript web-browser | |
Hi All, I am just curious to find out...is there anyone out there who've encountered the same problem or similar...please help me... I got a working .js file, and I tried to edit the code, when I tested my edit, it doesn't work, since the system is already up and … Web Development javascript | |
hai i am nireekshan i am using mySql database in this i am create employe table Now i am davalep One .HTML Page in this i am write the employe table fieldes-----------And write Jsp page inThis i write MYSQL CONNection code And Insert Prapared Staments Now i am run TOMCat … | |
Right now the site I am working on has a restrict access set up for two levels, but the way they set up their registration, once someone registers, they can login to the member side without first being activated in the database. I'd like to be able to adjust the … Web Development php | |
Hi I’m new to PHP and MySQL and I’m trying to return a MySQL query using a PHP variable that has been passed to it. I currently get this error: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\wamp\www\moodle\logicquiz\quiz.php on line 57 Error performing query: You … | |
Hello all, I am wanting to know if it is possible to program a log-in page with php that will limit the amount of attempted logins, and then after a specific amount of wrong tries (say 10 for example) that person will be blocked for several hours. I am no … Web Development php | |
i m trying to find out which method would be the best to create a: web-form. that the client can build and add field as wanted. with submit button. (for me to recieve) with convert to downloadable pdf,txt,doc. (for them to backup) it's for the client to build his Q&A … | |
I am very new to php programming, but not new to web programming. I am setting up an osCommerce store on a W2k03/IIS server and have run into the error below. This happens on the final submit order button. I've done some searching on the web and the general concensus … Web Development php web-server | |
Can somebody explain why the following works... [code] <?php system("ls /home/hans/"); ?> [/code] and this not..... [code] <?php system("cp /home/hans/data.txt /home/hans/data.tx2"); ?> [/code] For the life of me, I can't figure it out. I simply want to copy a file, so why won't php let me do this? Please help, … Web Development php | |
in the database i have certain date as 01/01/1900.now while displaying this in the data grid along with the other columns i would like to display all the dates having value 01/01/1900 as blank.is it possible to do so?if yes then how? Web Development asp.net | |
Hi i got a jsp page which uses an external .js file and also some internal javascript too... the problem is that none of the functions that inside the external .js file are recognized inside the jsp. But... if i copy the source code of the jsp into an html … Web Development html-css java-jsp javascript | |
hai friend's .... now i have developing one website , how to design the website most effectivly , because in VS2005 the button and some other control's r have only one design , if i have give back color and border color mean then button r not seen effectivly , … Web Development asp.net | |
Hi All, I have a table 'names' with a column 'name'. Using a SELECT statement I've got 10,000 randomized names. I'd like to put them into groups of 3 and have the 1 remaining name available to do something with later. Can anybody help with the code for sorting these … Web Development php | |
Does CF run any better or faster on Windows or Apache. Can you recommend some good shared hosting companies? Thanks Web Development apache coldfusion | |
Hello i want to select a row from this search and paste it to the next page do i need anymore code in each row, cus all it shows is a textbox next to each row. Ive got all connections, the search all works and its in a form i … Web Development php | |
Is there a difference in handling between Session.Add("SOMETHING","somevalue") and Context.Items.Add("SOMETHING","somevalue")? | |
Hello everyone, I'm running my little web server as a hobby project: [URL="http://neo.dyn-o-saur.com"]http://neo.dyn-o-saur.com[/URL]. Almost all coding is done my myself and right now I'm working on an admin panel to streamline some tasks. What I want is to: 1) upload a file, 2) run a shell script on the file, … Web Development php web-server | |
please u said u did now i want to do same but actually i dont have time because our final year submission is goin on and also exams are there so plz can u help me for that | |
can this be used to email a php page to a mailing list using a submit button? Web Development php | |
how would i go about doing this? I have several html forms that i have made php scripts to insert the data into mysql databases. What I have gotten it to do so far, is give me a blank page with confirmation messages saying the it connected to the database … | |
Hello basically i got a signup page and i want the user to be able to browse and upload a image and when the user clicks signup all his details and his picture will be saved to mysql database table, and when the user signs in the image appears is … | |
hello dani and everyone here.. please help.. i try to create my own page number on my php file.. each pages, i wanna have page number at the bottom right.. some page call from the database.. so we dono how many pages it will take.. do u have any idea … Web Development javascript php | |
this form calculates and it works in IE and safari but not in firefox - in firefox everything works EXCEPT the calculation. can anyone pleae help me know why so i can fix it? thank you i am including script first, then the form code: script: [code=JavaScript]<SCRIPT language="JavaScript"> function Calculate() … Web Development javascript | |
Hi there I have a form that I'm trying to submit but it just doesn't want to play nice. The form i have has 2 submit buttons. One processes php code that updates info in a DB and the other deletes the info in the DB. The problem is that … Web Development javascript | |
Mhm. This is the VB.net code behind a webpage I'm working with, I've also provided the ASP.net for the frontpage as well. This maybe really simple and I've missed it but everytime I run this code (below) I keep on getting the same error "Invalid column name, Skyrail" where 'Skyrail' … Web Development asp asp.net html-css open-source sql vb.net visual-studio web-server | |
Hello all! I am very new to php...still trying to grasp the fundamentals of it. I have a scenario that I hope I could make work, because it will save me A LOT of time and heartache. Here's the deal....I have two different websites. However (this may be confusing because … Web Development php | |
hi, In my application ,i am able to upload a file in my server...now i want to display the first three lines of the uploaded file.please do tell me how to do tat. | |
hi friends, I need your help............. I have a div content in my home page.while clicking on that div i need a modal window... i have done that using jquery. In that modal window i need to call accordion java script for sliding menu.... and again i need to use … Web Development javascript | |
Hello :) I have a quick question with a script I'm making; It's a php script used to add data to pages (there are 5 in total and an index page), and I just restructured the database for more efficiency :o . It used to look like this: +-------+--------+--------+-------+--------+--------+ | … | |
hi all i am searching for implementing a parent-child relation in datagrid (something like tree view). actualy i did this in vb.net using a datatable and navigation property of vb.net datagrid. please help me for this. | |
Dear All, Here's what I'm interested in doing but can't get working. In my webpage, the user can visualize some information from the database and eventually choose to edit it. (All this is done with AJAX). When the user clicks on "edit" the appropriate <DIV> section is refreshed such that … Web Development javascript | |
i'm trying to populate a select list from a mysql database. my line numbers on the code are 90 to 104. the error i'm getting is Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in C:\wamp\www\capstone\admin\admin_curriculum.php on line 99 my code is: [code=php] $con = mysqli_connect("localhost","root",""); $sql … |
The End.