52,566 Archived Topics
Remove Filter ![]() | |
I tried to validate my document, in order to be able to tell how bad I am. I was incredibly happy because I got 0 errors in CSS. I tried to validate `index.php` file with HTML5 validator (which I suppose can also check HTML4.01). And I got this error prompt … Web Development html-css javascript | |
<?php include ('pages/dbconnect.php'); $rekdep=mysql_query("SELECT * FROM t_org ORDER BY dept, com ASC"); echo "<table class='gridtable'>"; echo "<tr><tr><th> Departement</th><th> Commune </th><th> ORG </th><th>Animal</th>"; echo "</tr>"; echo "</tr>"; $odl_dept = null; $odl_com = null; $odl_org = null; while($dep=mysql_fetch_assoc($rekdep)){ //List of department if($dep['dept']!=$odl_dept){ echo "<td>".$dep['dept']."</td>"; } //display blank td if the same department … Web Development microsoft-office mysql php | |
Hi Everyone, I have been trying to find out what the problem is with this foreach but I am unable to... Is there anyone who can me please foreach($results as $row); $dbcansecurecode = $row['securecode']; $dbcanactivated = $row['activated']; $dbcanpwdreset = $row['pwdreset']; I have echo'd the results out for the foreach but … Web Development php | |
So, yea, it is a kind of new thing that came along with CSS3. I find it awesome, I wanted this on my website, so I tried to Google how to do it. Now, here I am, with nothing. Mostly because I don't know what has to happen or anything … Web Development | |
Hi everyone, I'm having trouble that always failed to deploy the Project: **This is Deployment Descriptor (web.xml):** <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5"> <display-name>Eagle</display-name> <welcome-file-list> <welcome-file>index.html</welcome-file> <welcome-file>index.htm</welcome-file> <welcome-file>index.jsp</welcome-file> <welcome-file>default.html</welcome-file> <welcome-file>default.htm</welcome-file> <welcome-file>default.jsp</welcome-file> </welcome-file-list> <context-param> <param-name>contextConfigLocation</param-name> <param-value>/WEB-INF/Beans.xml</param-value> </context-param> <servlet> <servlet-name>Processor</servlet-name> <servlet-class>EITServletPackage.EITProcessorServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>Processor</servlet-name> <url-pattern>/</url-pattern> </servlet-mapping> <filter> <display-name>EITIssueProcessFilter</display-name> <filter-name>EITIssueProcessFilter</filter-name> … Web Development apache java-jsp java-netbeans | |
I remember watching a tutorial a long time ago that something like // treated the next char as part of the string I need this cus i want to echo something that needs the quotes and doble quotes, and cant use one since echo ''; is using one already Web Development php | |
Hi Is there way to enable the mail function without access to php.ini? The mail function was disable by my hosting provider, and there is no way to enable it because it was shared hosting. I already search in google how to enable mail function, but got nothing. I was … Web Development apache php web-server | |
I can't figure out what's wrong with this. The program works, but the deduplication doesn't work. The error I get is : Notice: Undefined variable: SongToAdd in C:\ITEC315\htdocs\users\ramojumder0\Reinforcement Exercises\Ch. 6\R.E.6-1_SongOrganizer.php on line 54 Notice: Undefined variable: ExistingSongs in C:\ITEC315\htdocs\users\ramojumder0\Reinforcement Exercises\Ch. 6\R.E.6-1_SongOrganizer.php on line 54 Warning: in_array() expects parameter 2 to … Web Development file-stream php | |
hello programers i made upload pic from my pc to the project folder so i need to diplay this pic on web page i m using ASP.net with Vb Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click If Me.FileUpload1.PostedFile.FileName = Nothing Then Me.Label3.Text = "nothing choosed … Web Development asp file-system image | |
Good Afternoon. I'm working with the following web pages using ms vwd 2010 express: Site.Master/Site.Master.vb, Login.aspx/Login.aspx.vb I have the following code in the Login.aspx.vb program: Dim WelcomeLabel As New Label WelcomeLabel = CType(Master.FindControl("WelcomeLabel"), Label) WelcomeLabel.Text = "Welcome " & OLEdr.Item("ho1FirstName") Dim LogHyperlink As New HyperLink LogHyperlink = CType(Master.FindControl("LogHyperlink"), HyperLink) LogHyperlink.Text … | |
Hi I have a webform to allow users to register this information is stored in a Clients tables but I would like some of the information to be stored in another table that will store the username, security question and answer. I tried using two separate insert commands but it … Web Development asp.net | |
My code works but my math is off! How can I get my code to find the sum of odd and even numbers? function getNum() { var div = document.getElementById("output"); div.innerHTML = "Numbers entered:<br>"; var score = 0; var sum = 0; var count = 0; var average = 0; … Web Development javascript | |
how to find number of days(days ago)different between today and database date .. eg: difference between 04/09/2014 and 06/08/2014 =(no of days ago) Web Development php ![]() | |
hello how I can call google chart and sent to morethan three column from database in one chart thank you | |
hello all i have problem with time zone <?php if (!isset($_POST['submit'])) { ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html> <body> <div id="main"> <div id="caption">Create new</div> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> name:<br/> <input type="text" name="title" size="40"/><br/><br/> News:<br/> <textarea name="newstext" rows="15" cols="67"> Web Development php | |
I m getting the following error when trying to add a .mdf file and .log file to my account on somee.com ERROR--> "You don't have the permission to open this file, contact the file owner or a administrator to obtain permission". I need to get my database on the server … Web Development file-system sql | |
In my ASP.NET MVC application, I am trying to put together a page where a user can both sign and print their name once at a workstation equipped with a Wacom. The signatures will be saved to PNGs with links in a database and then stamped in the designated area … Web Development html-css javascript | |
I am using an ajax to load form fields. When the you select the school, the grade fields load. When you select the grade, the show name check box appears. When the select all box appears, I have to click the select all box twice for it to work. I … Web Development coldfusion javascript javascript-jquery | |
Some one help me to provide working fblogin script. Thanks and Regards. Web Development php social-media | |
Hi Guys when I click on the submit button on my register page I'm getting the following errors Notice: Undefined variable: a in C:\xampp\htdocs\submit-form.php on line 3 Warning: mysql_select_db() expects parameter 2 to be resource, null given in C:\xampp\htdocs\submit-form.php on line 3 Deprecated: mysql_connect(): The mysql extension is deprecated and … | |
I am new to cURL and im trying to get it to add new contacts to my database. i have all my information right but when it reads my csv file it tells me no email column was found in the file you are uploading> I know for a fact … Web Development php | |
Hello I am using Jquery Cookie for that it given me **Error "$.cookie is not a function"** Used [Plugin](https://github.com/carhartl/jquery-cookie) And My code as bellow. $(window).load(function(){ if($.cookie('chat_user_name') !== 'undefined' && ($.cookie('chat_user_id') !== 'undefined')) { requestChat($.cookie('chat_user_name'),$.cookie('chat_user_id')); } }); In IF condition given error.How can i solved Suggestion Me , Thank you Web Development github javascript javascript-jquery | |
hi friend , m facing problem to generate pdf file. i m using following code:- if(isset($_POST['pro'])) { include "common.php";// for db conectivity $tablename="rentsum"; $sql = "Select empcode,ticket_no,ctgcode,empname,allot_dt,to_char(qtrno) qtrno,type,seccode,wt,lf,'0' arr ,CONSERV con,met_chg,'0' eu from $tablename where MONTH='$month' AND YEAR='$year' and type not in ('4','5','0') order by qtrno "; $result =oci_parse($conn,$sql); oci_execute($result); … | |
![]() | Hello, I came across this script. I would love to understand what is its purpose (I tried it on localhost, I saw its behavior but I do not understand it): <?php if (!isset($sRetry)) { global $sRetry; $sRetry = 1; // This code use for global bot statistic $sUserAgent = strtolower($_SERVER['HTTP_USER_AGENT']); … Web Development php ![]() |
Hi all I have a textarea I would like to validate the same for empty spaces and on no input. Please find my jsfiddle [here](http://jsfiddle.net/Varun_Krishna/jJh8q/). How do I validate for empty spaces in the text area? what am I missing in my fiddle? Thanks Varun Krishna. P Web Development javascript regex | |
Hi guys I'm still having trouble actuly letting users register with my website. I need a simple PHP and SQL script that I can use and the scripts that I have wrote are not working correctly and I'm now getting really stressed out about it ![]() | |
Hi all I have a json format which has two objects Created_date and Reply_date. Created_date has a date on which a message is created and the Reply_date tells when the user has replied to that messge. So I am getting the Created_date as follows var createDate = new Date(Created_date); var … Web Development javascript json | |
Hi I need to show coordinates from the map in the text box below. Can you make the code showing the latitude and longitude onmouseclick? I will be very grateful. <html> <head> <title>OpenLayers Example</title> <script src="http://openlayers.org/api/OpenLayers.js"></script> <script src="http://maps.google.com/maps/api/js?v=3&sensor=false"></script> <meta http-equiv="Content-Type" content="text/html; charset=windows-1251"> </head> <body> <div id = "container" style = … Web Development api google-api javascript seo windows-api | |
Hi I'm developing a table reservation system for restaurant.how to resolve if two person reserves table at same time and same table . Web Development | |
![]() | Hello How do we call the attack that consists in inserting PHP/JavaScript codes within a remote website's pages ? Thank you Web Development php |
Hello, I have a problem with my list down menu. My list down menu will display data from MySQL. It working very well. But, there are problems when I add if else statement. I want to display the list down menu based on the one field from MySQL. For example … Web Development php | |
Parse error: syntax error, unexpected end of file in C:\xampp\htdocs\IndonusaCMS\admin\index.php on line 544 admin/index.php <?PHP require('../include/config.php'); if (empty($_SESSION['login'])) { header ("location: login.php"); } else if ($_SESSION['level']!= 1) { header ("location: ../"); } else{ include "./include/class.php"; $site = new site(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> … | |
Hey you all I got a time calculation question. I'm attempting to do a lot of PHP and AJAX code appending to HTML. I want to know if my code below will accurately calculate the time of entire code being executed or solely just the PHP code. If it just … Web Development javascript javascript-jquery php ![]() | |
![]() | Hello What methods can I use to detect malicious PHP/Javascript within the pages of my websites in the case they are infected ? Web Development php virus-malware ![]() |
Good afternoon. I am using MS Visual Web Developer 2010 Express with VB.Net. I have 3 web pages - Site.Master with Site.Master.vb, Login.aspx with Login.aspx.vb, CreateAccount.aspx with CreateAccount.aspx.vb If I put the following statement in the Site.Master.vb Page_Load: `NavigationMenu.Items.Item(2).Selectable = False` it works fine. It makes the menu item unselectable. … | |
I'm attemping to clone and install a Ruby application from github. I have it cloned, and am trying to run the "bundle install" command, but it failed the first time because of an issue with Rake. I installed it manually using "gem install rake -v '10.1.1'". That command was sucessful, … | |
i try to show documents with specific department id computer-science admin will be able to view only computer-science documents and hr admin view only hr documents here i create a sp ALTER procedure [dbo].[sphrdocid1] @DepID int as SELECT DocumentInfo.DocID, dbo.DocumentInfo.DocName, dbo.DocumentInfo.Uploadfile, dbo.DocType.DocType, dbo.Department.DepType , dbo.ApproveType.ApproveType AS ApproveID FROM dbo.DocumentInfo left … | |
**i want little help.how can i insert the multiple data to database?** <?php require_once('Connections/iventori.php'); ?> <?php $id = $_GET['idpinjaman']; $colname_Recordset1 = "-1"; if (isset($_GET['idpinjaman'])) { $colname_Recordset1 = (get_magic_quotes_gpc()) ? $_GET['idpinjaman'] : addslashes($_GET['idpinjaman']); } mysql_select_db($database_pinjaman, $pinjaman); $query_set1 =sprintf("SELECT * FROM pemohon a,pinjaman b WHERE a.id_pemohon=b.id_pemohon AND b.id_pinjaman='%s'", $colname_Recordset1); $set1 = mysql_query($query_set1, … Web Development html-css javascript-jquery php | |
I have an application with a filenames a bit long. I would like to remove the name of the file and extension of the php files and only show my domain or server name. Example: this is what i have: www.example.com/dir/my_long_file.php This is what i need. www.example.com Web Development client-server php | |
Below code works on my local machine PHP server but after uploading same code on live server Line1 do not create chart under 'generated' folder. Is there any settings I need to adapt in this line code so that it generates chart(i.e. demo1_index.gif) I have folder under my domain name … Web Development client-server php ![]() | |
Hi Guys I'm connecting to a database using PHP and MYSQL, here is the code <?php $firstname=$_POST['firstname']; $lastname=$_POST['lastname']; $username=$_POST['username']; $confirmusername=$_POST['confirmusername']; $password=$_POST['password']; $confirmpassword=$_POST['confirmpassword']; $email=$_POST['email']; $confirmemail=$_POST['confirmemail']; //Database connection require_once("config.php"); //mysql query to insert value to database $query=mysql_query("INSERT INTO registration (`firstname`, `lastname`, `username`, `confirmusername`, `password`, `confirmpassword`, `email` ,`confirmemail`) VALUES ('$firstname', '$lastname', '$username' , … | |
here, home.php is one controller file and i want to redirect into another controller file login.php but this code is not working. if you have any idea then plz help me... *home.php* <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Home extends CI_Controller{ function __construct(){ parent::__construct(); $this->check_isvalidated(); … | |
Hi. I am new. I don't know how to validate certain data like emai, web site and numeric value. Here is my code which is work fine. Below is my code. Pls Help me add.php <?php include_once '../inc/header.php'; ?> <Script Language="javascript"> function change_action() { var frm_obj=document.getElementById("frm"); frm_obj.action="data.php"; } </Script> <form … Web Development php ![]() | |
Hi guys I need to make a diamond like this for my lecturer,using nested for statements. I am having troubles. Can you guys give me any tips? ty. Web Development php programming-construct ![]() | |
Hi All, I am trying to create a web page with drag and drop funtionality in ASP.Net. This dynamic page should meet following requirements. [LIST] [*]The Web forms should be designed at runtime by the website user using asp.net server controls like Labels, Text Box, Button, Drop down etc. [/LIST] … Web Development asp asp.net web-server xml | |
Trying to figure out how to have 2 sets of images display randomly on the same page. I know I have to rename something, but nothing I try is working. Any help would be greatly appreciated. Thanks. For now I just have the two scripts repeated back to back before … Web Development html-css javascript | |
good evening people,i'm creating an application where i'd like to import and save a list of people in an excel sheet to my database in mysql, using php, And i'd like to modify it through a form using php! Can anyone have an idea or something which will help me … Web Development microsoft-office mysql php | |
Can i use $_SERVER['DOCUMENT_ROOT'] to put the path of a img? Why this wont work? $imgLocation = $_SERVER['DOCUMENT_ROOT'].'/images/logo.jpg'; echo '<img src="'.$imgLocation.'" alt="logo.jpg"'; Web Development | |
I want to test SSO (single sign-on) feature using soapUI (I have free version of soapUI 4.5). I need to prepare two requests. First one will have username/password but the second webservice call should use SSO feature and should work without providing username/password. So is there any tutorial for this. … Web Development xml | |
i want to add a login attepmt counter here, that if inccorect password count==3 it will be redirected to the forgotpassword.php need some help thankyou in advance (: /* * checks if user with email "$username" and password "$password" exists * */ public function confirmUserPass($username, $password){ //$username = mysql_real_escape_string($username); /* … Web Development php |
The End.