39,402 Topics
![]() | |
I am creating web order form html and php.I am not php coder.So please sorry if i am wrong . The demo page is [URL="http://www.desinovels.com/order/contactus.htm"]Here[/URL] I want if user come and click on check boxes.So i will receive email on completion.when submit.I dont know which tags will be user to … | |
Hello !!! I am the owner of a website which is a social network. The members can email each other but there is a little problem: [B]They can see the email address of the person who wrote them[/B]. As you can see, this is uncomfortable for some people because there … | |
ajax_example1.php <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script language="javascript"> function showdetail(id) { //var xmlhttp; //if(window.XMLHttpRequest) xmlhttp=new XMLHttpRequest(); /*else if(window.ActiveXObject) xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");*/ xmlhttp.open("GET","data_fetch.php?id="+id,true); xmlhttp.send(null); xmlhttp.onreadystatechange=function() { if(xmlhttp.readyState==4 || xmlhttp.readyState=="complete") { //if(xmlhttp.status==200) { //if(xmlhttp.responseText!='') { //document.getElementById('emp_nm').innerHTML=xmlhttp.responseText; xmldoc=xmlhttp.responseXML; document.getElementById("emp_nm").innerHTML=xmldoc.getElementsByTagName("emp_nm")[0].firstChild.data; document.getElementById("dpt_nm").innerHTML=xmldoc.getElementsByTagName("dpt_nm")[0].firstChild.data; document.getElementById("wrkphour").innerHTML=xmldoc.getElementsByTagName("wrkphour")[0].firstChild.data; document.getElementById("sal").innerHTML=xmldoc.getElementsByTagName("sal")[0].firstChild.data; document.getElementById("ph_no").innerHTML=xmldoc.getElementsByTagName("ph_no")[0].firstChild.data; … | |
Hi, I m trying to run my php script using the xampp on Fedora linux. I ve sucessfully started xampp.And tested using "http://localhost/" It works well.... But when i try to run my file (php or html)it does nt work.. I put my file exp.html [or exp.php] in the "lampp/htdocs/" … | |
I am currently reading and displaying the entire contents of a text file using the following code: [ICODE]$html_get = file('content.txt'); foreach ($html_get as $html_num => $html_text) { echo $html_text; }[/ICODE] I would like, however, to have the code read the contents of the text file up to a certain line … | |
Hey guys, sorry to bother you with some rather elementary woes. I am using the book Beginnings PHP5 and MySQL E-Commerce and am stuck at Chapter 2. My default folder for Apache is C:/htdocs. I created a folder C:/tshirtshop, created a simple php info page in this folder, and have … | |
Hi Guys I have two tables I'm trying to pull information from. In the end I want to be able to display a username and a school name which are contained in 2 separate tables but linked by the school id number. The problem is that the 'members' table which … | |
Hi I'm trying to be able to pull user information from a Heidisql table. Using a recordset I was able to pull cand_id and set_nbr, but not the actual response, which is the most important aspect. The code I'm working with is: $GETURLCAND_ID = $_GET['cand_id']; $GETURLSET_NBR = $_GET['set_nbr']; mysql_select_db($database_episcopalgbec, $episcopalgbec); … | |
Hello, I need some help with php and tpl. What tpl is ? I saw lots of website having tpl files. whats the advantage ? How to work with tpl ? Basically is tpl used with smarty ? I hope i get some help at Daniweb. Thanks DSS | |
Help please I am a newbie trying to learn. I have the time and attitude but I do need direction for what I am trying to do. I have a photo site that I am trying to redo. I am trying to create a page where on the bottom or … | |
Can someone point me in the right direction, what I am trying to do is use the result set that I have from a php query to a mysql table. I would like to be able to individually select a record from a query result that returns multiple records. I … | |
Hi guys...Good morning...I have following code. <?php $pid=$_GET['pid']; $conn=mysql_connect('localhost','root','') or die("Cannot connect to server"); mysql_select_db('developer',$conn) or die("Cannot connect to database"); $sql="select cnode,item,pnode from listviews where cnode='$pid'"; $res=mysql_query($sql) or die("Cannot execute query"); while($ar=mysql_fetch_array($res)) { $itm=$ar[1]; $pid=$ar[0]; } $sql="select cnode,item,pnode from listviews where pnode='$pid'"; $res=mysql_query($sql) or die("Cannot execute query"); echo "<table border='1'>"; … | |
I am currently using PHP-Nuke to create my website. Currently it is in development and I wanted to know how I can add a Donations block with a paypal donation button inside. I know how to set location and everything but I can't figure out how to make the block … | |
hi i am new in PHP ,i am doing my job in a company and there are some existing project they tell to me plz check and remove errors ,i m trying more and more to remove this error but i m failure....plz help me. <?php require("header.inc.php"); session_start(); if(($useradmin)=='') { … | |
Happy New Year everyone. Does anybody know how I can restrict access to a page to those users coming from a specific url. Thanks in advance Taffd | |
I have used the css to print the page orientation to landscape. But it is not giving the desired result. the code I have used, <style type="text/css" media="print"> .land{filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1)} </style> Please suggest me to print to lanscape. I am using php and javascript. Regards, maza | |
Hola, I am very new to regex and am relying on help from other forumers to help code this. If you think you can teach me (lol) even better. I have an affiliate website that lists products from various external websites. For obvious reasons these products are sometimes out of … | |
Hello, I want to make a forum but how do i go about this i dont want a free one i want a proper one with the phpbb 3.0 but how does it work and how do i set it up and what do i need any help would be … | |
Hi, I have the following code: [code] $date = 'Nov 7, 2007'; echo date('Y-m-d', strtotime($date));//outputs 2007-11-07 $date2 = $dates[1][0]; echo $date2;//outputs Nov 7, 2007 echo date('Y-m-d', strtotime($date2));//outputs 1969-12-31 [/code] How can I have the last line output 2007-11-07? Thanks in advance. | |
Hii I have a query...I am using PHP,Mysql and Javascript.. I want to add values in the listbox from textbox..and also display them in hirerachical manner using treeview or <li> tag...so please send me code for performing this process. Thank you.. | |
I am trying pagination for a database-database search engine - this was the query $sql = "select id, name from student_adv WHERE name LIKE '%$search%' order by id limit $startIndex, $perPage"; and it worked fine when i had $search = John The problem starts when i put $search = John … ![]() | |
Hello, I am looking for some advice on how to do something within PHP, i know it is possible and have seen examples before, however I am not sure how to implement this myself. What i am looking at doing is including PHP pages within a main PHP page. for … | |
I have a script which takes the variable from a form and puts it into a mysql table. There is an entry, but inside the field it is blank. I have attached screenshots. This is my code [CODE] // prepare form values for insert $URL = mysql_real_escape_string($_POST['url']); // Make mysql … | |
Hi, I i have wamp server 2.0a and i want to publish my web on the WWW. Ho to do it? | |
Hello, I'm looking for a script that has a link directory and also you are able to have featured listings. I want the link directory to be a link exchange where I will get a link back. Anyone have any script suggestions for this? | |
Hello, I am trying to do nifty things with the flickr api, but this code does not work on my web host. Something about the url_fopen (?) turned off for security. I'm told that I can use "Curl" to work around that. Will you offer some help, if even a … | |
I have a table containing various information describing room requirements for an architectural project with about 500 different rooms. Each record in the table represents a single room and its attributes. There are about 200 attributes in all, but each room uses only a small subset of those attributes. To … | |
Hello one and all. In simple terms Im quite an amateurs, but learning fast. I have just finished making a web email form, and have found a problem. I need PHP, so I looked at what I made and using the help of a mate (who is quite skilled) we … | |
Is SESSION info maintained when a user is diverted to paypal? | |
I've just been reading a solved thread with this same title. The solution was nl2br. I was unaware of this function and have been using str_replace instead. A problem arises however, when converting preformatted text, specifically a table. Either solution leaves a mass of space between text and a table … | |
Hello recently some of you gave me help with my php form. Well I have altered it slightly using a book and it has shown me how to incorporate the php into itself. So the form should work without an external php page Could someone tell me if this is … | |
I want to pull a list or URL's from a database. They must go one by one, so should i make the table have one field called 'link', then whenever I call the top value, it performs the action, then deletes it, moving on to next url? Should i also … | |
Hi I need help. I know what I want to accomplish, but I do not know how to do it. The events are recurring every month, but not recurring at the same time or on the same day of the week. WHAT I NEED HELP ACCOMPLISHING: How to do I … | |
Hi, I would like to know a resource or simple solution for this, I have a mySQL database with lots of links. I need said solution to visit each link and download the HTML file for it. Like an indexer which is told where to index. | |
I own a website and I would like to start a forum on it. So am thinking to use phpbb for it, but I don't have any knowledge of PHP. Is PHP knowledge neccessary to use phpbb? | |
Hi I need help. I know what I want to accomplish, but I do not know how to do it. WHAT I NEED HELP ACCOMPLISHING: How to do I insert data into a table for a date range of two or more months, where every second or third week should … | |
Hi folks. I wonder if some of you has worked with xls class for manipulating spreadsheets with PHP. The thing is that I have to get some values from 5 or 6 files and put them in HTML tables. Thanks in advance. ![]() | |
hi members, In our project we are designing a advance search field using drop down list. using this we can enter a multiple search option for a single search.If we want to remove certain options afetr entered that for search how can we write PHP script for that.can somebidy give … | |
Hello, my site sees a lot of visits to the first page after the "cover", but very few beyond that page. I want to randomize the first inward link, and keep track, so if the reader decides to click "next", it won't load the same page. How do I do … | |
Hi I need advice on whats wrong with the following code statement? $purl = ($resultat->product_thumb_image); echo "<img src='test/image/products/".$purl.".jpg'/>"; $purl is a dynamic variable that should return the ID of the image. i.e. 12DE somehow the echo fails and it does not display the image. Any advice? Tks | |
hi all, i have one default module and one more module module_1 ,i have one parameter extra in url for langauge like site.com/module/languageparameter/controller/action i defiend it in index.php(bootstarp file) like this $router = new Zend_Controller_Router_Rewrite(); $router->addRoute('new_route', new Zend_Controller_Router_Route( ':module/:lang/:controller/:action/*', array('module' => 'default', 'lang' => '', 'controller' => 'index', 'action' => … | |
Hi, I never enter a PHP or html or any other language for web design . I want to use C/C++ with web designs or what ever,so what i need to download for making a webs.? I want that software be free if it possible. | |
I have done a little PHP and end up using Model 1 architecture combining Model, View and Prensentation where it ends up looking like "spaghetti" scripting. For PHP, how would I use the equivalent of Java's MVC (Model 2 Architecture)? Is there a name for it in PHP and does … | |
Hi Everyone, I just want to know that can I implement a Facebook api on my server? It means all the facebook feature should be display in my server. Please anyone have any knowledge about this featured had provided by facebook then please guide me. Thanks Dheeraj | |
Was wondering if anyone can help me ive just started a web site that comes with a forum or message board is there anyway i can put parts of the message board on the front page, so it shows like the last 20 posts Thanks | |
Below if part of my login script. I am trying to get it to redirect if the users account status is 'not verified' or 'suspended' (not verified is the field 'verified' = 0 and suspended is 'verified' = 2) I'm sure it could be coded a little more eloquently, but … | |
Hi Im new to this so bear with me... If I have a backend, that allows people to add content to their site, is there a way to allow them to 'paragraph' their text, put in line breaks etc without knowing HTML code? They would be using a form which … | |
Hello guys, I want to learn php, writing all these data instead, to the textfile called employees.txt in the notepad of course. I heard its posible. Supposing you have a data already in a textfile.txt that contain MY CLIENTS DATA in employees.txt ID FIRSTNAME LASTNAME AGE 1 IAN UY 27 … | |
Greetings everyone, Im here because im going to start a project. Iam going to start a homepage where users can register and download torrents. And also there you can see youre ratio, upload, download, and where you can get uploader. I need help to do this so i can pay … | |
<?php require("header.inc.php"); /*session_start(); if(($useradmin)=='') { header( "Location: error.php" ); } */?> <html> <head> <link rel="icon" href="favicon.ico" type="image/x-icon"> <link rel="shortcut icon" href="favicon.ico" type="image/x-icon"> <link rel="stylesheet" href="colors.css"> <title>Admin Area : Users</TITLE> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <SCRIPT language=javaScript type="text/javascript"> function D(url) { window.open(url,"data","width=550,height=600,scrollbars=no,resizable=no"); } </SCRIPT> </head> <body> <? //This variable is for date … |
The End.