52,566 Archived Topics
Remove Filter ![]() | |
![]() | hi, my php/ mysql query code does not insert data to my table and prints out an error. pls help ive been at this for hours without figuring out what's wrong. my code: <?php mysql_connect("localhost", "root", "") or die(mysql_error()); mysql_select_db("fppms") or die(mysql_error()); mysql_query("INSERT INTO employee record(Employee ID, Employee type, First … Web Development php ![]() |
Hello All, when I add/Delete data to my database (MySQL) using php, i discover that when i refresh the page my Add/delete script runs again and add (or attempt to delete) another copy of the record i added/deleted initially. How can I prevent a block of php script from running … | |
Hello, it has come time for me to be able to accept a credit card/multiple credit cards on a website. I ask you guys to guide me in the correct direction to doing this. I do not want to use pay pal or a payment gateway. Thank you, much regard! Web Development xml | |
Anyone, help me here. Is my code possible? I need to assign the total number of records from the database query to the graph of javascript. [CODE]]<?php mysql_connect("localhost", "aaaa", "aaa") or die(mysql_error()); mysql_select_db("aaa") or die(mysql_error()); $result = mysql_query("SELECT * FROM table WHERE field ='1'") or die(mysql_error()); while($row = mysql_fetch_array($result)) { … Web Development javascript php | |
Hi and I have the below php-gtk script but for some reason it is reporting the error "Not enough storage is available to process this command." in the command console but the application still loads. It only happens when I try to import a 1.75MB text file for processing. Does … | |
Hi, im having trouble i managed to create a password field and got everything working i then changed my mind and wanted to add a username field on to the login. im getting the following error and i have tried both && and || yet none seem to work Parse … | |
hi i am designing a web page that contains to many java script but the problem is that when i open it in IE then IE block the java script and shows a yellow bar at the top then when i unblock it then IE shows my script i know … Web Development javascript | |
Hi, I've been looking for an avatar generator/maker script, does anyone know of one? Web Development php | |
hi all, Im teaching myself webdesign, php and mysql from the fourms here and watching youtube videos. I have come across this error that I cant resolve. Its driving me crazy and i cant find a solution for it. I was hoping someone cant help. Im building a web subscription … Web Development php sql web-browser web-server | |
Hi, i use simple login with a login page where user place u/n and p/w. The data are compared to store data from access db. If matches, open a secure page. So far so goob. In secure page i wanr to show a gridview with user's data, so he can … Web Development asp.net microsoft-access session | |
Hello again DaniWeb! I'm designing a dynamic website in PHP, and it's structured so that each page creates the necessary objects (based on what content is being viewed) which get the right information to display. Smarty then organizes this content and makes it look good. The problem is, I have … ![]() | |
First off I would like to say that I am new to asp.net and programming in general. I have created a website that is being hosted at Network Solutions on a Windows server. My html and aspx pages load fine. On my aspx pages I am using the asp login … Web Development asp.net microsoft-access web-server windows-server | |
I wrote this code and I can't get it disappear on mouseout.. [CODE]<script language="javascript" type="text/javascript"> var activeLayer = "0"; function highlight(theLayer) { highlighter = document.all? document.all[theLayer] : document.getElementById? document.getElementById(theLayer) : "" } function lowlight(theLayer) { lowlighter = document.all? document.all[theLayer] : document.getElementById? document.getElementById(theLayer) : "" } function JumpToNav(navIndex) { newNav = … Web Development javascript | |
Hi, Is there any development tool i can install on my mac for ASP.net? Regards, Anuj | |
I want my website to remember people's email when they post on my website. [CODE] <form method="post" action="formposting.php"> <input type="text" name= "title" size="22"> <input type="text" name= "email" size="22"> <?php if(!$_COOKIE['cookname']) { echo "<input type=\"checkbox\" name=\"remember\" id=\"remember\" /> Remember me on this computer"; } else{ echo $email; echo "Forget Me{delete cookie//help … | |
Hello code monkeys :p I need some guidance with an application that I am working on. The idea for the application is as follows: The user is presented with a search field where he/she is supposed to enter a control number. This control number has a relation to a certain … Web Development java-jsp | |
Hi! That's me again. And I'm still an idiot, and I need yours help. Terms of tasks: Show photos with the ratings. Problem: Rating display pictures. And if the first base photo have rating 4, the code for all the other photos, too, shows a picture rating 4. What am … Web Development php | |
Hi All I am a peoplesoft developer and I dont understand JSP too well . I have following two questions about the code below . 1) Are we using a POST call to [url]https://SomeUrl/ssoreq.asp[/url] (not a GET request) ? 2) Are we assigning the content-length and content-type header variables prior … | |
Hi i want to retrieve data from mysql database using ajax and php. my code is below which does not work here is index.html [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; charset=utf-8" /> <title>Untitled Document</title> <script> var url = "getCustomerData.php?id="; var xhr = … Web Development javascript mysql | |
Hi! Akl I want to upload a file sizeed around 2GB. Could you help me? Thanx in advance Web Development file-system php | |
hey all i am stuck with this problem while i am trying to make a software. here i have a form that has to be filled by the user. form1, form2, form3 and form4. In form2 there are two radio button 'yes' and 'no'. So when the user selects yes … Web Development php | |
![]() | Hi I got 1 static drop down list, 1 dynamic drop down list(shows content of a mysql table) and content of another mysql table on the same webpage. They are all placed on 3 different forms. The selected option in the first list triggers the 2nd list on the page. … Web Development php |
can't delete records.. here's the codes.. [CODE] <?php mysql_connect('localhost','root',''); mysql_select_db('records'); ?> <?php if(isset($_GET['btndelete'])){ $position = $_GET['position']; if(isset($position)){ foreach($position as $val){ mysql_query( "DELETE FROM positions WHERE id='".$val."'" ); } } } ?>[/CODE] [CODE] <html> <head> <tittle> confirm </title> <script> function deleterec(){ if(confirm("Are you sure you want to delete?")){ return true; }else{ … Web Development php | |
ok so in order here is my code [TEX]/* index.html */[/TEX] [CODE] <!-- jQuery Scripts --> <script type="text/javascript" src="http://jqueryjs.googlecode.com/files/jquery-1.2.6.min.js"></script> <script type="text/javascript" src="http://tdr.host22.com/scripts/li.js"></script> <link href="http://tdr.host22.com/scripts/tdr.css" rel="stylesheet" type="text/css"> <!-- Div Layout --> <div id="container"> <div id="dp">my DP here</div> <div id="hrefs"> <ul id="menu"> <li><a id="home">Home</a></li> <li><a id="about">About Me</a></li> <li><a id="shop">My Shop / Wishlist</a></li> … Web Development html-css javascript javascript-jquery | |
OK basically im confused ive got an assignment due in tomorrow night and at the moment even an example code wont work for me, basically i was reading a book and ended up with the following code but it doesn't work and i have no idea to convert this from, … Web Development javascript ![]() | |
[code] protected void Button1_Click(object sender, EventArgs e) { SqlConnection con = new SqlConnection(System.Web.Configuration.WebConfigurationManager.ConnectionStrings["shortycaponeConnectionString"].ConnectionString); for (int i = 0; i < GridView1.Rows.Count; i++) { GridViewRow row = GridView1.Rows[i]; CheckBox chkbox = (CheckBox)row.FindControl("cbRows"); TextBox Quantity = (TextBox)row.FindControl("tbx_TextBox"); if (chkbox.Checked == true) { try { con.Open(); SqlCommand cmd = new SqlCommand("INSERT INTO InwardEntries(ProductCode,Size,Quantity,DateTimeNow) … Web Development asp.net | |
Hi! I'm trying to install a php product that requires ioncube loader. I have followed several guides (they are all the same) for how to install it. Running ioncube-loader-helper.php tells me the location of the php.ini file. The server has a set of ioncube loaders, and the helper tells me … Web Development php | |
hi there, i want to display my data coming from database..i could do that using a table, however the problem is that the table will just expand everytime there is data. what i want to have is a control which has a scrollbar which will display lots of data. i've … | |
how to convert from 'string' to 'System.Data.DataTable' I Have this code and my computer appear kode error I have put all the web site on the attach The best overloaded method match for 'System.Data.OleDb.OleDbDataAdapter.Fill(System.Data.DataTable, object)' has some invalid arguments cannot convert from 'string' to 'System.Data.DataTable' [code] using System; using System.Data; … Web Development asp.net dataset open-source | |
hi .... i need help to unserstand this code please if someone can help by explain or write commant [CODE] Public Shared Function GetPostBackControl(ByVal thePage As Page) As Control Dim myControl As Control = Nothing ' Dim ctrlName As String = thePage.Request.Params.Get("__EVENTTARGET") If ((ctrlName IsNot Nothing) And (ctrlName <> String.Empty)) … Web Development asp.net | |
Hi, Here I am having a dropdown named Category and another drop down named Sub category.There is one text box named zipcode which is filled with the previous request page.What happens is when I select any category the onchange event fires and a list of cars gets displayed.But parallely the … | |
I am getting this error: Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729; OfficeLiveConnector.1.4; OfficeLivePatch.1.3) Timestamp: Wed, 20 Jan 2010 19:54:08 UTC Message: Object required Line: 1635 Char: 1 Code: … Web Development javascript | |
This is my booking form: [url]http://www.n-v-m.co.uk/Booking.html[/url] When 'Submit Order' is clicked a PHP script is triggered that emails me details of the order... What I require is an alert to pop up if either: a) The customer has selected 'No' for 'Is Vehicle roadworthy with full M.O.T.' or b) The … Web Development html-css javascript | |
please help me visualize an online examination, i dont know where to start...:icon_sad: Web Development php | |
Hi, I am trying to write a soap client to connect to the hosted webservice of GlobalWeather. But i am getting lot of execption. I am posting the client and exception. If someone has as sample client code to connect to Globalweather that would be helpful. [CODE=java]package samples.hello; import org.apache.axis.client.Call; … Web Development apache api client-server xml | |
How can I showing up a report file (*.rpt) from crystal report into a web browser with PHP, I'm already used this code : $cr=new com("Crystal.CRPE.Application") or die("cannot load cr com"); $rn="C:\WAMP\k\allreports\BS18A.rpt"; $rap=$cr->OpenReport($rn); but there was'nt happen any thing, it just a blank page comes up could any one give … Web Development php web-browser | |
is it possible to input a data grid in php like in VB6? because in my program, user will display lots of data and displaying it in a data grid (clickable) is the best way, we all know that in VB6, once the user clicked anywhere in the grid, it … Web Development php | |
i have a form that uses the post function however i am having some troble getting information from the drop down menus. and also i am having some trouble doing some form validation. the code for both files is shown below. <html><title>Create a new Prequisite Rule </title> <body> <form action="insert_rule.php" … Web Development data-science database-design engineering mathematics php | |
i have a senario where user reg for seminar and books a hall, during reg he enters start time and end time for seminar ,start and end time are stored in data base. when a new user reg for seminar hall with existing booked time in data base it should … Web Development php | |
hi.. Im building an application in ASP.net where i have a button which should add more textboxes when clicked. the other textboxes are placed in a table so if i click the button it should a new row containin the textboxes.. please let me know wht code i can use … Web Development asp.net | |
i have a problem with this code regarding in counting.. [B]index.php[/B] [CODE] <?php if(isset($_GET['btnsubmit'])){ $can = array($_GET['pres'],$_GET['vp']); mysql_connect('localhost','root'); mysql_select_db('sample_poll'); foreach($can as $val){ $sql = mysql_query( "UPDATE candidate SET votes=votes+1 where can_id='".$val."'" ); } echo "<h1>vote complete!</h1> <a href='voteresult.php'>see all vote results</a>"; }else{ echo "<form method='get'>"; mysql_connect('localhost','root'); mysql_select_db('sample_poll'); $sql = mysql_query( … Web Development php | |
I am familiar with several PHP random image loaders. The only thing I can not seem to find very easily with these scripts is one that prevents repeats for so many reloads. I have a directory containing 3500 images. What I have noticed is that I can cycle through the … Web Development file-stream php | |
There are a few things I need to know how to do to complete the Booking Form on my website found here: [url]http://www.n-v-m.co.uk/Booking.html[/url] Any help on the below points would be much appreciated: 1- I need to center the labels in line with the multi line text fields... ie. where … | |
Hi Everyone! I was wondering how I would use a javascript varible in jquery ?. [CODE] function postNewAnswerAlerts() { if (http_request.readyState == 4) { if (http_request.status == 200) { var result = http_request.responseText; $('div#question').load('responder.php?mode=readquestion&id=' + result).show().fadeIn('slow'); } } } [/CODE] Many thanks James. Web Development javascript javascript-jquery php | |
hi all, I'm designing my website and I create a form page and connected with asp code :this is the code ======= [CODE]<% USER NAME= trim(request.form("USER NAME")) E-MAIL= trim(request.form("E-MAIL")) PASSWORD= trim(request.form("PASSWORD")) CONFIRM PASSWORD= trim(request.form("CONFIRM PASSWORD")) FIRST NAME= trim(Request.Form("FIRST NAME")) LAST NAME= trim(Request.Form("LAST NAME")) SEX= trim(request.form("SEX")) DATE OF BIRTH= trim(request.form("DATE OF … Web Development asp | |
[CODE]$page = implode ('', file ("http://examplesite/index.cgi?prod_id=" .$product_sku. ";vendor=" .$mf_name. ";shopname=url;lang=UK")); $mysite = $_SERVER['PHP_SELF'].'?link='; // request this page $page = preg_replace("/<a href=\"(.*)\">/i", "<a href=\"$mysite\\1\">", $page); echo $page;[/CODE] Now i can't find a way to get this work. I need product_sku and mf_name to be collected from a joomla vm site and … Web Development php | |
Hi, I'm working on a project whereby I have a dropdown control and a formview control. The formview is linked to a datasource and the dropdown is supposed to utilize a stored procedure to update the row that the formview is displaying. Now the problem here is 1- is it … Web Development asp.net | |
I made a very simple website using ASP.NET and SQL Server. I will post all the code up if it will help. On my local machine, the website works perfectly. I can preview it from Visual Studio fine, and I set up the IIS on my localhost, and it works … Web Development asp.net visual-studio | |
Help!! I need to generate a bar graph out of the data from the MySql database, could anyone help me here? Thanks! Web Development php | |
What is the link between php and mysql? Please anyone help me |
The End.