52,566 Archived Topics
Remove Filter ![]() | |
Issue I am coming across is that my calculation is not coming out correctly, it will display "0s" if nothing is entered, also it shows the previous entered data and then the newly entered info, but multiple times. It should only be showing the gravity multiplied by the weight entered. … Web Development php | |
can any one tell me how to create a html help file in detail. Actually i already tried for that even i have created but the problem is i don't no how to create tree in content file. and when i passing the image url to my local machine and … Web Development html-css javascript | |
Firefox HTML Validator [CODE] Firefox HTML Validator: front-page.php Result: 75 errors / 23 warnings Info: W3c Online Validation line 43 column 20 - Error: document type does not allow element "div" here; assuming missing "body" start-tag line 56 column 15 - Error: ID "body" already defined line 47 column 14 … Web Development career html-css javascript-jquery php wordpress | |
Hi I've been playing for a while with WxRuby and I just acn make the TreeCtrl event evt_tree_expanded or evt_tree_expanding please help me here is the code mi problem its at line 46: [CODE]require 'wx' include Wx class MyFrame < Frame def initialize super(nil, :title => "prueba" ) @my_panel = … | |
I'm trying to create a delete button that lets a user "delete" an entry from mysql database. I have a demo.php page, where my php connects to my database and inserts data into it. And I have a demo-form.php which is to display the form and when "submit" button is … | |
Hi all, here i got a problem where i want to delete file uploaded..my script just remove from database but not remove from directory.. how can i delete from database and directory at a same time?? Please help me.. Web Development file-system php | |
Hello there I was wondering if anyone could help me with this problem See I running a site where people can log in, and everytime they log in, a cookie is set, based on their username. so when a user complete a offer, my website send a link to a … Web Development php | |
I have a project that, instead of using MySQL, I am supposed to use txt files to manage data. I have no say in this, I'm doing the project for a client. So I wrote a test file with functions for writing these data files, reading, etc. But it's not … Web Development file-system php | |
I am just beginning to get the idea on how to put together the above four source codes to produce, in this case, a Contact Database/Display program. On a 0-10 learning scale I feel like a 3. My current problem is: ContactRevise3.html calls revise.php with the following script: [CODE] <script … Web Development html-css javascript javascript-jquery mysql php | |
Hello guys, i'm trying to calculate the value of checkbox that chosen (onclick or onsubmit calculate the value).What i'm doing wrong? [CODE] <script type="text/javascript"> //<![CDATA[ function calculate_total(id) { // get a reference to the form using getElementById var theForm = document.getElementById( id ), total = 0; // DON'T use getElementById … Web Development javascript | |
here is my code i want update the two fields without refreshing whole page.... Web Development asp.net | |
I want to display [CODE]»[/CODE] But it is outputting [CODE]�[/CODE] What is the problem? Web Development php | |
my Table looks like this id make client price cart 1 bmw day 500 5 2 gt3 mr king 450 9 3 gt3 mrs johan 600 9 4 bmw mr emir 350 2 5 golf ohar 150 5 6 golf mr smith 850 6 7 bmw mr smith 451 7 … Web Development php ![]() | |
[CODE]<a href="?id=home">Home</a>[/CODE] is there any option available in Javascript for getting value of "[COLOR="Red"]?id=[/COLOR]home" ???? Web Development javascript | |
[CODE]<html> <body style="background-image:url('back1.jpg');"> <script> // CREDITS: // Snowmaker Copyright (c) 2003 Peter Gehrig. All rights reserved. // Distributed by http://www.hypergurl.com // Permission given to use the script provided that this notice remains as is. // Set the number of snowflakes (more than 30 - 40 not recommended) var snowmax=35 // … Web Development engineering html-css javascript-jquery php ![]() | |
Hello I have a question. let me have this select: [CODE]<form> <select id="mymenu" name="id" onchange="getID()"> <option></option> <option value="1">A</option> <option value="2">B</option> <option value="3">C</option> </select>[/CODE] And Now i want to get the value from mymenu, to use it i another select in the same form. I searched in the net and i … Web Development php ![]() | |
Hello, I have tried my best in achieving this, and for some reason, it's not working. What I am trying to do, is to write to file and echo on screen, a converted version of how many bytes/megabytes etc. a file has been uploaded, and echoed on screen upon success, … Web Development file-system php ![]() | |
![]() | I have an approve.php inside an /include directory. I have another file inside the /pop_up directory. Approve.php [CODE] if (!isset($_SESSION['username'])) { header("location:log_in.php"); die(); } [/CODE] When i run the include('include/approve.php') code in files in the main directory, it works. When I run the include('../include/approve.php') in files in the pop_up/ directory … |
Hiya :) After a couple of years I have decided to start programming again and trying to catch up with php5. I have come across a bit of coding that I don't quite understand and would like if someone can tell me exactly what is going on here. :) This … Web Development php programming-construct | |
Somebody please help me. The page loads fine but when I change the option on select nothing happens. I'm sure it's just a small problem. Your help will go a long way. Thank you in advance. [CODE]<body> <table id="main" width="50%"> <tr> <td><div id="1"></div></td> <td><div id="2"></div></td> <td><div id="3"></div></td> <td><div id="4"></div></td> <td><div … Web Development html-css javascript | |
Bear with me, I'm not the best at PHP, and I have to take over a project somebody else abandoned. They built a form where people choose one or more classes, and how many people they're enrolling. Once the user picks a class and the number of enrollees, they press … Web Development php | |
Hey guys, I was just installing the PHP on my laptop. And, on one of the windows, it is asking me if I want the wizard to setup a web server. Do I need one? There is a list: IIS FastCGI, Other CGI, or Do not setup a Web Server. … Web Development php web-server ![]() | |
Hi Apologies if this is not the correct forum for this question. I am running xampp. I have 100+ image files in a directory that I wish to rename. The old filename and the new filename are stored in an mysql database I want to write a routine that will … | |
I want to display a set of buttons when a button is pressed on the page. whats wrong in this code. it's giving errors [code] <?php if(isset($_POST['submit'])) { <form method="post" action=""> <input type="submit" name="submit1" value="Style1"> </form> <form method="post" action=""> <input type="submit" name="submit2" value="Style2"> </form> <form method="post" action=""> <input type="submit" name="submit3" … Web Development php | |
Hey, I'm trying to do a loop in javascript, that adds an array into a variable. Because it is a bit hard to explain exactly what I want, please look at this code, which does the (for the beginning) same. [CODE] var s="one, two, three"; //this can be changed var … Web Development javascript | |
Is it possible to run command line exec in the foreground instead of the background with PHP? Web Development php | |
Hi I am a senior in business computing and I have a project to hand to my university in order to graduate and I have chosen a student registration system but in order to accomplish that I obviously need a well designed and organized database. here are the tables I … Web Development database-design php | |
hey guys does anyone know why i got an 'undefined invisArr in for loop' in my javascript code? I've got 3 div boxes in an absolute position and i m trying to make it visible whene i m presing one or two or three links. // [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD … Web Development html-css javascript | |
[CODE]<html> <head></head> <body> <?php print "<script type='text/javascript'>"; print "window.open='http://www.examples.com/page.html','new_window1','status=1,scrollbars=1,resizable=0,menu=no,width=320,height=220'"; print "</script>"; ?> </body> </html>[/CODE] Not able to open popup.Is this correct code. Web Development javascript php | |
We're looking for a way to enable users to send us a file using one of our web pages. Cannot use MailAttachment because page doesn't have rights to write files to a directory (we can't change that) so are trying a Google Data API to upload to our Google Docs … | |
Dear, I want to select 3 option for search,there are only 2 term [CODE]$term = $_POST['searchterm']; $term = $_POST['searchterm']; $term = $_POST['searchterm']; $sql = mysql_query("SELECT * FROM entry WHERE wre LIKE '%".$_POST['searchterm']."%' && searchterm LIKE '%".$_POST['searchterm']."%' && searchterm LIKE '%".$_POST['searchterm']."%'"); [/CODE] Please help me [QUOTE=Ragnarok;35163]The SQL would look something like … Web Development php | |
I know that in a dev cycle the warnings are there to help you figure out what is wrong with your code, What I am wondering is what types of warnings should you just disregard? Are there any? are there warnings that are caused due to degradation of a command … Web Development php | |
Hello I have the following code [code] $emailPlayers = mysql_query("SELECT players.player_email, players.Player_First_Name, players_paid.`paid_thru` FROM players_paid INNER JOIN players ON players_paid.Player_number = players.Player_number where players.Player_number like '$aDoor'", $link) or die (mysql_query()); //grab the e-mail addresses while ($row = mysql_fetch_array($emailPlayers)) { echo $row['Player_First_Name']; echo "<br>"; echo $row['players_paid.paid_thru']; echo "<br>"; echo $row['player_email']; echo … Web Development php | |
Hi friends , I made a site in php including login system ... It is a movie discussion portal including movie details and all.. My question is can we integrate facebook login to my site ? So that peoples can comment on this site through their facebook .. For Weg … Web Development php | |
In an XSLT file, I am calling a function to a javascript file (.ascx) and trying to pass parameters. One parameter is a Date() object. The only way I've found to successfully pass it is to pass it as a string. Here's the code from the XSLT file. [CODE]<script> grouping("<xsl:value-of … Web Development javascript xml | |
How can I get the X,Y co-ords of a JQueryUI draggable object, when it is dropped, and post them to something (a java servlet) using AJAX? Im trying to store the location of it in a database, ive got the handler to do that done, Im a backend guy, but … Web Development javascript | |
Hi all, Andy here and a newbie to this *great* site and first post so here it goes... Pretty new to PHP, been coding for about half a year now and loving it. To help get a better skill set and knowledge of the language I've decided to build a … | |
So I am trying something new in a script and I can't seam to find more information on it. I've seen it and I've used it, but what do you call it? How would you search for it? [code=php] <?php $var = <<<UPPERCASELETTERS "Some Content in which I don't have … Web Development php | |
Ok, i am so new to PHP and today, i wanted to create a very simple php code that submits username and country name into myqsl. So, I created databse and tables in phpMyAddmin, and i created two php files ( c below ) i.e. form.php & insert.php [B]This is … | |
I have a blog with a domain that I moved to a new host and now it doesn't have SSL certificate installed on it. There are certain links to that domain that where bookmarked using https and now that SSL is not installed on the new server users who access … Web Development apache http-protocol php | |
I work for a company that does online coupons. We'd like to restrict the printing of coupons to only those people who have not printed them before. I'm doing this by inserting couponid numbers and ip addresses to a Print Tracking table. My plan is upon using the print button, … | |
Hi there, I am relatively new to PHP and MySQL coding and I am currently using the Joomla CMS. What I am trying to do is get a game name based on a custom field value from my DB like so; [CODE] // fetch the value of field called Game … | |
Hello everyone, here is what I'm trying to do: I want to create a multidimensional array of this form: [CODE]Array([0] => a, [1] => Array([0] => Array([0] => d, [1] => e)), [1] => c, [2] => d))[/CODE] Where for every element in the array, another element or array is … Web Development php ![]() | |
i am creating a button on the page and pressing button loads an image. when the image loaded button is moving down and the image occupies the top-left portion. How can i position the image on the right hand side, so that my buttons dont move and the images comes … | |
Not sure if this should be in the MySQL section but here goes, I basically need some sort of code which can read events from a database, display them on a webpage, and the ability to edit and add new events. Please do not suggest any sort of calendar as … | |
I can create the CFCHART just fine and also save it to a folder on my server just fine. But when I try to merge it into pdf I get An error occurred during the MERGE operation in the cfpdf tag. Error: Invalid Document C:/inetpub/wwwroot/Clients/visionmanagementservices.net/tempgraphs4/charts.jpg specified for source or directory. … Web Development coldfusion pdf session | |
[CODE] <script src="http://code.jquery.com/jquery-1.7.1.min.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function() { $('#navlist li a').click(function(){ $('#navlist .current').removeClass('current'); $(this).addClass('current'); return false; }); }); </script> <ul id="navlist"> <li><a href="?p=home" class="current">Home</a></li> <li><a href="?p=product">Our Products</a></li> <li><a href="?p=enquiry">Enquiry</a></li> <li><a href="?p=contact">Contact Us</a></li> <li><a href="?p=about">About Us</a></li> </ul> <div id="content"> <?php require_once('config.php'); $default = 'home'; $page = isset($_GET['p']) ? $_GET['p'] : $default; … Web Development javascript javascript-jquery | |
How can I show data from table which have for example certain place, I need to make like dropdown menu with places and when I choice one I need statistic from that one, I have already made base here is page [url]www.anketa.comli.com[/url] At the end of page is dropdown that … Web Development php | |
Hey all. Ok this is so basic but confused. I'm updating the student name in this instance. I'm able to extract the name out of the database, but I cannot update. Any hints as to where i'm going wrong? [CODE] <?php $dbhost = 'localhost'; $dbuser = 'nbsstud1_test1'; $dbpass = 'demon8'; … Web Development php | |
<select name="criteria" class="report_listbox"> <option value="">Status</option> <option value="PASS">PASS</option> <option value="FAIL">FAIL</option> <option value="ALL">ALL</option> </select> ------------------------------------------------------------------------------------ $date = $_POST['date']; $criteria = $_POST['criteria']; $sql=" SELECT frsemployees.`name`, bft.`date`,bft.`dpush`,bft.`push`, bft.`dsit`,bft.`sit`,bft.`drun`,bft.`run`,bft.`status` FROM `bft` INNER JOIN frsemployees ON frsemployees .empid = bft.empid WHERE bft.`date`= '".$date."' AND bft.`status` = '".$criteria."' "; -------------------------------------------------------------------------------------- the bft database table `status` row containes … Web Development php |
The End.