52,566 Archived Topics
Remove Filter ![]() | |
Hi! I'm building website of my own and got a little problem. My home.php is based on image, which contains certain areas to be links to the other areas. I'm trying to use <map> and <area> elements creating the links. Basically code is working just fine, but when I added … Web Development image javascript | |
this my new syntax for my new website [CODE] echo "<li class='childmenu'><a href=#equipment?id='".$row['id']."'>".$row['name']."</a></li>"; [/CODE] and this is the old one for my another website [CODE] $isi .= "<li><b><a class='topikMenu' href=reset/survey.php?id=".$row['kodetopik']."><span title='".$row['jumlahpenyurvey']." surveyor'>".$row['namatopik']."</span></a></b>"; [/CODE] I think it's same concept about give the $row[''] in the middle of html syntax, but I … | |
Hi, I'm trying to load some xml in using ajax. But my xmlhttp status is always 0. The status never comes through as 200. I dont actually no what 0 is equal to. I could find anything when I looked that status up. My script looks like this... Could someone … Web Development javascript xml | |
![]() | ..hi...im working with a Cash Collection System using PHP and a Yii Framework.. ...but i am wondering if it is possible to connect a MSSQL Database by Yii... ..if so...then could you please help me how... |
Hi all, I need a code that i want to set an anchor tag to flash file , Bcz i want to count the clicks on the flash file and want to save into my DB . Is there any way for that ? I dnt need getURL(); It will … | |
table roomBooking: roomBookingID roomID bookingDate startTime endTime glID numberOfPeople staffID table room: `roomID typeOfRoom roomState` php code: <?php require_once('../config/conn.php'); $sql="SELECT * FROM roomBooking, room WHERE roomState='empty'"; $rs=mysql_query($sql,$conn); $row_rs = mysql_fetch_assoc($rs); $count=mysql_num_rows($rs); ?> ... <table border="0"> <?php do { ?> <tr> <td> <?php echo $row_rs['roomID']; ?> </td> <td> <?php printf('<a href="action/roomDetail.php?roomID=%s">詳情</a>',$row_rs['roomID']); … Web Development php | |
What is the code for informing user that the data is updated or removed??? Web Development php | |
Hello everyone! I am new to this forum and a beginner programmer. I wish to develop a small social networking site using JSP/Servlet and other useful java technologies. Your help is needed a s I am not much aware of the SDLC process. Need your help starting from the basics … | |
Does anyone see an issue with the following IF statement... I sure can't yet it doesn't work! VARIABLES: $CHECK = A returned value from the database either "y" or "n", the value is returned successfully so I know that is not the issue here. There is no error message returned, … Web Development php programming-construct | |
I had setup some submission form using Joomla and a CCK component "Zoo", when i click for the form, i get this error : [CODE]Fatal error: Call to a member function getItem() on a non-object in /home/content/b/o/o/boomshiva/html/tafconnect/bazaar/media/zoo/applications/business/templates/default/renderer/item/submission.php on line 15[/CODE] Can anyone help me with that The contents of the … Web Development php ![]() | |
im wanting to make a 'pop up' form, kinda like facebook does when you delete your history and cookies and it tells you you need to sign back in, or when you click on a music link and it pops up the form, but it not a new window, its … Web Development php social-media | |
[url]http://lcdforvideo.com/josh/[/url] I am trying to add additional input fields to the fields Features, Includes, and both rows under Specifications. I would like them to post to the next page when you submit. I have got all of the other ones working but I cannot figure out how to get additional … Web Development first-post php | |
It always receive undefined. I'm almost two week working on this code. BTW the code is based on the tutorial on this site [url]http://active.tutsplus.com/tutorials/actionscript/create-a-flash-login-system-using-php-and-mysql-part-1/[/url] I modified it. Any help? PHP CODE: [code]<?php include_once "connect.php"; session_start(); $username = $_POST['username']; if ($_POST["sysCall"] == "checkLogin") { /* The * means the query initally … Web Development actionscript flash php | |
Hi Can any one tell my how can i download a file from MySql through dropdownlist What i'm trying to do is i created a dropdownlist and shows all the file name in that dropdownlist now i want user to be able to download that file when they select any … Web Development asp asp.net file-system | |
Hi, It always stated that 'No Database Selected'. Really need your help. Thanks :) This is the coding [CODE]<?php require('include/config.php'); $conn = mysql_connect($db_host, $db_user, $db_pwd); mysql_select_db($db,$conn); $sql = " SELECT * FROM hod_approval WHERE hod_approval='2' "; $result = mysql_query($sql) or die (mysql_error()); [/CODE] Here's my config.php [CODE]<?php $db = 'TADMS'; … Web Development php | |
I have been trying to follow this google maps API tutorial. [url]http://code.google.com/apis/maps/articles/phpsqlajax.html[/url] The problem is i keep getting this error and I don't know what I'm doing wrong. Here is my code. [CODE]<?php require("phpsqlajax_dbinfo.php"); function parseToXML($htmlStr) { $xmlStr=str_replace('<','<',$htmlStr); $xmlStr=str_replace('>','>',$xmlStr); $xmlStr=str_replace('"','"',$xmlStr); $xmlStr=str_replace("'",''',$xmlStr); $xmlStr=str_replace("&",'&',$xmlStr); return $xmlStr; } // Opens a connection to … Web Development api google-api html-amp php | |
Dear Experts, I have following codes [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <META content="text/html; charset=windows-1252" http-equiv=Content-Type> <META name=GENERATOR content="MSHTML 8.00.7600.16912"> <style type="text/css"> .back {clear:both;width:100px;height:30px;padding:5px;color:green;font-style:bold;} h3 {color:blue;font-style:bold;BACKGROUND: url(hotmail2.jpg) no-repeat center #90bade;line-height:30px;} #box {width:275px;height:275px;padding:5px;margin:5px;background:#e3eeff;text-align:center;border:1px solid #069;} </style> <script type="text/javascript" src="jquery-1.7.1.js"></script> <script type="text/javascript" src="jquery.corner.js"></script> <script type="text/javascript"> $(document).ready(function(){ $('input[name="RD"]').click(function(){ alert("Please note … Web Development html-css javascript javascript-jquery | |
Hi Everybody, I need help for mouse Over event. I make the following code for click event this is ok.and the event mouse over that time display inside the calender node. very urgent please help me. $(".calendar-node").click(function() { if ($(this).attr('date')) { $.ajax({ url: $("#url_view_schedule").val(), data: "personalId="+$("#personal_id").val()+"&date="+$(this).attr("date"), dataType: "json", success: function(list) … | |
hey fellow PHP developer, Is there any way we could protect our PHP source code from being modified after a 3rd person receives the code? I had developed a web application and when i give the source code to another person i want it to be write protected. Currently i … Web Development cybersecurity oop php | |
[CODE] a=gets.to_i b=gets.to_i [/CODE] this code gets input like this 2 2 but in c++ std::cin will get input after space or \n So how do I make ruby get input like std::cin I am new to ruby and can not find the answer on google so help would be … Web Development ruby | |
Hi everyone! This problem has me stumped. I haven't had to work with php for about a year and I have sure gotten rusty. I have created my array, but beyond that was just doodling ideas to try and put something together...can you offer advice? Here is the problem I … ![]() | |
the output of my page is correct yet it shows Notice: Undefined variable: total in D:\xampp\htdocs\book\includes\functions.inc.php on line 36 is there any ways to resolve this? thanks [CODE] <?php function writeShoppingCart() { $cart = $_SESSION['cart']; if (!$cart) { return '<p>You have no items in your shopping cart</p>'; } else { … | |
I found a way on how to code the backup for mysql database table. but I was wondering on how PMA(PHPMyAdmin) does this scenario on backing up the sql file. the one that has AUTOMATIC download to your machine. this is the simple syntax I made myself [CODE=PHP]<?php /*TOOLS YOU … Web Development apache mysql php web-browser wordpress | |
We have to make a little webshop in HTML, Css and javascript. Everything but the div's are to be made in JS, also the table's we can't make them in HTML. In the left (Links div) we make a couple of links, in the middle div (dynamicLeft) we have to … Web Development html-css javascript multimedia | |
Hi all, I am developing a search engine as project in PHP and MySQL as backend . I have implemented crawler , now i am facing problems in searcher . When a user enters any query by default i want to accept it as OR Query i.e. I want to … Web Development php | |
in my recent project the user need to attach document when filling a form.But dont have any idea about the implementation.how may i do this?if you have any idea,please help me. | |
I'm making a website, and my index is a php file, whereas the other 6 pages are html. Whenever I click on the "Home" button, it says that it can't find index.html, but that's obvious because it's called index.php. Any way to fix this? If I'm being too vague, then … | |
I am new to JSP/Servlets, so here is what I am trying to do: suppose my url is [url]http://mywebsite.com/[/url] and user come on this and it shows a login form, after submitting the form I want to keep the url the same as before that is [url]http://mywebsite.com/[/url] means it should … Web Development java-jsp | |
It is supposed to show up details of a room selected, but the first record in database is always displayed. The link is incorrect too.. http://test/action/roomDetail.php?roomID= The value is missed... ROOM: <table border="0"> <tr> <td> <p> <label for="room">選擇房間</label> <select name="roomID"> <?php do { printf('<option value="%s">%s</option>', $row_rsRoom['roomID'], $row_rsRoom['roomID']); } while ($row_rsRoom … Web Development php ![]() | |
Hello guys, i am new to PHP and finding it interesting difficult at the same time. I need to connect to an access database depending on the selected menus in the drop down box and printing the selected field in a table. Here is my code [code=php]<?php $ch1 = 'unchecked'; … Web Development microsoft-access php ![]() | |
hi.. This is form validation code..im getting errors.. 1. I have to check whether all the field r empty and for certificates,photo,biodata field shud be validated for type,size,whether field is empty.. 2. how to validate the datepicker i used javascript <?php session_start(); if(isset($_POST['Role'],$_POST['Name'],$_POST['datepicker'],$_POST['gender'],$_POST['activity'],$_POST['Address'],$_POST['Photo'],$_POST['Biodata']$_POST['certificates'],$_POST['Salary'])) { $errors=array(); $Emp_Save=$_POST['Emp_Save']; $Emp_Cancel=$_POST['Emp_Cancel']; $Role=$_POST['Role']; $Name=$_POST['Name']; $datepicker=$_POST['datepicker']; … | |
[CODE]<? session_start(); if(!session_is_registered(myusername)){ header("location:../index.php"); } ?> <?php require_once('../config/conn.php'); $sql="SELECT * FROM roomBooking ORDER BY roomID ASC"; $rs=mysql_query($sql,$conn); $row_rs = mysql_fetch_assoc($rs); $count=mysql_num_rows($rs); ?><!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <title>組長控制中心</title> <link href="../css/master.css" rel="stylesheet" type="text/css" media="screen"> </head> <body> <header> <h1>組長控制中心</h1> </header> <nav> <ul> <li><a href="g_home.php">主頁</a></li> <li class="selected"><a href="BookingManagement.php">房間資源</a></li> </ul> </nav> <div id="content"> <div … | |
Hi, i'm doing a validation of registration form, and i'm checking if there's the same username and email: [CODE]$query_verify_email = "SELECT * FROM alunos WHERE username ='".$username."' AND email_aluno='".$email."'"; $result_verify_email = mysql_query($query_verify_user, $connect); //if the Query Failed ,similar to if($result_verify_email==false) if (!$result_verify_email)[/CODE] How do i do both checks separated? Does … | |
I have the following PHP: [CODE]<?php define('DB_NAME', 'database'); define('DB_USER', 'root'); define('DB_PASSWORD', 'password'); define('DB_HOST', 'localhost'); $link = mysql_connect(DB_HOST, DB_USER, DB_PASSWORD); if (!link){ die('Could not connect to database'); } $db_selected = mysql_select_db(DB_NAME, $link); if (!$db_selected) { die('Could not connect to the database'); } $value = htmlspecialchars($_POST['Name']); $value2 = htmlspecialchars($_POST['Email']); $value3 = htmlspecialchars($_POST['Subject']); … Web Development cybersecurity php sql | |
Hello Guys! I have just inherited a huge mammoth php project, which is not quite organised. Few of the files are of 25K+ php lines of code. Several sections of code are redundant across the project. Several files are imported into several files... My job is to strip many of … | |
Hello there, I'm running into a minor problem. I want to execute an onKeyUp action after a short delay when a key is released. So for example when the user gets his finger off the "y" button, I want to execute an action related to that "Y" after 1 second. … Web Development javascript | |
I need some help on why I cant get these numbers to show from the array when i Run it [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta name="author" content="Revised by josephr10"/> </head> <body> <?php $RatesArray = array(.0525;,.0550;, .0575;, … Web Development php ![]() | |
please any one help me to clarify my doubts..... By running my servlet program which having ODBC connection...... It shows an error as [Microsoft][ODBC Driver Manager] Data Source name not found and no default driver specified... Following procedure only i did... 1)I did servlet program by having JDBC connection in … Web Development java-jsp microsoft-access | |
guys plzzzzzzz help me out,i m new to vb 2008,and i created master page but its not running.it shows following error Directory Listing -- /indianpremierleauge/ Tuesday, September 13, 2011 12:17 PM 1,693 MasterPage.master Tuesday, September 13, 2011 11:54 AM 461 MasterPage.master.cs Tuesday, September 13, 2011 12:01 PM 8,342 Web.config plzzzz … Web Development asp.net | |
I want to fill data in drop down list from database table. plz give me code for this Web Development asp.net | |
Hey, I'd like to read a file from the server, by any means necessary. As long as I can use something like JavaScript, like it has to be client sided. No server sided scripting language. If there is no way to read a file from the server, is there a … Web Development client-server javascript | |
Hi, I just have a program that needs a dialog box, but I have problem since I want the dialog box to do something. for example, I have a javascript dialog box that would create a message "You have an error, Do you want to save the Log File", Then … Web Development gui javascript | |
I have a grid view with a check box column i want to open a new window when clicked on that check box . How can i do that? please help, thanks in advance | |
I am using Visual Studio 2010 and I am trying to enter some HTML by hand. I code the following lines: [CODE] <tr> <td colspan="4" class="shade tableheader">NCR Information </td> </tr> <tr> <td class="shade">Date Opened </td> <td><asp:TextBox ID="fldReportDate" runat="server" CssClass="datePicker"></asp:TextBox> </td> <td class="shade">NCR # </td> <td style="font-weight: bold; font-size: 12pt"><asp:Label ID="fldLog" … Web Development asp.net html-css visual-studio | |
I am trying to get a searched date from one page to appear on another page, i have this code on one page so the user can search for a specific date: [CODE]<?php if(!empty($_POST['searchdate'])) { $mydate = $_POST['searchdate']; } else { $mydate = date('Y-m-d'); } $id = $_POST['id']; if(empty($id) && … | |
Hi all! I'm copying a poem from MS word ans pasting into a html text area. However only the first line of the text has a tab between the beginning of the phrase and the margin. All the subsequent phrases lose formatting and stay right next to left margin. It … Web Development java-jsp | |
I am currently using MySQL so people can send my a message that shall be stored in the database. The only issue is I have no idea how to protect against SQL Injection, below is my HTML: [CODE]<form action="Action.php" method="POST" /> <p>Name: <input type="text" name="Name" /> </p> <p>Comment: <input type="text" … Web Development cybersecurity mysql php sql ![]() | |
I have 3 picture on my home.php. i want to make the encrypt when the picture on the click. so the database content of encrypt of 3 picture's id. anyone can give me advice or example? i want to use md5 encrypt. thanks Web Development php | |
Hi, I installed wamp server and oracle 9i ,both are running . Oracle having user id,password and host string , using these how can I connect to retrieve data from Oracle ? thanks in advance , very urgent Subrata | |
My PHP Session Log-in and log-out works fine but this is the problem I have a site consists of admin folder and outside the admin folder are the customer page files. both of them has sessions for log-in and log-out purposes but it acts so WEIRD because if I'm running … |
The End.