52,566 Archived Topics
Remove Filter ![]() | |
Hi Every Body I have a samll piece of code written in php my problem is code is not deleting record from my database. Please see the code below which is calling [COLOR="Red"]deleteadministratorexe.php [/COLOR]- which is actually deleting the record. Files are attached here - [CODE] <?php require_once('security.php'); require_once('connection.php'); ?> … | |
I can't get any of my attempts to validate the radio button to work. If either of the buttons is clicked it works. But, if no button is clicked an the submit button is click by itself I get an error on my action page. I'm out of ideas and … Web Development php | |
I am having this error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''3'' at line 1 The $get1 value is 3. I tried enough but to no avail. I don't see any … Web Development php | |
Ok I was working on this yesterday, and I couldn't get it. I have a php file called search.php and a file called searchResults.php, if a user wants to search for an employeeName/EmployeeID/team/department/manager (in a DB) specifically they will use the search.php page and then click submit and show the … Web Development php | |
if i have [ if statement ] in my php code than with jquery it is not working...........!! e.g if i have --------------------------- [CODE]<?php if(myquery){ }else{ do jquery here } ?>[/CODE] ------------------------------ but jquery in else area is gone disable how can i fix that.........!! Web Development javascript-jquery php | |
May I know how to fix the frame in my system so that they will not shift their position? When I open my system in other computer or when I zoom it, the frames in my system will move. May I know how to fix it? I use <table>, <div> … Web Development php ![]() | |
Hello DANIWEB! Haven't posted before... but find this site a good info resource... but I'm pulling my hair out with my php register code - don't know what I'm doing wrong... as the code i've written doesn't send on the site i'm working on... Here's the code [CODE]<?php if(!$_POST) exit; … Web Development php | |
Hi, I would like to display an RSS feed from a website on my website, but I want to hand code a solution rather than use a widget. Basically this is a learning task I have set myself. My question is how can I load the RSS feeds into a … Web Development web-server xml | |
Hi, I want to show the image as well as printing the id, name, time etc with it. How can I do it? First code prints all the data as it is without showing image. Second code shows image without other info. Thanks This code returns binary code of image. … | |
Hi, I'm getting the following errors in my php code. Notice: Undefined variable: page in C:\wamp\www\testsite\pagination.php on line 18 Notice: Undefined variable: page in C:\wamp\www\testsite\pagination.php on line 27 Any help much appreciated. Here is my PHP code: [code] <?php include("connect.php"); // How many adjacent pages should be shown on each … Web Development php | |
i have set "session.gc_maxlifetime = 10" in php.ini ,and is reboot apache service.but when i request the example pages after a minites ,the session is active still.the code is : [code] <? session_start(); echo $_SESSION['Login']; ?> <!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"> <head> <meta http-equiv="Content-Type" content="text/html; … | |
When I include these 2 functions on a page I seem to get this error: [B]Warning: Cannot modify header information - headers already sent by (output started at /home/vmtgiqlm/public_html/fftest/encryption.php:43) in /home/vmtgiqlm/public_html/fftest/check_login.php on line 40[/B] I don't know why that would happen as these functions do not output any text. Anyway … Web Development encryption php | |
Script for register your web site to 3 SE: [CODE]<?php // The following code is required to properly run Web Human Emulator require("../../Templates/xweb_human_emulator.php"); // This script submit your site to 3 Search Engines // Google // MSN // Yahoo // for request more SE please write to humanemulator@gmail.com // ======================= … Web Development php web-browser | |
Hi everyone I'm more than a little stuck and would appreciate a hint. I'm struggling to read files in a folder and then pass the variable to the following: </body> <OBJECT ID="MediaPlayer" width=320 height=310 classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" type="application/x-oleobject"> <PARAM NAME="FileName" VALUE="video/RC Radio Controlled Model Airplane [from].wmv"> <PARAM NAME="AutoStart" Value="false"> <PARAM NAME="ShowControls" VALUE="true"> … Web Development javascript video | |
hi im trying to upload a file with the help of fileupload control. im using following code to save the file in to the database [code] upPic.SaveAs(Server.MapPath("Images/") + txtPrdId.Text.Trim() + ".jpg");//System.IO.Path.GetExtension(upPic.PostedFile.FileName)); [/code] the file gets saved perfectly..but when i try to display the same image somewher else, it shows a … Web Development asp.net file-system | |
error_reporting(0) is used to hide error message..!! i want to hide server message but i what to show other error msg in place of server message..!! that can be possible..? Thanks,,!! Web Development php | |
I am using two dropdown list and one GridView. I have taken two update panels. In first update panel i have placed second dropdownlist in which data is coming based on the value selected in the first dropdown list In second update panel i have placed gridview in which data … Web Development asp.net | |
I'm build a huge xml->mysql data importer ar parser from outer server. And I need a script example, what to do with big [CODE=PHP] $xml = simplexml_load_file('plane.xml'); if($xml) { for($lvl1=0; $lvl1<(count($xml->Trip)); $lvl1++) { for($lvl3=0; $lvl3<(count($xml->Trip[$lvl1]->Hotels->Hotel)); $lvl3++) { // Fill an array with the travel data $element['trip_id'] = (string)$xml->Trip[$lvl1]['id']; $element['description'] = … | |
has anyone installed wordpress on a joomla website and tried to integrate users? Im weighing up the pro's and cons of doing this to a couple of sites, I dont need the users to be integrated just yet, but it is something I think might come up in the future … | |
Can someone help me with this please? I’m playing with a stat tracker, and with the code snippets below I’m trying to get the total result for each page stored in the database. The problem is that I get this warning when I run the script: [B]Warning: mysql_result() expects parameter … | |
I have afunction to retrieve data and it gives error. Please correct me! [CODE=php] public function getswachapter($book, $chapter){ //SELECT * FROM table1 INNER JOIN table2 ON table1.id=table2.id; //remember to sanitize inputs $sql = mysql_query("SELECT * FROM kiswahili WHERE Chapter = '{$chapter}' AND Book = '{$book}'")or die(mysql_error()); $limit = mysql_num_rows($sql); $query … Web Development php | |
Hi, I am trying to load dynamically a consolidated view of different pages. I am using prototype.js to do the ajax loading. In one of my page there is an option button to change the option. and this component should be embedded inside a form to work. As I am … Web Development javascript | |
Hi Every body Once again I'm in problem and want some help from you all I have written a small code to search a particular value in MySql database and then to display the record based on that value - Like to search a Employee code in database and then … | |
How do you get this to work? - well, for more than simple <strong> and <i> tags - I'm trying to get a HTML table in as an array, if this is possible! Any advice is appreciated! | |
Hi All, I have a question. How to track the how many times a link is clicked (by any user across the web) in a day? If I use onClick() on href, its of no use because it is only for a single session. Please advise. Web Development javascript session | |
I can't seem to limit the result to a desired number. I have this code: [code]//GET THE TOTAL OF LEVEL 2 $result = mysql_query("SELECT COUNT(*) FROM agents WHERE (sponsor = '1' or sponsor = '2' or sponsor = '3') LIMIT 0,1")or die(mysql_error()); while($row = mysql_fetch_array( $result )) { $lvl2parent = … Web Development php | |
ok I know there's a way around this otherwise radio buttons and checkboxes wouldn't ever be used in forms...so I've been trying to figure this one out... I have a dynamic form that consists of an associative array. Each row in this form consists of: name, id, 3 radio buttons … Web Development php | |
hello. I have a drop down menu that pulls from a mysql database. I know its connecting fine and there is actual items in the drop down menu because I echoed them. However when I look at my drop down box, you cannot see the options! I know the items … Web Development php | |
Hello, Im having trouble with creating page that will search a database for the values entered. I have a Search.php file that has this [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"> <head> <title>Payroll and Timesheet Management Website</title> <link rel="stylesheet" type="text/css" href="styles.css"/> </head> <body> <?php writeHeader(); ?> … | |
HI currently I am studying asp.net, how ever I manage to view my image just in my test.aspx page using this code [CODE]<img src="img/image.jpg" >[/CODE] but when i use it on my login.aspx using the same code no image shows up. can anyone help me about this? Web Development asp.net | |
Hi, Is there some way by which a web application design view should remain the same even if the resolution of the screen is changed? Please reply Thanks Web Development asp.net web-design | |
I am redesigning a CF site vo2maxtesting.net in html and need to move it to the other server with minimal/no downtime or loss of Page One ranking. Could anyone help me with redirecting script and tell me if I need to make up a page for each .cfm page or … Web Development coldfusion | |
I am building a site for my hockey league. I have been dealing with CF for a number of years, but would in no way class myself as any sort of expert. I am not sure if I am just having a brainfart, or what with this one! I have … Web Development coldfusion sql | |
Hi, I would like to capture the image using WebCam and store it in database. I am using ASP.NET 3.5, C#, Visual Studio 2008, SQL Server 2008, Windows Vista Business (O.S), IIS 7.0 and IE 7.0. I want to integrate WebCam functionality in my Web Application. My requirement is, the … Web Development asp asp.net client-server image visual-studio web-server webcam windows-vista | |
pagination works well, it even displays the rows i wanted, however, my problem now is that i cannot access or it does not display the next rows from my database, i think there is some problem with regards to my next/previous/last/first links,, please help me asap, tnx! [code=php] $result = … Web Development php | |
hi, i have seen a code through some body on this site and apply it , it was working correctly but it no not on the site know can anyone please tell me the code of it ,the code was about 60 lines long Web Development java-jsp | |
I've been working at this most of the day, trying to figure out how I can accomplish this sort of form, even looking through countless sites for anything vaguely close to what I'm trying to do for help on logic or syntax behind this (to little to no avail, of … | |
hello.. i'd like to confirm if the printer function "printer_open()" without parameters opens the printer connected to the user/client computer? or does it look at all network connections including the web for the presence of a printer? thanks.. | |
Hi, I am making php from.Everhting is working fine.I am receving result as below.I want to space before Tel no.Please be advice how i can do. Thank you. --------------------------------------------------- Email Result -------------------------------------------------- General Info Request Name: Khan 1665 Bloor Street Mississauga L4X3T4 Tel:647-290-0000 Email: [email]hanyon@gmail.com[/email] Best Time To Contact:11am Message … Web Development php | |
Hi guys I was wondering whether someone could help me with a slight issue I have. I'm trying to set up a quick poll using AJAX which all works fine when using Firefox but running into issues via IE. [CODE] $(function() { $('.error').hide(); $(".button").click(function() { var userid = $("input#userid").val(); var … Web Development javascript javascript-jquery | |
Hey guys, I've very new to JSP, Java, and Netbeans and I'm having an issue... So I've got an ArrayList of User objects and I'm trying to iterate over the list in a JSP page to display the info. I've included the JSTL 1.1 jstl and standard libraries. Here is … Web Development apache java java-jsp java-netbeans | |
hello...i m new to the web designing field, currently i m working on wordpress themes for my website, the exact link of the theme for which i m working is{*"http://www.press75.com/the-folio-elements-wordpress-theme/"*},the theme "folio elements" has a image slider and when we click on a particular image it gives us the details … Web Development file-stream javascript wordpress | |
I found a great client side image resize solution: [url]http://www.resize-before-upload.com/[/url] but the free version doesn't have form integration, so I copied some ajax code off the internet and integrated it into my PHP - so it just keeps checking for a specific file to be uploaded and then the PHP … Web Development client-server javascript php | |
Hi all , I am trying to map a user to a jsp page when he tries to enter to a directory of my application using URL. let say my web directory is called school and it has a directory called pages . now I need to map a user … | |
I've new to .NET. I'm trying to add a button dynamically with an event. Initially, I have a button with a click event. The original button's click event response writes a test message and adds a button. The new button has a click event attached with a test message. Unfortunately, … Web Development asp.net web-server | |
Hi one of my friend have this problem.. it will be helpful if we can give him a solution. The session is set for 10 min .. but for one particular page the session must be extended and for other pages it must be set as before.. or resetted so … |
The End.