39,402 Topics
![]() | |
Greetings, I am triying to diplay morethan one column from mysql database by limiting the display into three rows. I want all the row data to be shown as column data. I want the data in the fourth, fith and sixth row to be diplayed in the next columns, and … | |
I have no experience with PHP, although some with C. I want to make a site that allows a certain type of company to register on my site so their customers can order online, through my site. I want the company to be able to choose what their form questions … | |
I have a drop down menu the is populated with event names from a DB. What I'd like to do is have the form submit after click on one of the event names in the drop down list. At the moment I have a submit button for this. I don't … ![]() | |
Hi all here i want to develop websites content reading code like title of any website or meta and other tags, i want to give URL to this code at run time and it will detect its meta, title or other information and return to me in variables how to … | |
I have a web based program that I am trying to create, in which I will have a user create a profile, which optionally includes a homepage URL and/or blog URL. Since not every user will have a blog or a homepage to enter, I have moved that information to … | |
Im trying to figure out a way to access a row I 'just created' via the primary key. As it being a primary key it is auto incremented. I am using php/mysql to create the row then I require to access that same row (via the primary key) to be … | |
Im trying to figure out a way to access a row I 'just created' via the primary key. As it being a primary key it is auto incremented. I am using php/mysql to create the row then I require to access that same row (via the primary key) to be … | |
I have been trying to restrict the uploading of images based on size and format. At the moment I have the size working but not the format. Ive tried different code but im favouring something like this: [code] if($_FILES['file_image']['type'] == "image/pjpeg") { CORRECT FORMAT else { INCORRECT FORMAT } [/code] … | |
Hey guys! I hope I'm not violating the "No Advertisement Policy" by posting this, but I thought (am hoping) that some people might be interested so I posted anyways. My name is Jim, and I am currently in the process of creating an e-commerce website using PHP and MySQL. Although … | |
Can anyone help me with this code? I have been trying to output the url as a link but I cannot manage to do so. The url comes out fine in text form but when I try to output the url as a link I either get an error message … | |
hi i want to create the database retrieved datas as hyperlink using php.i have sent the code.please tell me how to edit the below code <html> <head> </head> <body> <form> <table> <tr> <td><font color="red">View All Posting</font> </td> </tr> <tr> <td><a href="care.php">Create New Users</a></td> </tr> <?php $hostname = "localhost"; $username = … | |
Hello everybody, I've written a program which contains AJAX... The program is a messenger... The code was: [CODE]var http = createRequestObject(); function createRequestObject(){ var request_; var browser = navigator.appName; if(browser == "Microsoft Internet Explorer"){ request_ = new ActiveXObject("Microsoft.XMLHTTP"); } else{ request_ = new XMLHttpRequest(); } return request_; } function getInfo(){ … | |
[code] echo "<input value='$variable' type='submit' id=submit' name='submit'>"; [/code] That variable is an array which keeps repeating and changing numbers. (e.g. 1-20). Now using a switch statement to access the input submit button when pressed: [code] switch($_POST[submit]) { case '': break; } [/code] I cant figure out what code to construct … | |
We now have a preview with some screenshots and other information about phpLD version 3.3 that will be released in Beta in the next few days. [B][URL="http://www.phplinkdirectory.com/articlescript/phpLD_3_3_Preview.php"]phpLD 3.3 Preview[/URL][/B] Feel free to leave your feedback, and get ready for the next version! :) | |
Hi all... I've been reading this site for a while and now I have a question for you experts. I have a php page named edit.php. Code here: [code] <? // Connect database. include("connectdb.php"); // ***** This part will process when you Click on "Submit" button ***** // Check, if … | |
Hi I made a new page from bozUNtu theme, gonna use phpbb forum with this theme. Using this tutorial [url=http://www.phpbb.com/kb/article/add-a-new-custom-page-to-phpbb/]http://www.phpbb.com/kb/article/add-a-new-...-page-to-phpbb/[/url] The test forum is located here [url=http://www.almennt.com/wp/phpBB]http://www.almennt.com/wp/phpBB[/url] And the new page is located here [url=http://www.almennt.com/wp/phpBB/aboutus.php]http://www.almennt.com/wp/phpBB/aboutus.php[/url] what i am trying to do, is adding in news script "Cutenews" with that theme … | |
Grate Thanks, i have been designing website in html for some time now. i want to make my sites more powerful by using php or asp,but i can link up the pages for them to work like i do in html. i really need help,pls help. | |
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 & changing files … | |
i want to view image as tooltip of small image on mouseover on that so what is the code for that?using javascript how it can be done? | |
1. CLICK ON “START MENU” 2. GO TO “CONTROL-PANEL” 3. CLICK ON “ADMINISTRATIVE TOOLS” ICON 4. GO TO “COMPUTER MANAGEMENT” 5. PLACE YOUR MOUSE ON THE ‘SERVICES AND APPLICATIONS’ 6. CLICK ON THE “+” ICON TO REVEAL YOUR ‘IIS SERVICES’ 7. CLICK ON THE “+” ICON TO REVEAL ‘WEBSITES’ 8. … | |
Hi Working on a photographers CMS, the idea is that they'll resize their images using a batch processing app, separate from the website, then I'd like them to be able to add a new section and select the entire directory (of resized images) for upload, not just individual files... If … | |
Hi All, I want to change the f5 property to html tag(i.e., <input type='file'>) for I.E.7.0 version and above. but its not working. Here the code is working in only in <input type='text'> but not working to <input type='file'> <html> <head> <script> document.onkeydown = function(){ if(window.event && window.event.keyCode == 116) … | |
I am a new student to php and I am working on my first project. I have created an html form, a php output form and a php confirm form. I am having trouble linking them together, when I fill in the information on my form it does not show … | |
Hello everyone, I am trying to add an auto generated map in property website. [url]http://www.whatahome.co.uk[/url] When some one click on details of any house , it should show the page with google map using the postcode of their house, as in other website is implemented. Is this achieveble easily. Anyone … | |
Hi, I'm working on web based project whereby I'm using Html and Php. I want to know how to create forums on a website that I have built. | |
Hello everybody, Yesterday I finished testing a new CMS I developed for a while, and now I'd like to ask for your help. Could you please help test this system under different PHP version/settings? The system works on a flat file database class I wrote, so no database setup or … | |
Hi, I need to create and implement a doubly linked list using PHP. Does anyone know of a good tutorial or resource for getting started? I understand the basic premise of a linked list, but really need some specific pointers on how to do so in PHP. ANY help would … | |
| |
![]() | I have a bunch of checkboxes on one page, that look like this [code]<input type="checkbox" value="classic" name=subgenre[]></input>[/code] And when all the data is collected and inserted into a databse, it looks like this [code]$subgenre=$_POST[subgenre];[/code] This is supposed to collect every box that is checked and store it in a database … |
I have a string like this. $function = " array_splice($arr . $arrayimploded, end($index), 1, $data); "; $arr is an array $arr = array(0 => array(0 => "s", 1 => "es"), 1 => array(0 => "ing"), 2 => array(0 => "d", 1 => "ed") ); The $arrayimploded is "[0]" The end($index) … | |
I've been requested to write a PHP-driven database report by my boss. The reports will be located on our servers, where PHP is installed. However, the DBs that I'm supposed to read from are going to be located on the client machines. The servers are running SuSE 9.3 with Apache … | |
Hi everyone! I'm working on a project whereby the system is rule-based. I have to write the rules in either Common Lisp but the problem is that i'm using PHP for designing the interface and I'm not able to link these two languages. Could anyone plz help me?????? | |
I hawe a microsoft publisher 07 how can i add my host or dns?? | |
hi i have a login page which is allowing only registered user .it is working too...... but when the second page URL is typed it is getting displayed i want the all the user to enter through the first page.......when the second page URL is typed it should not get … | |
Hi , I need to access a MS-Word document using php... Plz suggest me how to do it.... Thanks in advance!!!! | |
I have an input submit button that once clicked activates php. Now the problem I have is that I have the neccessary code (or what i think is) to stop from the input button working (as I have used the same technique on the other input submit buttons). To get … | |
I hv downloaded html to pdf convertor but i am not able to use css in pdf file. can anyone hrlp me. | |
Hi there, Bit of a complicated query, for me anyway. lol Following code: [code]$url = 'http://www.cheapsmells.com/viewProduct.php?id=6590'; $html = file_get_contents($url); preg_match('/<div class='productOurPrice'?>(.+?)(\d+\.\d+)(.+?)?<\/div>/', $html, $match); $out = $match[2];[/code] Great, no problem! However, this next url I need to code to is a bit trickier as the tag data is, well see below... … | |
How should I implement "interactive refresh" (I don't even know how I should call it) where one visitor's action (klicking a link, submit button etc. - everything will do) activates page refreshing of other visitors on the same page? I know how to implement an automatic, periodic refresh but I … | |
Hi there...I'm pretty new at the PHP game, I've basically taught myself everything from looking at examples scripts and Google, and I've only been tinkering with scripts for about a week. Therefore, I'm confused about the error I'm getting when I try and run this part of the script. Basically, … | |
hi all, when i refresh the parent window then the child winodw should be closed using javascript and html. Thanks& Regards, swap. | |
Dear friends, I have trouble with printing page with landscape. I am using java script to print the page. as well as I have set css file to print landscape but it is not working. I have used these line in css files, <style type="text/css"> <!-- @page { size: landscape; … | |
I installed Wampserver on my machine and everything else seems to be working well except that scripts on html pages are not being executed by the server. I previously had Apache 2.0.59 and still experienced the same problem. E.g on the code below: [code] <html> <body><?php echo "Hello World"; ?> … | |
I have about 100 sub web sites under my domain, example: domain.com/England, domain.com/Denver and I adding more, I need my main web site to recognize where the customer came from (which sub domain) and send the form information via email to that office. Let's say someone goes to my England … | |
![]() | How would I make it so when I select something from a mysql database, that information isn't stored in the array twice? Here is my code [code]<?php include "header.html"; include "db.php"; if($_GET[by]==genre) { $sort = mysql_query("SELECT genre FROM bands ORDER BY genre"); while($sort2 = mysql_fetch_array($sort)) { $sql=mysql_query("SELECT * FROM bands … |
[B]Hello Guys Can anybody here answer my this question. How we can show Latest Categories from this Sql table. Here is the Table [code] -- -- Table structure for table `jos_afm_cats` -- CREATE TABLE `jos_afm_cats` ( `cat_id` int(11) NOT NULL auto_increment, `parent_id` text NOT NULL, `file_id` int(11) NOT NULL default … | |
Hello I found some great php code on this site yet I have a question. regarding the php script below: <?php $to = "orders@babyresume.com"; $subject = "Contact Us"; $email = $_REQUEST['email'] ; $message = $_REQUEST['message'] ; $headers = "From: $email"; $sent = mail($to, $subject, $message, $headers) ; if($sent) {print "Your … | |
Good Morning, I am thinking of letting users upload files to my website. I already have a php script to allow this which will be the back-end of a flash GUI. I have made the .swf which would allow the browser to find files with only the specified file-types for … | |
Any one know what i have to studying the zend php 5 test? i have the study guide book for the zend php 5 certification, but i read it all and think it is not that useful. Is there any where have the practice test or tell me what i … |
The End.