39,323 Topics
| |
am getting this error after executing the select query. Notice: Undefined index: unit8_code in C:\wamp\www\ELIZA\viewresults.php on line 129 the following is line 129 $unit8_code=$row['unit8_code']; please help to troubleshoot | |
| Hello! I am worcking on a guestbook for my website. And I know that is it hackers in the world, ho proberly want to tyr out my security. Soo, if he types a <meta tag in my guestbook, it would come up an error code, that says aboute the error. … |
<?php $dbc=mysqli_connect('localhost','root','','nog') or die('Not Connected'); $query="select * from registration"; $result=mysqli_query($dbc,$query) or die('Not Connect'); if ($result) { // create a new form and then put the results // indto a table. echo "<html> <body>"; echo "<form method='post' action='approve.php'>"; echo "<table cellspacing='0' cellpadding='15'> <th width='15%'>User Id</th> <th width='55%'>Name</th> <th width='15%'>Age</th> <th width='15%'>Blood … | |
hello all, i need multiple upload at once for my site.that should be a very similar to this [url]http://demo.element-it.com/Examples/multipow/index.htm[/url] 1.simple upload (click on that) i tried this but it is trial version. so can any one suggest me if there are any other like this and that should be freeware... … | |
I just downloaded a socialengine script. it works fine with my local WAMP server. but when i get it online i get the[B]" Autosuggest is already set!"[/B] in every page. and every page contains two duplicate of the same page (ie., two header and two footer) but the site works … | |
Hi frnds.... i am trying to do search like google.... my files r here......but it displays nothing....i mean no output and no error...plz check the code what the error? eg: in a text box type "a" then "a" related words r displayed... [B][U]google.php[/U][/B]p [ICODE]<?php $file=fopen("http://www.google.com/complete/search?h1=en&js=true&qu=" . $_GET["qu"],"r"); while(!feof($file)){ $d=fgets($file); echo … | |
Ive been playing around with this all day, I think my path is wrong, I keep getting [Parse error: parse error, unexpected ';' in /class/ct386b/##/www/cgi-bin/french5.php on line 73] Here are how my files are set up and I am linking to my college unix system thru my signon ~ct386## <secret> … | |
Hi, I'm looking for a tutorial type of thing that can help me get a better understanding of colons in the URL. What I want to be able to do is be able to define a user in my database like this: [url]http://www.example.com/user:admin[/url] Please give me a tutorial or tell … | |
Good day all: I have a textarea box in my form which receives (from a url) and display variable. The problem is that it does not translate the <br/>. instead of creating a newline where there is <br/>, it simply prints <br/>. here is an example of the output. br/>On … | |
I was wondering if anyone has taking a dynamic pdf form, and populated from a php form or from mysql information? I have been looking into Fpdf, and other methods, but they don't seem to do what I'm looking for. The reason for this, is I need to output a … | |
Thanks for taking the time to read this. Let me start by saying I'm a php newb so be gentle! I have a form that is used to insert data into my database to display info and images in a portfolio section on my site. In the form, the input … | |
Hi, When we move to HTTPS to HTTP website, warning message come like below [B] warning message in Fierfox[/B] ---------------------------- [B][COLOR="Red"]Although this page is encrypted, the information you have entered is to be sent over an unencrypted connection and could easily be read by a third party. Are you sure … | |
How can i count files in a folder but only the files starting with 15_ before the file name? | |
Hi, I want to get started in Web Development. I want to be able to design dynamic web services. I have realised that there are so many languages used in web development. So I am asking for an advice of which languages I have to choose in the design of … | |
[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> </head> <body> <!-- Microsoft Indic Language Input Tool embed code --> <form method="post"> <input name="abc" type="text"></input><br/> <input type="submit"/> </form> <?php echo $_post['abc']; ?> </body> </html> [/CODE] I have written this page … | |
Hi, I am a PHP developer I never learned much JS but there is no way to accomplish this function using only PHP without a refresh. I am trying to adapt a script that did the basics. [CODE] <script language="JavaScript"> function som() { var First, Last, Full; First = document.Credit.First.value; … | |
basically this is a search function.(i have to search the data from database) [CODE]<form method="post" action="search.php" name="submitted" value ="true" /> <label>TYPE: <select name="field"> <option value = "sid">StudentID</option> <option value = "sname">StudentName</option> </select> </label> <label>WORD: <input type="text" name="searchword" /> </label> <input type="submit" /> </form> <?php if (isset($_POST['submitted'])){ $con = mysql_connect("localhost","root",""); mysql_select_db("uni", … | |
please help me it usually gives me error ( it says cant enter the values ) [CODE] <?php $host = "localhost"; $con = mysql_connect("localhost","awah","password") or die ("error to connect to the server"); // contact the table and enter the form mysql_select_db("kigalifinders_clanteam_admin", $con); $query = mysql_query("INSERT INTO contacts(from, subject, message) value('$_POST[email]','$_POST[subject]','$_POST[messgae]')"); … | |
Hi guys, i have a big problem on these creation. basically if i enter the No of Question then it has to be created No of cells for entering marks. Eg: No of question = 4 then [B]quesNO[/B]-------[B]Marks[/B] 1------------------cell 2------------------cell 3------------------cell 4------------------cell if anyone of you could help me with … | |
I'm trying to write some php that will allow a user to edit an order they previously placed. But in the same way they made the order if that makes sense. So this is my jQuery code to send values to a php page: [CODE]$('#submit').live('click',function(){ var postData = {}; postData['data[order_id]'] … | |
HAE guys am in a big problem my boss wants me to create a comment page on my website and ave problems with declaring variables. you can view my website from [url]www.meliaproject.org[/url] and go to contact page and see the error am getting please someone sort me out with this … | |
Hi guys, I am using following code for sending out confirmation email after successful transaction to the user. But, I users are not getting any confirmation emails. Can somebody help me out here. May be I am doing wrong in "$to" function as $sender_email is at previous form, So how … | |
ok I have my register.php file obviously i blanked out my username and pass the first code is my register.php code and ill add my login.php code as well but it doesnt work it always says wrong pass or username no matter what my register.php works perfectly fine I just … | |
Hello, Can any one tell me that how to show the name of the user using session. PLease help me by giving a code example and can anyone tell me i am using sessions and it is giving me this error " Warning: session_start() [function.session-start]: Cannot send session cache limiter … | |
hello i'm new in php development and i want to create an update scrupt for my codes, and i've been way over my head in doing this one.Here is my code for the search result i need some pinters to how i can create an update script for this.thanks <html> … | |
Hi, I want to send parameters to wsdl (xml file). I give sample code below. --------------- [B]createsession.php[/B] ------------------------------------------------ <?php session_start(); require_once('lib/nusoap.php'); $client = new soapclientw('https://www.domin.com/services/umarketsc?wsdl', true); $client->soap_defencoding = 'UTF-8'; $client->decode_utf8 = false; $sessionResult = $client->call('createsession'); // [B]No parameters[/B] echo 'Session ID : '. $sessionResult['sessionid']; ?> ------------ [B]End code[/B] --------------------------------------------------------------- [B]Sample … | |
I have something to know guys, is it possible to combine all the data in one fields and it will display separately? Example: I have 3 fields (id, description, link) and i store this in the ff. with a separator "|": [B]description fields[/B] This is a description1 | This is … | |
hi all, i want to search google images and upload them to my website. is it possible?, i searched in google i got below code, it is not working [CODE]<? //----------------------------------------------------------------- //-- Copyright 5ubliminal 2008. (5ubliminal.com) // http://www.tellinya.com/art2/39/ // You can do anything with it except selling it or claiming … | |
Hi Guys, Hopefully someone can answer this question for me as I'm stuck as to what to do. So the scenario goes like this. We currently use an access database at our company that contains staff information. I have been asked to design a web page that when a user … | |
Hello Guys, I am trying to update multiple table rows using dynamically generated radio buttons. The radio buttons are in groups of two (yes and no) which also have dynamic names. In other to give the group unique names, I have added row numbers to the group names as thus: … |
The End.