52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for dr_copper

Hi, I try to create a menu for the website of my friend. But I have a probleme with the reaction of event. My submenu close when i quit the section div. Someone can help me please? my code: [CODE] <html> <head> <title>test menu</title> <script language="javascript"> function ouvrir_menu(cible){ liens_cible="liens"+cible; document.getElementById(liens_cible).style.visibility="visible"; …

Web Development html-css javascript
Member Avatar for dr_copper
0
212
Member Avatar for accra

I have my hidden id [code]<input type="hidden" name="id" value="<?php echo "$id" ?>" />[/code] in my form I have my [code]$id = $_REQUEST['id'];[/code] to get the id from the url And on the update script i have [code]$navtype = $_GET['nav'];[/code] And i have [code]WHERE id=$id[/code], but it keep updating just one …

Web Development php
Member Avatar for diafol
0
150
Member Avatar for deucalion0

Hey guys, so I have been trying to get images to appear with an SQL query using PHP. My table has a column called picture, it is datatype nvarchar50. I have a folder in my project called images and in there an image called 4.png. So in the field of …

Web Development php sql
Member Avatar for diafol
0
1K
Member Avatar for Marty1963

Sorry I'm still very new at this and there is probably an easier way to write this code. I want to have a contest page automatically redirect to another after a certain date. I have the code to turn on and off content after a certain date and I have …

Web Development http-protocol php
Member Avatar for Marty1963
0
269
Member Avatar for Martin C++

start_session() after <html> tags generates error, Can it be used there somehow? If so, then how ? If not then what are the alternatives cause I have a function that generates some part of my <head></head> in my themes. So the session_start() definately has to saty in that function (e.g …

Web Development html-css php
Member Avatar for diafol
0
171
Member Avatar for grendel0

Hello, I'm trying to insert values from a form to a table (employee) on my database using prepared statements. From what I can tell the connections are fine, am able to query the database (as shown in the code to check the user type of the current logged in user). …

Member Avatar for javaAddict
0
5K
Member Avatar for Advokat

Hey guys and girls, I'm now on this forum, but looking forward to some interesting debates :) I work at an "advokat (advokatkontor)" meaning a lawfirm in danish. I work with different things, but im the only person that knows any IT advokater/lawyers = knows nothing about computers :p My …

Web Development apache php
Member Avatar for pritaeas
0
153
Member Avatar for MattWhitehead__

I want to know if there is anyway of getting a discography from this page? [url]http://www.oasisinet.com/Discography.aspx[/url] I want to use it on a website that I'm updating at the moment. I right clicked on the flash interface and it said powered by Trinity St. I googled that but couldn't find …

Web Development flash javascript
Member Avatar for MattWhitehead__
0
106
Member Avatar for hhall56

[url]http://www.healthviewone.com/PHP/Meds/med-update.php[/url] The URL above takes me to the following URL which is coming out blank. Can someone review my code below and tell me why I am getting this blank page? P.S. the patient information is bogus, not real. So no HIPPA concerns at all. [url]http://www.healthviewone.com/PHP/Meds/meds-change-form.php[/url] <html><head><title>Change Record form</title> <style …

Web Development html-css php
Member Avatar for pritaeas
0
209
Member Avatar for jacob21

I am trying to add cc & bcc in below code but its not working. need suggestion [CODE]$email_from = "av@gmail.com"; // Who the email is from $email_subject = $_POST['hiddensubject']; // The Subject of the email $email_message = "Name : "; $email_message .= $_POST['name']."<br>"; $email_message .= "Message : ".$_POST['message']."<br>"; // Message …

Web Development php
Member Avatar for jacob21
0
2K
Member Avatar for rajphp

hi, i'm looking out for a parser script that stores information like name, dob, address, contact no. from the resume. the resume can be of .doc,.txt format thanks in advance

Web Development php
Member Avatar for pritaeas
0
132
Member Avatar for FriXionX

Say in index.html you set variable x to be 5. You navigate to a different page, lets say pageone.html. How can you keep x to 5? And if you change x to 3 on pageone.html, how can you keep it to 3 on pagetwo.html? (the whole website also, every webpage) …

Web Development javascript
Member Avatar for FriXionX
0
163
Member Avatar for a-lago

Hi im starting to learn programming and I'm stuck in this [CODE] puts "enter as much words as you like and i will sort them" words = [] while true words.push gets.chomp if words.last == "" words.delete(words.last) break end end sorted = [] def sort unsorted, sorted, num, var while …

Web Development ruby
Member Avatar for a-lago
0
751
Member Avatar for ebanbury

Many apologies if this is the wrong forum. I looked through all the different forums and wasn't sure. Please let me know and I'll transfer this to whichever the appropriate forum is. I use PHP/MySQL for my website and have been using DW CS5 for Site Management/Connections. I've been trying …

Web Development php
Member Avatar for ebanbury
0
264
Member Avatar for Tssouthpark

Hello, when some submits this form its get send to my email. If the picture or attachment has a space in it ( ex: tom file.docx) the hyperlink gets messed up. I attach a picture of it below. Thank you so much! [CODE=php]<?php if(isset($_POST['email'])) { $email_to = "talent@itarep.com"; function died($error) …

Web Development perl php
Member Avatar for cereal
0
144
Member Avatar for kutchbhi

The situations: I have text in a var, that I am assigning to the innerhtml of a 'p' tag . The text has whitespace at the end. The problem: The last whitespace isn't rendered, by p tags. IT is ignored. Is there a tag other than the pre tag, that …

Web Development html-css javascript
Member Avatar for Troy III
0
176
Member Avatar for danielbala

Hi.. This is my validation code [CODE]<?php error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING); //Process form if(isset($_POST['Emp_Save'])){ ////////////// //Name// //////////// if(isset($_POST['_EmpName'])){ if(!empty($_POST['_EmpName'])){ if (preg_match('/([a-zA-Z ]{5,30})/', $_POST['_EmpName'])){ $createaccnt1="t"; }else{ $createaccnt1="f"; $error1="<span class=\"error\">Five letters or more required</span><br />"; } }else{ $createaccnt1="f"; $error1="<span class=\"error\">Please add your name</span><br />"; } }//if(isset($_POST['_EmpName'])) ////////////// //Father Name// /////////// if(isset($_POST['_EmpFatherName'])){ …

Web Development pdf php
Member Avatar for cereal
0
133
Member Avatar for Martin C++

Hello, I have a function which is registering a navigation menu [CODE=PHP] function register_menu($name, $displayname){ if(!is_menu()){ $menu['name'] = $name; $menu['displayname'] = $displayname; $registered = TRUE; //This should be global, so that is_menu() function can use it. } } [/CODE] And another function which checks if the menu is registered [CODE=PHP] …

Web Development php
Member Avatar for Martin C++
0
126
Member Avatar for Martin C++

Hello, I need a php code that can detect the root foldername that my website is installed to. I need to use this constant in my bootstrap.php so it can't be relative to where the file is called from. Atm I have my root folder and admin folder. I need …

Web Development php
Member Avatar for Martin C++
0
125
Member Avatar for pizzipie

Hi, I am generating a table for use as a revision form. The following line: [CODE] printf("<td><input type='text' name='%s' onfocus='showDisplayName($v[1], $v[2]);' id='%s' value='%s'></input></td></tr>\n", strtolower($key), strtolower($key), $value);[/CODE] has the php function showDisplayName() embedded in it. This function will not work. If I write the identical line in a pure HTML page …

Web Development html-css php
Member Avatar for pizzipie
0
368
Member Avatar for geniusvishal

Guys I am stuck with a problem and want your genuine suggestion.. Actually the problem is that i am trying to send a mail using c#.net.. There is no issues while sending mail but when i try to include an attachment with it is not taking the path of the …

Web Development asp.net
Member Avatar for kamilacbe
0
450
Member Avatar for gandrap

Hi to everyone, I have a problem to create search engine, actually i dont have problem to create simple search engine, i have problem to create search, but with multiple criteria. I need search for recipes database. So, when u put something to search, below u have 6 options to …

Web Development php
Member Avatar for gandrap
0
272
Member Avatar for bigjoke

I am trying to get a database created as per html5 web sql specs. [CODE]h**p://www.w3.org/TR/webdatabase/#sql[/CODE] I am using jquery/javascript to accomplish this. Here is a bit of simplified problem that i am facing. 1. User enters two fields on a html form 2. In background, i create a websql database …

Member Avatar for pritaeas
0
154
Member Avatar for huntaz556

I know i have already asked this question but i didn't want to reply to an old thread :) But i have made a second table in my database named members_info the other table is named members and it holds the usernames and passwords. My question is how can i …

Web Development php
Member Avatar for huntaz556
0
199
Member Avatar for ayub05

Anyone can tell me what's going to my website? my website page content shows blank. But today morning i watched my webpage- [URL="http://doctorscare24.info/ph.php"]Vaccinations[/URL] This type of events happened regularly nowadays to my website. Please can anybody help me?

Web Development php
Member Avatar for cereal
0
193
Member Avatar for phpnewby

I am working on a forgot password page. The page allows a user to submit email and then a temp password is assigned for the user to login and then update his/her password. The problem that I am having is that the forgot password page does not update the database …

Web Development php
Member Avatar for Graphix
0
211
Member Avatar for tiffster

Hello forum, I am not skilled in php. A novice. I have a Joomla site and the front page is blank. After inserting a code given to me to reveal the error for the white screen. This error message is now showing. I have no idea how to correct this …

Web Development display php session
Member Avatar for tiffster
0
190
Member Avatar for PF2G

Hi, I'm doing a table that list courses that are in BD, but i'm having some problem, can someone help me? [CODE]<?PHP include 'topo.php'; include 'db_connect.php'; $sql = "SELECT * FROM cursos"; $query = mysql_query($sql,$connect); ?> <table> <?PHP while ($row = mysql_fetch_array($query)) { ?> <tr> <td> <div id="navigation-block"> <ul id="sliding-navigation"> …

Web Development php
Member Avatar for pzuurveen
0
121
Member Avatar for Danny159

Hey, I am a programmer in PHP Procedural and have just applied for a new job to further my career as a PHP Programmer, however they said it's advised to learn PHP OOP... so I have been watching some tutorials about PHP OOP and it just looks like OOP is …

Web Development career php
Member Avatar for diafol
0
218
Member Avatar for IanArcher

I have a drop down menu on a remote page whose source i can only view/copy but cannot edit it , so i am attempting to reconstruct the page from the source code of the currently existing one. I want to select all options from the menu when so i …

Web Development javascript-jquery php
Member Avatar for diafol
0
149
Member Avatar for pimzy

Hi, I am working on a project to manage information of our faculty from ASP.net in C#. There are profiles for lecturer,student and department head. When Admin set privileges to do tasks Eg:edit student details, this should be appear only in the lecturer profile as a links to edit those …

Web Development asp.net
Member Avatar for pimzy
0
144
Member Avatar for HasNor

Hi all, i have a problem when my system is not workable if running on the server, but at local host it run as usual without error.. when i want to insert the data it show "Data Not Inserted". Why it happen?

Web Development php
Member Avatar for HasNor
0
98
Member Avatar for Commando112

Hi, what is the best replacement for session_is_registered? Here is my code Main Page [CODE=PHP]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <? session_start(); if(!session_is_registered(myusername)){ header("location:index.php"); } ?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>C&amp;C-Relived Control Panel</title> </head> <body> <span>Login Successful</span> <form name="form1" method="post" action="logout.php"> <input type="submit" name="Submit" …

Web Development html-amp php
Member Avatar for edwinhermann
0
102
Member Avatar for jemz

Hi, Is it possible to download the javascript API documentation,and to use it without internet connection?.can you help me please where to download the api and how to use this without using internet.just like in java api i downloaded it and use it without the internet connection. Thank you in …

Web Development api javascript
Member Avatar for jemz
0
137
Member Avatar for poojavb

Hello All, Actually I am facing issue in creating an ASP.net application. I have created a project in VB.net but now my seniors are saying that the code should be in ASP.net and it is taking hell lot of time for code conversion, designing and all other stuff. Actually I …

Web Development asp asp.net vb.net
Member Avatar for poojavb
0
221
Member Avatar for bhagyap

Hi.. I am working on an project(asp.net C#) where i need to implement search within the website where i would like too retrieve the search results based on their links.. Can anyone help me??

Web Development asp.net
Member Avatar for mani-hellboy
0
177
Member Avatar for yatin chauhan

#region Get Cart if (Session["MyCart"] != null) { if (Session["MyCart"].GetType().Name.StartsWith("List")) { cart = (List<Cart>)Session["MyCart"]; } } city.ShippingCharges = Common.ConvertToDecimal(ordersAddress.ShippingCity); liCity = (from sc in liCity where sc.ShippingCharges.Equals(city.ShippingCharges)select sc).ToList(); //liCity = (from sc in liCity where sc.Name.Equals(ordersAddress.ShippingCity) && sc.StateID.Equals(ordersAddress.ShippingStateID) select sc).ToList(); int TotalItem = 0; foreach (Cart c in cart) { …

Web Development asp.net session
Member Avatar for mani-hellboy
0
224
Member Avatar for Shillz

m receiving the following error while publishing my site on iis. Please help. I have also attached the screenshot Server ErrorInternet Information Services 7.5 Error Summary HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid. Detailed …

Web Development asp.net publishing web-server
Member Avatar for Shillz
0
617
Member Avatar for Julia25

i have two html one which works in all browser and the other is for ie ex 1.html (not ie) and 2.html (ie) i added this in 1.html [CODE]!--[if IE]><meta http-equiv="refresh" content="0;URL=2.html/"><![endif]-->[/CODE] which works my question is if the visitor visit the same page (2.html) and using different browser i …

Web Development javascript
Member Avatar for Julia25
0
155
Member Avatar for geneh23

Hey everyone, I'm sorry for re-opening this again but I have a log in script that someone gave me on here and it works on my local server..but when I upload it to godaddy..it doesn't work right..it keeps saying my user info isn't correct when It clearly is..and It's connected …

Web Development php
Member Avatar for Graphix
0
177
Member Avatar for jonsan32

Simple question, I'll take NO for an answer if it's not possible. With a random array, can I display the results multiple time on the same page. I know I can't use css, and I would rather not use php... but is there a way for me to list the …

Web Development advertising display javascript
Member Avatar for jonsan32
0
191
Member Avatar for geneh23

Hey everyone, so I have a change password form and script to go with it..but when I change the password to letters, symbols such as (#$%$) and numbers, it still tells me my input information is incorrect whether it be username, old password or new password...why is this? here is …

Web Development php
Member Avatar for geneh23
0
171
Member Avatar for brob5000

I've written a moderately-sized Web application that utilizes MySQL and PHP5. I have an on-going problem where Microsoft Internet Explorer 6 (IE6) and Microsoft Internet Explorer 7 (IE7) lose the PHP Session ID cookie (PHPSESSID). Of course, when this happens, the application loses track of the current user and the …

Web Development php session web-browser
Member Avatar for Trevor Mills
0
1K
Member Avatar for abelingaw

I am trying to display an alert box using javascript in my login php file. When a user logged in using a wrong username or password, then a messagebox will display. This is what i have so far: [CODE] $query="SELECT * FROM info WHERE username ='$user' && password ='$pass' "; …

Web Development javascript php
Member Avatar for asprin
0
185
Member Avatar for ARKaMAN

Any idea what I did wrong? 'WHERE id =' at line 16 I am not sure why it says line 16 but I think it is talking a bout line 64. [CODE]<?php include 'resources/init.php'; if (isset ($_GET['id'])) { $q = "SELECT * FROM Client WHERE id = {$_GET['id']}"; $result = …

Web Development php sql
Member Avatar for NinjaMediaD
0
383
Member Avatar for Karrashin

Hello everybody, I'm trying to make a simple page, build from several div's. I have a Header-div (yellow), a Navigation-div (green), a Content-div (pink), a Socialmedia-div (grey) and a Footer-div (red). All div's have a fixed height except for the content-div, I'd like this div to auto size itself. This …

Web Development html-css javascript-jquery php
Member Avatar for asprin
0
232
Member Avatar for joshmac

I have a php wizard for an application that does the MySQL insert but it comes back with an error message, and I can't seem to figure out what. Any help is greatly appreciated. Insert Statement [CODE]CREATE TABLE `{dbprefix}permissions` ( `ID` bigint(20) unsigned zerofill NOT NULL AUTO_INCREMENT, `permKey` varchar(30) NOT …

Web Development mysql php
Member Avatar for joshmac
0
173
Member Avatar for Cuchara2

I have a form which submits comments onto a page. When the comment is submitted I'm using jQuery to submit the variables and then return me a success message. I have also coded a way of reloading my <div> tag which contains a PHP include file, but I receive a …

Web Development mysql php
Member Avatar for Cuchara2
0
259
Member Avatar for ravi_91

hi to all, i did a project in jsp for "online exams" in my college then here my problem is how can i put into server so that every student can write the exam by connecting to the server how can he connect to the application(jsp file) which i put …

Web Development java-jsp
Member Avatar for peter_budo
0
136
Member Avatar for harintfs

Dear, I am using following code to show php page in popup window <form name="myform" method="post" action="payhistory.php"> <input name="pay_his" type="submit" class="memberhistory" value="Payment history" onclick="myform.target='POPUPW'; POPUPW = window.open('about:blank','POPUPW','width=550,heig ht=400','scrollbars = yes','title= ' );" /> </form> // working good Now I want to use Php header location function instead of using form, …

Web Development php
Member Avatar for pritaeas
0
559

The End.