52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for lydia21

[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
Member Avatar for lydia21
0
98
Member Avatar for Scottmandoo

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
Member Avatar for Scottmandoo
0
81
Member Avatar for greglobal

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
Member Avatar for johnlin
0
98
Member Avatar for sibotho

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
Member Avatar for johnlin
0
670
Member Avatar for GEOHAM

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
Member Avatar for GEOHAM
0
96
Member Avatar for nikhilthelegend

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
Member Avatar for somedude3488
0
86
Member Avatar for twelvetwelve

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
Member Avatar for DMayo
0
1K
Member Avatar for Fungus1487

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
Member Avatar for Fungus1487
0
103
Member Avatar for ericstenson

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
Member Avatar for ericstenson
0
87
Member Avatar for dottomm

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 …

Web Development html-css php
Member Avatar for dottomm
0
1K
Member Avatar for msdmds

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
Member Avatar for msdmds
0
154
Member Avatar for pukkalol

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
Member Avatar for Nick Evan
0
279
Member Avatar for aran87

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
Member Avatar for queenc
0
151
Member Avatar for Thirusha

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
Member Avatar for Thirusha
0
103
Member Avatar for Nithu25

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 …

Web Development java-jsp session
Member Avatar for Nithu25
0
69
Member Avatar for preetisiyer

[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
Member Avatar for phper
0
158
Member Avatar for statmatics

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
Member Avatar for HenryGR
0
160
Member Avatar for lydia21

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
Member Avatar for phper
0
77
Member Avatar for Gia

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
Member Avatar for ShawnCplus
0
149
Member Avatar for maydhyam

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
Member Avatar for ~s.o.s~
0
115
Member Avatar for nireekshan

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 …

Web Development java-jsp mysql
Member Avatar for mr4top
0
92
Member Avatar for mgn2683

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
Member Avatar for nav33n
0
105
Member Avatar for twelvetwelve

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 …

Web Development mysql php
Member Avatar for nav33n
0
1K
Member Avatar for geofoxer

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
Member Avatar for geofoxer
0
68
Member Avatar for pendejo

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 …

Web Development flash pdf php
Member Avatar for sDJh
0
110
Member Avatar for Hers2keep

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
Member Avatar for Hers2keep
0
1K
Member Avatar for hansF

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
Member Avatar for vl4kn0
0
142
Member Avatar for s1986

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
Member Avatar for s1986
0
237
Member Avatar for vedmack

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
0
75
Member Avatar for dskumar_85

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
Member Avatar for dskumar_85
0
77
Member Avatar for Taffd

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
Member Avatar for somedude3488
0
87
Member Avatar for 2bu

Does CF run any better or faster on Windows or Apache. Can you recommend some good shared hosting companies? Thanks

Web Development apache coldfusion
Member Avatar for peter_budo
0
81
Member Avatar for aran87

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
Member Avatar for aran87
0
96
Member Avatar for ericstenson

Is there a difference in handling between Session.Add("SOMETHING","somevalue") and Context.Items.Add("SOMETHING","somevalue")?

Web Development asp.net session
Member Avatar for munr
0
222
Member Avatar for hansF

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
Member Avatar for cerberox
0
129
Member Avatar for khaniya_amol

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

Web Development asp.net c#
Member Avatar for wahabaziz
0
75
Member Avatar for kevin wood

can this be used to email a php page to a mailing list using a submit button?

Web Development php
Member Avatar for kevin wood
0
273
Member Avatar for Geonith

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 …

Web Development html-css php
Member Avatar for sDJh
0
87
Member Avatar for aran87

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 …

Web Development mysql php
Member Avatar for ditty
0
133
Member Avatar for ash_fsktm

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
Member Avatar for sDJh
0
190
Member Avatar for 5447tina

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
Member Avatar for shaikh_mshariq
0
173
Member Avatar for Venom Rush

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
Member Avatar for nav33n
0
171
Member Avatar for BluePaper

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' …

Member Avatar for BluePaper
0
337
Member Avatar for flynismo

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
Member Avatar for cerberox
0
97
Member Avatar for queenc

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.

Web Development display php
Member Avatar for queenc
0
147
Member Avatar for sree22_happy

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
Member Avatar for sree22_happy
0
428
Member Avatar for swamp56

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: +-------+--------+--------+-------+--------+--------+ | …

Web Development mysql php vbulletin
Member Avatar for swamp56
0
102
Member Avatar for sbv

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.

Web Development asp asp.net vb.net
Member Avatar for sbv
0
103
Member Avatar for tmt000

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
Member Avatar for ~s.o.s~
0
95
Member Avatar for Geonith

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 …

Web Development mysql php
Member Avatar for Geonith
0
97

The End.