52,566 Archived Topics
Remove Filter ![]() | |
Parse error: syntax error, unexpected $end in /home/wmsumo/public_html/student_profile.php on line 394 IN THIS PROGRAMME.... <?php @session_start(); include('mysql.php'); ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <link rel="stylesheet" href="css/style.css"/> </head> <body> <div class="overall_container"> <div class="div_head" style="border-bottom: 0px solid red;"><img src="images/header.jpg"/></div> <div class="div_menu"> <div class="div_menu_right"> <?php $id = $_GET['user']; $query = "SELECT … ![]() | |
how to place controls next to next for images in a steps?like 1 main image consisting of different sub images. Web Development asp.net | |
I have this Code... ifsDAO.java [CODE]package source; import java.sql.*; import java.sql.SQLException; import java.util.*; public class ifsDAO { private Database database; public ifsDAO(Database database) { this.database = database; } public List<ifsBean> list() throws SQLException { Connection connection = null; PreparedStatement statement = null; ResultSet resultSet = null; List<ifsBean> ifs_array = new … Web Development java-jsp postgresql | |
I'm using int type in my database, what I should put in order to catch the input data by users? mysql_real_escape_string is not working because I think he can cater only the string values. here is my codes. [CODE]<?php /* NEW.PHP Allows user to create a new entry in the … | |
[U]this is my code in php:[/U] [CODE]<?php echo "Hi!"; ?>[/CODE] [U]this is my code in javascript:[/U] [CODE]alert(xmlhttp.responseText);[/CODE] now, my problem is that the output displays: "1Hi!"; even though i will not display an output in php, still a "1" appends in the beginning of the alert box. What could be … Web Development javascript xml | |
I'm making a comment area where I have multiple posts, the posts are wrapped in a loop where the ID pulls in the correct post, and then below each post is an input area that I am trying to use ajax to post the response. I can get this to … Web Development javascript | |
I have a php code that suppose to have a user enter a number in and it out puts all people in my database who is the same age or younger. Instead of it working it give me the error: Error: You have an error in your SQL syntax; check … Web Development php | |
![]() | Hey everyone, I am trying to develop an addon for my admin area to send a text to my clients. I am trying to populate a select menu that will list clients that have added their mobile phones. I am using the following tables. [LIST] [*]tblclients [*]tblcustomfields [*]tblcustomfieldsvalues [/LIST] At … ![]() |
new to ajax. not that good at javascript. I have the following code which uses ajax to get data from a mysql database with php once I call the ajax function to get the data....I want to use the data in the main script but I have not been able … Web Development javascript | |
Where can I find a free software to display error message using a callout similar to the Ajax ValidatorCallout. Web Development asp.net | |
Hey everyone, I know that there are hundreds of articles online about this same error, but I have been going at this for almost 2 days and it's time I just started a thread of my own. In my application, I have a textbox that has a CalendarExtender hooked up … | |
hi everyone, In my project i'm working on Fileupload control.when i browse a file with IE7 it gives me a full path path of file but when i'm trying in Firefox and Chrome it does not give me a file path. some says save it to your server or a … Web Development asp.net file-system | |
Hey friends, I have installed 2.2.22 version of apache which I think is not completely compatible with windows, because after configuring http.conf file for php and also configuring v-host , it doesn't work properly. I have used .msi installer with ssl compatibality from apaches authorised website. Please give suggestion if … | |
Hey guys, using a dynamic div here to spit out definitions based on final dispositions of records. I have a database that contains all dispositions and the definitions of each disposition. I want to break after so many characters, so i use the php wordwrap() function but get an odd … Web Development php | |
Hi everyone, i am new in this Forum. I am from Greece so I'm sorry for my bad English. I must create an "e-shop" website with [B]Microsoft visual web developer 2010[/B] and [B]sql server 2008[/B]. I have done the database with sql, and the next step is make the website. … | |
Hi can anyone tell me how I add a row to a database table (gamescores) that will record a userID and the number of points they have gained. I also have to update two session variables and use them to update values that appear on the screen by adding code … | |
I am trying to create an add command in my system............i know I wrote the write codes but it is still not working.......here is my the story... I am supposed to create a reservation form that will add to the database and will display your reservation has been saved, but … | |
anyone know whats the code to make the header to stay in place like facebook does? the home, profile and setting navigation stays on top Web Development javascript | |
Hello. I need some help with summing up the total price each company owe to us. Basically it's looking like this currently: [url]http://i.imgur.com/7kkdt.png[/url] For English speakers, Företag = Company Datum = Date Artikel = Product Antal = Amount Pris = Price And then the last row Företag = Company Total … Web Development php | |
Hi everyone. I have two dropdown lists 1 with company name and the other with company branch. when the company name is selected, the value goes into a textbox. when the dropdown box value changes it changes the second dropdown box to find related company branches. i'm having a problem … Web Development javascript | |
hi all I am new to php and curl.How can we create cookies using curl.What is the advantage of creating cookies this way,instead of creating from php's normal way (Setcookie()); Thanks to all Web Development php | |
can anyone help me how to create a search command....I am just new to php and I cant find any sites or tutorials to help me.... here is the story.. I want make a search box that will post all the scheduled trips with the corresponding destination, origin, date of … | |
Hi guys! I have company website created using PHP and mysql database. I am not a programmer but know few things about ftp transfer etc. We happen to change our web server and for that had to transfer the file to new location. All the files are intact and even … | |
Hi , guys i need help in converting WORD documents to PDF using a reference com object , i dont want to automate MS word on server , there's "itextsharp" but i dono how to convert files using that , 1 great reference lib is from subsystems , but it … | |
Hello, I have two paragraphs on my page and I need to draw a line between them. Now, I currently store the positions of the two paragraphs inside a database and I have access to them, I just don't know what to do from here. Some people have suggested I … Web Development javascript javascript-jquery | |
Hello I am trying to add an app to my site, innovationalgaming.com and keep getting the following errors; Warning: Invalid argument supplied for foreach() in /home/innovati/domains/innovationalgaming.com/public_html/hooks/pinAwardsProProfileButton_626f463af659d41a2aeeef50026da9e9.php on line 67 Warning: Cannot modify header information - headers already sent by (output started at /home/innovati/domains/innovationalgaming.com/public_html/hooks/pinAwardsProProfileButton_626f463af659d41a2aeeef50026da9e9.php:67) in /home/innovati/domains/innovationalgaming.com/public_html/admin/sources/classes/output/formats/html/htmlOutput.php on line 114 Warning: Cannot … Web Development php ![]() | |
Hello, I am getting the error: ADODB.Recordset error '800a0e78' Operation is not allowed when the object is closed. regarding the line below stating: "Do Until intX = 1 Or GEMCCdb.EOF" [CODE] <% strPwd = Request.Form("pwd") strUsr = Request.Form("usr") Set GEMCCdb=Server.CreateObject("ADODB.recordset") GEMCCdb.open "TABLE", "DSN=DBNAME;uid=USERNAME;pwd=PASSWORD",2,3 GEMCCdb.MoveFirst Do Until intX = 1 Or … Web Development asp | |
Hi all, I have a small piece of code to check that a field is numeric only, [code] function validate_numeric($variable) { return is_numeric($variable); } [/code] How can I check that text entered is text only ? so to protect against malicous attacks. . . Thanks Web Development php | |
Hi, First Problem: I have a PHP script that export CSV with Japanese text, for example I download the CSV on the website then save to desktop of my computer and Open it on NOTEPAD... that works fine I could still see all the japanese text OK with no problem, … Web Development php | |
Hi, I am having trouble debugging this code.Please be kind enough to have a look.[CODE]<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Bogus Order Calculate</title> </head> <body> <H1>Bogus Order Calculate</H1> You ordered these items: <form action="FinalizeOrder.jsp" METHOD="POST"> <% if("Dictionary".equalsIgnoreCase(request.getParameter("book"))) { %><input type="hidden" name="book" value="10.00"> a Book<BR><% } if("Coffeecake".equalsIgnoreCase(request.getParameter("food"))) { %><input type="hidden" name="food" … | |
I keep getting this error [CODE]Parser Error Message: Encountered end tag "nav" with no matching start tag. Are your start/end tags properly balanced? Source Error: Line 110: </li> Line 111: </ul> Line 112: </nav> Line 113: } Line 114: </div>[/CODE] My code is fairly simple (using Webmatrix with Razor) [CODE]@if … Web Development asp.net | |
having abit of trouble with this code here is wot i want to do but dont seem to be working like that can someone help please.. thanks Promt the user to answer the 10 questions, record the answers and compare them to the correct answers. Once the user has answered … Web Development html-css javascript | |
How to create watermark using jquery and css? I want to print text on image using javascript in diagonal direction. Web Development javascript javascript-jquery ![]() | |
Hey guys, I need some help with preg_replace() I have something like this.... {$gallery_20} And I want to use preg_replace to replace it with nothing.... however gallery_20 can be anything... but im not sure on the patten... Can anyone help please? I don't understand how to change all this.... $patterns … Web Development php | |
Hello there Quick insight of what im trying to achieve here is. User adds data to a database called property in (addproperty.php) Then user can search for specific data in that property database Here is the code addproperty.php [CODE]<?php $dbhandle = sqlite_popen("property", 0666, $err_msg); if(!$dbhandle) die("Could not open the database"); … | |
Hello, how to create mysql database and grant privileges via php code I need to created a new database with new user and to set privileges for this user within my php script, how can i do this? Regards, TitoSd | |
I am a web developer who has just had PHP thrust upon me. I have created a login-protected site and have put a timeout script on each page which redirects the user back to the login page if they have left the site idle for a certain period of time. … | |
Hi guys, please help me out with this. I'm seriously considering suicide. I have three buttons that load numbers into divs. The problem I'm having is that the buttons only seem to work once. Any idea as to why this is happening? You help will go a long way. [CODE] … Web Development javascript | |
I've got a form which searches my database dynamically using ajax every time someone makes a change to it. Problem is, it doesn't perform when I change the slider... only when I change like a checkbox or something. Should be pretty simple to solve, but I'm just not seeing it. … Web Development javascript javascript-jquery | |
Hello There, Please Help, I have a form that generates data from database. i have to select value from a combobox so that i can see the value. but i wanted that data from database to be the value of the radio button. is that possible?I haven't started yet? can … Web Development gui javascript-jquery php | |
Hi All.... Actually I wanted to send mail through mail function in php... The mail is sent successfully and I'm receiving it in the inbox... Problem is I want the mail content in HTML format not plain text. I've tried this code, but it doesn't seem to work... [CODE] <?php … | |
How to use paybox payment method in php application Web Development php | |
hello, am currently working on a code written by an ex-colleague, which was in asp and now converted to php. I want to add the value held by a dynamic text box to the mail () function of my code: [CODE]"Email: " . $_POST['Email'] . "\n\n"[/CODE] [CODE]mail("email1@email.com, email2@email.com", $subject, $message, … | |
Hey, i'm trying to connect to databases together in a single php, i follow a guide i searched in google, but there is something wrong with it...no error, juz a blank page... [CODE] <?php //This file is to check for the invoice number whether it exists or the field is … | |
heyy, as the title says, i need help regarding this issue... okay, the thing is i have two databases with the same number of fields. i need a function that runs over time, checking and maintaining the data inside both database A takes data from my company server, database B … Web Development php | |
I'm a newbie in PHP. I'm trying to figure out a way to pass a second paramter in a URL by clicking a link instead of a submit button. For example, my page has a link that reads: <td><a href="agencydetails.php?id=1">Adams County</a></td> - the id=1 is the first parameter, I need … | |
Hello there i would like someone to have a peek at this code and does it solve the question correctly ?? Are there any mistakes or any improvements i could add ?? Thank you Question: 1. (a)modify the addnames.php script to read in and store two fields of data – … | |
I Have a problem with syntax error on the following code [code] $myregion = $_POST['region'];echo $myregion;$names = mysql_query("SELECT * FROM course_name WHERE Region=$myregion"); while($row = mysql_fetch_array($names)) {echo $row['Name_of_Course'], " " , $row['Region'], " " , $row['Price'],"<br>";}$myregion = $_POST['region']; echo $myregion; $names = mysql_query("SELECT * FROM course_name WHERE Region=$myregion"); while($row = … | |
Hello there i would like someone to have a peek at this code and does it solve the question correctly ?? Are there any mistakes or any improvements i could add ?? Also If any one could tell me how to save the data entered by person into one file(XML)so … | |
I want to send mail using php mail() function. but it is not working. tell me the mistake in code?if any correction in php.ini file should be there then also tell that. here is my code:- <!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; … Web Development php |
The End.