39,320 Topics
| |
404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.i'm getting this error .on appache server. | |
[code=php]print "<script language='javascript' type='text/javascript'>"; print "var a='Invalid User';"; print "document.writeln(a);";[/code] | |
Hello i want a simple calcualation which adds 2 textbox times depending on what is chosen from the two drop down lists below, for example a lesson costs £21 and if the user chooses quotestarttime 01:00 to 02:00 it would cost 21 and if the user selects 01:00 till 03:00 … | |
Hi Could anyone make any suggestions to why this is only printing the first line of data in my database?? I have 3 colums and abouts 20 rows. [CODE] <?php session_start(); if ($_SESSION['logged'] != true) { header("Location: index.php"); exit; } include "../db_con/connect.php"; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" … | |
Can anyone tell me the name of the websites from where i can get the [B][U][COLOR="Red"]free website design templates!![/COLOR][/U][/B] including flash files!! and many more!! pls. send all the possible links!!! i am not getting the satisfactory design templates!!!!!!:( | |
pls help me!! why this code is not executing?also send me the exact code to fetch a table from a database in a table format in a web page!!!!! [code=php]<?php $con=mysql_connect("localhost","root",""); mysql_select_db("niladri",$con); $sql="SELECT * FROM `category` "; $res==mysql_query($sql); while($row==mysql_fetch_array($res)); { echo $row['cat_id']; echo $row['cat_name']; } ?>[/code] :'( :?: :icon_cry: | |
Hey all, ok, so, I am a bit weird in my questions but, that's just me. I have a fairly weird one for you. I have been using RegExSearchReplace (A Java Program) to do this the um, tedious way, but I was hoping there was an easier way to deal … | |
i made a form with 2 input buttons(for taking number inputs) and 4 radio buttons(add sub mul and divide) and one submit button(calculate) to make a simple calculator and wrote a php script which takes input values and and according to the button selected do the operation but when i … | |
Wasn't sure whether to put this in java or php, so I'm putting it here. I have a bit of java that opens a php page in a popup window, using this code: [CODE=java]<a href="javascript: void(0) "onclick="window.open ('my_form.php','linkname','height=465, width=400, left=550, top=150, scrollbars=no')">Click Here</a>[/CODE] So that code opens up "my_form.php" in … | |
I've searched through the forum, but I couldn't find an answer. How do you display a result within HTML? Such as: [CODE=php]$query = "SELECT * FROM customers WHERE job_number='$jobnumber'"; $result = mysql_query($query); while ($row = mysql_fetch_array($result)){ echo $row['first_name']; echo $row['last_name'];[/CODE] Thanks in advance. | |
Hi , I would like to use this ,but it does not work . [code] <textarea rows="2" cols="80" rows="40" readonly="false" > The cat was playing in the garden. Suddenly a dog showed up..... And you get killed by the horse . </textarea> [/code] The readonly from this one [url]http://www.w3schools.com/tags/html5_textarea.asp[/url] does … | |
Hi i'm trying to display a default value in a atext field then when user changes it im grabbing it in javascript and passing it as a hidden variable but it doesnt work [code] //javascript function function save() { var imp = document.getElementById('yesno').checked; document.getElementById("schdate").value = document.getElementById('nextsch').value; if(imp == false) { … | |
[CODE] <?php $hostname = "localhost"; $username = "hi"; $password = "bye"; $dbid = "jesus"; $link=mysql_connect($hostname, $username, $password); mysql_select_db($dbid) or die("unable to connect"); $name1=$_REQUEST['name1']; $result=("SELECT name FROM lydia WHERE nam='$name1'"); while($myrow = mysql_fetch_array($result)) { $first=$myrow[0]; echo $first; } ?> <html> <head> <script type="text/javascript"> function win() { var c='<?php echo $first; ?>'; … | |
Hi , I am new to this community and also new to PHP. My problem is that i have installed apache 2.2.6 and also have php 5.2 version. also made all the changes in conf file of apache. I also did all the neccesary things on PHP side (placing & … | |
hi friends, plz help me to change the Browser language/ system language. i've added the language in the browser setting but i couldn't change it from browser also. | |
Hi, I'm trying to write a script to allow a customer to access the status of their order. I have set up the database properly, including all the fields necessary. I have successfully written a registration script, allowing the customer to register his/her details into the database, but where I'm … | |
when i click login button it's not redirecting to another php page.it's showing error on page. my code is below. [CODE] <html> <head> function win() { var a=document.getElementById('myusername'); var b=document.getElementById('mypassword'); var temp=a.value; var temp1=b.value; window.opener.top.location.href="http://www.careerglitters.com/web_login1.php?vars=" + temp + "&varr=" +temp1; self.close(); } </head> <body> <form> <input type="text" name="myusername" style="width: 10em;"> … | |
I am trying to set up a web based POS system and have got everything working apart from printing directly to a barcode / label printer. When printing to the barode printer I need to send it a text stream of ascii characters with none printable control characters. Here's an … | |
hi frends i'm a novice in php... i just installed php and apache 2.2.x webserver and just wanted to try some very basic stuff... [CODE] <html> <body> <?php echo "Hello world"; ?> </body> </html> [/CODE] but rather than showing the output in the browser it shows the whole code.... could … | |
Hey all, posting again here as got major headaches! Basically.. I have a series of quite complicated queries, but the main problem starts right at the beginning, other than that I reckon im fine. What I want to do, is display a list of Registrations from Student's for Modules. This … | |
Hi Is it possible to overload return() function for some part of code (ie. for the scope of some class)? I would NOT like to define separate function to do 'other stuff' and use it on every return like that: return(myFunction()); Is it possible? Maybe there is some other trick? … | |
I need help I want to develop in php code to redirect the browser to one specific folder (FTP) using password upon login in that folder only that folder they can access. | |
Hi, I am a beginner in php mysql... I want to pass null values to integer from PHP file to mysql stored procedure. eg: $name = "John"; $age = $_POST['age']; // Which is a null value.. and i called the procedure like CALL InsertStudent('$name',$age); my procedure is not executing ... … | |
Hi All I have a question , i am doing small interface ( using php,mysql,IIS) , the data stored in the database as unicode data , now i want to retreive the data and display those data in php interface but it should not in unicode format ( so i … | |
Hello everyone and thanks in advance for your help. I'm making a web page with an order form. So far I have Javascript calculating the total of the order as the user clicks another text field box and then they proceed to the contact information part of the form. The … | |
i have a problem with my form. there are 2 button : a login and a register button . login but will redirect to welcome.php, register to register.php. i put the action in the form like this <form name="login" method="post" action="welcome.php" > the problem is both buttons turn me to … | |
Hi all, How can i avoid same php page from being opened in two windows? If the page is opened in one window, then if the user tries to open the same page in another window, he/she should be given a message that the page is already open. Can anyone … | |
I have this page which has to retrieve the information from a database and display using the list menu object can someone please let me know of how to do it. The idea is when the name is selected it will retrieve the information relating to that name from the … | |
Hi all, Basically I'm banging my head against the wall recently trying to get a list of checkboxes to pass variables to a SQL query. If the checkbox is ticked then I wish for the a certain SQL query to be passed. This is my code at the moment that … | |
hey my host has disallowed the mail() function, any alternatives? |
The End.