17,029 Solved Topics
Remove Filter ![]() | |
As you can see from this page: [url]http://www.cornwallfantasyhockey.com/cfhl/schedule3/[/url] I have created an output table of 11 players. I would now like to total the GP and PTS column. Here is what I have so far: any thoughts? [code] <?php $result = mysql_query("SELECT * FROM stats1011 where 1A = 'BULL' OR … | |
Hello, In OOP PHP, i got 2 classes: Database and News. In News class i call DB function and get result (multidimensional 2D array). Now i have to display that array in index.php. I call News class (lets say get_news() function) from index.php but cant retrieve data and always get … | |
The point of this script, is to take the user input (a website) and turn it into it's IP address. This then is turned into a file, readable later in the script. This is my attempt at having these sites available theoretically forever. A collection of what everyone has searched … Web Development php | |
Hi. I'm no expert here, and I need some help. This form does not update the database. I know it is accessing the database because the checkbox and radio buttons variables are good, but there is no result posted. Can anyone tell me what is wrong here. [code=php]<?php session_start(); // … | |
Hi all. I've tried to make a simple hover effect about small images but it won't work. I also tried to make the following script: 2 seconds after page loading image1 changes 2 seconds after that image1 returns to back state and image2 changes and etc. Can someone help? Best … Web Development html-css image javascript | |
Hi I have a database which has a table named [B]main[/B] and a field named [B]description[/B] typ of [B]description[/B] is [B]longtext[/B] I can insert more than 100 word through phpmyadmin. but can't insert through form submit by post method. but Here i can insert 10 word through same form submit. … | |
I was wondering if anybody would be able to help me insert a confirm delete popup window that closes after submit. here is what i have so far [B]index.php[/B] [CODE]} //delete tool button actions if (isset($_GET['deletetool'])) { $id = mysqli_real_escape_string($link, $_POST['id']); $sql = "DELETE FROM tools WHERE id='$id'"; if (!mysqli_query($link, … Web Development php | |
Hey people wats up . People ... I need your help . I want to learn php , ok i know the basics of php from w3schools but in w3schools all the php lessons are not too advanced , so if you know a website where i can learn advanced … Web Development php | |
i made a PHP page that calculating bill of medical institute. i need to print the bill from this page. bt using window.print command it print whole page with buttons also.. bt i dont need no buttons.plz help me to print bill.. thnkuuu Web Development php | |
i created one blog . In that i put other site links . When users clicked that link it opened in the same tab . i need html codings to open in another tab if users click that link . please help Web Development javascript | |
Hi all, basicly, I'm writing some code so that when a user clicks on an image, a div will be displayed where the user has clicked. My jQuery code isn't working, so wondered if anybody knew how to fix it. All of this is in my document.ready() function. [CODE] $("img.image").click(function(e){ … Web Development javascript javascript-jquery | |
Hi there, I believe I am having trouble with the response that is received by the Ajax request. I have posted something similar to this but the response returned was XML not plain text (or html). I am guessing this should be easier but I can't figure out or find … Web Development javascript xml | |
I am writting a large if / else tree in an existing website. My include libraries have to be put into the html program using a scripting language called SpeedScript. These includes bring in the login data that I am testing in my if tree. Instead of using the if/else … Web Development javascript session | |
Is it possible to create a hard page return in your PHP code so that wehn the user prints the output, the page break will occur where it is defined? If this is possible, how is it done. I have not found anything in my Google searches. Any help is … | |
Hi, I got some zip files on my server people can download and am having a strange problem. Can't remember if i ever checked in IE but in FireFox, Google Chrome, Opera everything is fine. When i download a file from my website in IE the file is getting corrupt. … Web Development php session windows-virus | |
Hey, I'm trying to make a way for the user to click a link in an email agent and the submit button (previously hidden by css) and it then becomes unhidden. [code=javascript] function showSubmit() { var submit = document.getElementsByName("submit"); if (submit.style.display=="none"){ submit.style.display="inline"; } } [/code] Then the html: [code=html] Click … Web Development display html-css javascript | |
Hi, I want to connect to a external server to either copy image.jpg to my local computer or list all the files stored in a path. How can I do this? I think cURL is used but examples on the web are not working for me. Thanks in advance For … Web Development php web-server | |
Hello, I’m just trying to get the link and id name passing to other page, but when moving on the link the mouse, it shows only the first word of the ID. Here is the example. [CODE] <?php $id ="CURSO DEL RITE(CALEFACCIÓN,CLIMATIZACIÓN Y ACS)"; $link = "http://www.ginerllinares.es/prog_curs/sem/inscribir.php"; $path = "<a … Web Development php | |
Hey, I'm trying to find any tutorial on taking user inputted text and displaying, on that page or another. I know how to upload a file, or provide that service to the user so I figured it might be similar, but I couldn't find any help on this scanning google. … | |
Hi friends . recently i create one blog for music . i want to knw how to add the Songs in blog for Online hearing . . . please help . . . i searched one day and did not found . please help Web Development javascript | |
Hi, How do I change the query below to search in two fields instead of just one? For example, I want the query to search two fields: job_id and jobtype - instead of just job_id. [CODE]$query = "SELECT lastname, firstname, state, zip, jobtype, otherjobtype, nightavail, weekendavail, ptft, resume FROM data … Web Development php | |
Hi, I have built an entire site with my localhost on my computer, as you do. and everything has worked fine. I have no issues. and still dont' However, I just uploaded it, and am getting this error: [CODE] Warning: Cannot modify header information - headers already sent by (output … Web Development php | |
Hey guys, I'm trying to mix php and it's not working. I made a form that takes user input and changes the website they input to it's IP address. Next I tried to put that IP as a variable $ip and tried to put that variable in a link(href="") and … | |
Good Morning, I am building a hockey pool site and here is some background on my problem. Our league allows each player to be drafted twice. So we have given each player an A or B listing (ie Sydney Crosby A or Sydney Crosby B). In my database, I have … Web Development first-post php | |
I am wondering if anyone knows of a way to post information about the database on the site. What I am looking for is the php code to display the information below. For example: 1) This 'tableXX' in 'databaseXX' has XXX rows. 2) This 'tableXX' was last updated on 'DATE' … | |
Hi - new to ASP... I have a form with a dropdown list. Based on what option is selected I want the form to be send to different email addresses. Sample code I have is: [code=asp]<p>Gender: <br> <select name="gender"> <option selected value="">Choose....</option> <option name="gender" value="male">Male</option> <option name="gender" value="female">Female</option> </select> <% … | |
Hi, this script work im Crhome, but not in IE, or Firefox, please help me!! <!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; charset=iso-8859-1" /> <title>teste</title> <script> function idade(object, birthDay){ now = new Date(); bD = birthDay.value.split('/'); if(bD.length==3){ born = new Date(bD[2], bD[1]*1-1, bD[0]); … Web Development javascript | |
Hi all, I am trying to handle an sql query for multiple dropdowns where all won't neccessarily be active. EX: Dropdown1: CITY Dropdown2: STATE Dropdown3: COMPANY BUTTON: GO Need the ability to choose from one, two or all to make a query. Here is what I have now: Above the … | |
hey all i'm new to this all and was wondering if anyone can help me solve a prob i'm havin with my project for a booking system. i have a drop down menu with the day, one for months, and finaly year... all the values are real time dates but … Web Development javascript php | |
I have designed a survey with PHP that submits the responses into a MySQL database. The people that will be taking the survey are existing clients which have user IDs and information stored in a database that I do not have direct access to. What I would like to do … | |
I'm trying to embed the login form for the webmail for a customer portal I'm developing, I've tried copying all the html and putting it inside my .NET page but instead of using the form action that I have in the form tag it simply re-posts the current .aspx page … | |
good day! i can't send an email in php. i have this code: <html> <body> <?php mail("jjemphoung@yahoo.com","Testing","Hello","From: [email]flatOne@yahoo.com[/email]"); ?> </body> </html> when i run this the output is Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use … | |
hello! if we sign up at a hotmail account or other account we see before submit our information that we must enter a words and that is for prevent "robots" to sign up with hundreds of accounts. so this characters is an image,so what i want is your help in … | |
good day! im an IT student. im new to php&mysql. my database engine is first myisam. everything works fine. but when i changed it into innodb(for foreign key purposes) i can't insert a data in my the parent table. i can insert data in child table though. replies are really … Web Development php | |
hello all i have two drop down list in form and binding it on form load event problem is when i run the application it shows the first value in dropdownlists index no 0 insted of that i want to show blank on run and on click of dropdown it … Web Development asp.net | |
hello everyone, im a new member here and also new to php. i've been searching in this site for days about my problem and with no luck i dont find any of them. i want to create a dropdown list menu (of persons) and everytime i choose a name of … Web Development php | |
Hello everyone, I am currently creating a small JS app. that will help me search PostgreSQL and print related data via PHP. I am using jQuery to help me but I have this small problem. I wanted to test if the code worked, by prompting the PHP file to print … Web Development javascript javascript-jquery php postgresql | |
Hello everyone, I am trying to retrieve some data from PostgreSQL using jQuery and PHP. I should be able to enter a date as input -e.g, as 2010-08-09 and retrieve all the data that is dated August 9th- however, when I execute my javascript, all I get as an output … Web Development javascript javascript-jquery php postgresql | |
hi i am a web developer and i never really understood what coldfusion can do. If you can point me to some tutorial links explaining basics of coldfusion i would appreciate that. Web Development coldfusion | |
Hello, I am having a little trouble getting the variable $total to insert into mysql table. I used javascript to get the total that is in the input box. Any help is very much appreciative. Here is site: [url]http://illcomputers.comyr.com/custom.php[/url] Thank You Snippets of Code JavaScript Code [CODE] var mainitems = … | |
![]() | Hi, I'm trying to determine a better method of finding the index value of a form element. I need to find it because the JavaScript validation class has a function for validating a single form element, but it requires that the index number of the element in the form be … Web Development javascript |
Hi guys, this is very urgent. Can anyone help me out..... I want to generate reports using php and MySQL. I have one table which includes customer_id, full_name, name_with_initials, address, contact_number and gender fields. I want to print the details of all the records of the table. It should be … | |
So I'm trying to get 3 DIVs to line up as columns horizontally. I've got it to work in some browsers but not all. It's supposed to look like [IMG]http://www.cake-spoon.com/wp-content/uploads/2010/08/Screen-shot-2010-08-25-at-11.46.10.png[/IMG] However in some browsers it looks like [IMG]http://www.cake-spoon.com/wp-content/uploads/2010/08/Screen-shot-2010-08-25-at-11.46.30.png[/IMG] The code I'm using (Stripped of all the crap) is [code=html] <div … Web Development display html-css javascript | |
Hello, I am trying to use the mysql_real_escape_string() function, but I can't seem to use it without losing the content of the variable. When I use [code] $act="It's now or never" $act=mysql_real_escape_string($act);{ [/code] then attempt to insert the value of $act--it comes out null. I have established the database connection, … | |
Hi there, I've been working over the past few weeks on these pages... - [url]http://www.rjt-online.com/photos.php[/url] - [url]http://www.rjt-online.com/video.php[/url] The issue I'm facing is with the Video page. As you can see, the iFrame that hold the videos themselves is working fine in IE, but when you look at it on other … Web Development html-css javascript | |
Can someone please explain why is the following code outputting some Chinese instead of breaking down the string passed in the function into an array. [CODE]<?php // define URL $url = "http://www.somewebsite.com:80/community/columns/trog/article.php?id=79&page=2"; // parse URL into associative array $data = parse_url($url); // print URL components foreach ($data as $k => … Web Development php | |
I know how to limit the number of rows returned in a query: [code] $result = mysql_query("SELECT * FROM playerdb where CFHL_A = 'XMEN' OR CFHL_B = 'XMEN' order by field(pos,'LW','C','RW','D','G'), PTS0910 DESC LIMIT 0, 11") or die(mysql_error()); [/code] However, now I am looking to fix a table to 25 … Web Development php | |
Hi, So I'm working on a shirt printing quoter for a client. Basically you fill out a few fields and it tells you how much it would cost to print your design on 24+ shirts. After you see your total, you can place your order by filling in contact info … Web Development php | |
I'm trying to write this query, but I don't know how to go about it. Say you have a table with a bunch of listings, with multiple listings per company. You have a status field in the table that is either complete or active. What I want to do is … |
The End.