39,402 Topics
![]() | |
HI, I have embedded youtube code in my site for youtube videos. I am using the url to display youtube video. The problem is that the video is not displayed after I gave the Youtube URL, but i see the blank screen instead of video. anybody has any idea what … | |
Hi, i am trying to use the pagination concept in Cakephp for my application .. [CODE]$allreports=$this->paginate('Report',array('Report.user_id'=>$userId));[/CODE] i am trying to have a group condition in the above query like 'group'=>array("Report.report_id") .. i m not awarre of giving that in this paginate.. where in [CODE] var $paginate = array( 'limit' => … | |
I have a word file containing questions and those questions also contains images. I want to save all those question images in a separate folder in a sequential order even also same images and replace them one by one with a text in sequential order. So please tell me how … | |
Hi guys, i was wondering if anyone could help me out here. I'm trying to display an alphabet. to do this i am using this code [CODE] for ($i=65; $i<=90; $i++){ echo '<a href="test.php?f='.chr($i).'">'.chr($i).'</a>'; } [/CODE] This works as it should. Displays the alphbet each with a link. What I … | |
How do you acces a folder beneath the current folder? The upload script is at: htdocs/mysite/management/upload.php and i want the files to be uploaded at: htdocs/mysite/images/ What should the directory be? | |
.error Info: To add this product into your cart you have to select a product variant on the details page. above is an error im receiving when i add a custom attribute text box to my product could you please assist me with a solution for it. Not sure cause … | |
Greetings, Would some experts show me php code to play a .wav file? Thank you very much in advance. phpnovice | |
So I have a simple login + set cookie script. After checking to see if the supplied credentials are in the db, the script sets a cookie. After this, the script forwards the user to a password protected page. I know the login + cookie placing script works fine. When … | |
Hi, Please help me out.How to add images in the PDF file using php? I tried this coding : [code=php]<?php $pdf = PDF_new(); PDF_open_file($pdf,''); PDF_begin_page($pdf,595,842); $image = PDF_load_image($pdf,"png","myimage.png",""); PDF_place_image($pdf,$image,64,26,.24); ?>[/code] But i am facing an error while running this code: [B] Fatal error: Uncaught exception 'PDFlibException' with message 'Handle parameter … | |
Hi All, I am processing a form that includes address info. If the user fills out the form and (address2) has an apartment number that they enter like: #1522 I have trouble later where I might contruct a link such as: [code] header("location: contact.php?address1=$address1&address2=$address2&city=$city&state=$state"); [/code] The link creates fine, but … ![]() | |
Hi there, I am looking for a suggestion, and wondered if somebody may be able to help. I have a client, who requests that within his form there is a unique six digit generated number, I am looking for a piece of software or a Dreamweaver extension that may be … ![]() | |
Hello. I'm using AJAX for all the updates to the web site I'm building and it works very well. But now I face the need to: 1) Upload a file (an image or video) to a folder in the server. 2) Insert a row in MySQL with the name of … | |
i want to upload and crop five images at a time in php. i wrote code 5times for upload,and 5 times for croping. so...there is any possible to using an arrays and using anyway i want to short my code....plz help me.. ![]() | |
Hi folks, I want to open a pdf stored in the database in a new window using php server side script. Actually I want store the file name in data table, which user clicks. So i need a server side script open the things in new window along with the … | |
i want to relate my tables, but i can't find out how to relate the tables. how? | |
I have a simple javascript function that shoud insert a value in the cell when the value in the dropdown list changes. Dnt knw the reason why its not working. [CODE] <script type="text/javascript"> function displaytaskid() { var id=document.getElementById(dropdown).value; document.getElementById(task_id1).value=id; } </script> <td id ="task_id1"></td> <td name = "task_id[]" id="dropdown" onchange="displaytaskid()" … | |
Need help could anyone know how to make an image in a form act as a submit button? Would anyone know where I can get information on how to fill a drop down box with data in a mysql database? Please help please please :-/ | |
Besides the obvious, like security issues, character limits in older browsers, etc. Is there any real difference between $_POST and $_GET besides the method in which data is passed? I have a script that works perfectly with $_POST but completely falls apart when I try to use $_GET. I rarely … | |
Hi, I have uploaded a web site on the server then I hav tested it on the browser but it is taking a lot of time to load its contents. I dont have anything heavy in the site, does anybody know any solution to overcome this problem?? Please reply. Take … | |
Hi, I need to make a search page for book using PHP and MySQL. I've already have the script that I've got from one site. It run very well. I can type what I need to search then click which category to be search using textbox such as Title or … | |
Hi everyone, i m doing an inhome project on community development... For that i need a form such that we can send a mail to anyone without authentication,, For Ex. a user of gmail can send a update to user of yahoo or gmail. Please help me | |
Hello all, I need a Free Yahoo, Gmail, Hotmail, MSN and AOL address book import script using PHP , as i need it to a social network site. Any help will be highly appreciated. Thanks in advance. | |
This is my code..!!! i use ob_start() but still i m getting header error Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\flower\upload1.php:1) in C:\xampp\htdocs\flower\upload1.php on line 30 can anyone tell me where m i wrong.?? why this is error is related to header only..!!! … | |
Hello everyone! I am developing a php web application and I was searching on how to deploy it. I heard about nusphere..But it is a trial version..Can anyone give me some suggestions or tutorials on how to deploy a php application? Thanks, Chupi :) | |
I have entry dates of my records in format yyyy-mm-dd. I have 2 drop down menus, one for Year, and one for Month to select. I have no idea how to return results without using the complete date. If I use a text box and enter the exact date (Y,m,d) … | |
[CODE]echo "<param name='FlashVars' value='mp3=Slipknot-Duality.mp3&bgcolor1=$rgb\&showinfo=1&autoplay=0&showstop=1&showvolume=1'>";[/CODE] I am having a problem getting my bgcolor1=$rgb to be evaluated I know that $rgb has a value in it because i am using print_r($GET) and it is evaluated as the correct value how do i get the variable to pass as a paramater in the … | |
I just switched webhosting companies and I'm having a major problem now, I keep getting errors that I wasn't getting before. Mainly, these right here: [code] Notice: Undefined index: username in D:\hshome\c274056\test.yourroommatefinder.com\register\signup.php on line 12 [/code] Here's line 12: [code] $username = mysqli_real_escape_string($dbc, trim($_POST['username'])); [/code] Tried this too: [code] $username … | |
Hi, I am using the explode function to bring some txt boxes from a database based on sizes. All is good but I need to only show the text boxes if there are sizes available for that particular garment. So the user can't enter any quantity into the text box. … | |
hello friends.. [code=php] <?while($row=(mysql_fetch_array(result)) {?> <tr> <td><?echo $row['photo']?></td> <td><?echo $row['info']?></td> </tr> <?}?>[/code] above code i use for fetching data.. one result in one row at a time..!!! now i m try to show two result in one row..!!! in other words.. two different data in one row..!!! how can i … | |
I need to convert this into PHP. I heard of ASP to PHP convert programs but they don't work they just append $ to a couple of places thats all. Since my other posts have remained unanswered I don't really expect replies from here either, but I a desperate. Could … ![]() | |
Hello everyone - first time poster here, long time reader. I have a minor issue that appear to simple to fix - but I've just hit a road block. I would like to create a three way inner join to display all the information I need in one SQL statement. … | |
Hello all, I have an issue regarding using variables from my global.php in a hiarachy of documents. I will explain how this works. I have my index.php in the root of my server, I then include the global.php file and from then on I include a handle.php file for the … | |
how to retain the values of radio buttons back from databese? for example, if user provided with 3 options (red, blue & green) if a user selected green(the value is stored in database) then next time he/she returning to the same page, previously selected option green radio button need to … | |
I want to insert multiple rows in a database table, from an submit form. But not able to trouble shoot the problem in my code. Following is the code which is not inserting any row in the database. [CODE]<form action=test_insert.php method="post"> <table> <?php for($i=0; $i<10; $i++) { ?> <tr> <td><input … | |
Hai, I had developed a web site. In that website I need to add a facility to check for the domain name availability. I am a PHP programmer. I need to check for .com, .net, .info, .co.in only. Please help me how to do this. Thanks Rajeesh | |
I have worked in PHP for 1year and a half,Now i want to develop website using the CMS,and some people suggested it would be better to start with Joomla...i have installed it in my comp,but i reall dont know how to get started. So if there is anyone who knows … | |
Please explain me and when we [ICODE]echo $form;[/ICODE] then it shows. please explain this. [CODE]$form=<<<POST <form method="post" action=""> </form> POST;[/CODE] Thanks in Advance... | |
i have tree select boxes. i fill those with data coming from a database (mysql) i want to change the data of the last two selects regarding the selection of the first. here is my code. it doesnt work (i used a little bit of javascript) in head [code=JavaScript]<SCRIPT language=JavaScript> … | |
I have written a dehasher and the first 446000 rows in the mysql database have turned out ok but now my script isn't placing the entries into the database in order and is taking like a minute per entry to do it. Does anybody know what is wrong with the … | |
is there a way to make .html files process php tags? | |
I have a form with check boxes, but if some of the check boxes I are not checked I get undefined index is there a why around this please help. I am using $_POST. :-/ | |
Hello master... I want to build a web crawler that can detect all files which extension is : .pdf .ppt .xls .doc First, insert the domain of a website to search files, than the result will be like this : domain : [url]www.examle.com[/url] Files : 1. xxx.doc 2. xxx2.doc 3. … | |
Hi all, I have a two-part form intended to replicate the output from a toolbar, with the aim of sending data to a database. So the data is generated by the following code (sim1.php): [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" /> … | |
I've been working with a script that allows users to look up other users in their area based on their zip code. I attempted the script myself but the whole lat/long thing was a bit much for me to understand, so I settled for one that I found on the … ![]() | |
Hi All, I have been learning making CMS and you guys have been helpful. I can now post, and view the posts. I need to edit/delete articles. I have read somewhere that you can make a link that appends an id of the article and you can retrieve it via … | |
Hi all I would apreciate some generic help with the following problem as it's probably far too complex to document and solve on a forum but I need some more ideas on how to diagnose this problem. situation: PHP running on a Hiawatha server using an mssql 2000 database. all … | |
Hi all, I'm using the PHP code below to get results to return to an autosuggest / autocomplete. The problem is that if an earlier SQL query takes longer to return from the database than the most recent SQL query then the results of the older query will be displayed … | |
Hi, I am trying to add a small date-time box to my website. In visual C# this was so easy as you can just drag and drop the gui. In dreamweaver I have not been able to find any like. I would like to be able to pick a date-time … | |
I'm writing a utility for work using forms, then submitting the supplied information into a database with php. The work this intended for is to be performed every thirty days. I need to find a way to automatically check the database and be sure each table in this database has … |
The End.