39,402 Topics
![]() | |
Hello everybody, I'm trying to write a php script to read rss feeds. Since I began, I found it is much harder than I expected, because the xml structures are very different, and they need to be interpreted differently everytime. I'm using [CODE]simplexml_load_file()[/CODE] to read the xml code easily and … | |
Hello, Below is a form redirect page. When the form is filled out the following will be seen on the redirect page. What I would like to do is hide the echos that aren't filled out. <span class="content"><strong>Name:</strong></span> <span class="contentred"><?php echo $fullname; ?></span><br> <span class="content"><strong>Company:</strong></span> <span class="contentred"><?php echo $company; ?></span><br> … | |
i need to add an option from list1 to list2 when the user clicks on ADD to List button but sth is wrong with my code it's not working function AddItem() { var opt = document.getElementById("List1").selectedIndex; document.getElementById("List2").options.add(opt); } can anyone tell me whats wrong ??!!!!!! | |
is it possible to make the user choose his favourite color from a Box like the Paint Program which contains all the colors | |
I am putting together an inventory system which keeps count of the stock level. I have the inventory database setup for example: [B]Product[/B] [B] Stock_level[/B] Battery1 25 Whenever "Battery 1" is bought, it adds a row to the "orders_products" table. Is there a way where i can have an update … | |
:) [B]hello friends[/B], [COLOR="Red"]plz help me regarding text editor[/COLOR]. text editor using javascript and edited text should inserted to mysql database using php. is it be possible to do. iam using many text area field in one form so how can i edit text in like text bold, edit font … | |
hai i am sathiya one question if we paste the resume in the corresponding box. after the click the ok button . some important data like(name.email,phone number ,address......etc) the resume is to be transfer into the corresponding field in the form....... please give suggestion.......... if its able to done through … | |
hai i am sathiya one question if we paste the resume in the corresponding box. after the click the ok button . some important data from the resume is to be transfer into the field in the form....... please give suggestion.......... if its able to done through PHP............... | |
Hi and I am having 2 technical difficulties with a web search engine I have created. One is that the search bot comes to a url and never stops loading. Below is the current script I use to validate a url and to capture the information but my question is: … | |
Hai , i am sathiya i want to transfer the details in the resume into form by php........ i is able to do it........ if means give some tips ........... with regards sathiya | |
I'm going to be creating two fairly large application and have been researching some PHP Frameworks to make it manageable for me and a small team. I've been checking out the Zend engine and think it's pretty good, and was wondering if anyone uses it, or if there are any … | |
I have a page where people in a site selects search items.its a dating site. so there is this first drop down menu for gender which u select three options:thus looking for (all,Men,female) and another drop menu you select country which has two options:thus Country(all,.name of all the countries). Men … | |
Hello, all: have this general question on how to handle member's email in a site... what is the right way to setup an email-system structure, say like in dating site, where members can email between each other, and if a member receives a new email it will "show" new email, … | |
Hi Does anybody know if there is away for php to open a port i.e. com1 which is connected to the modem and pole for a incoming call? idealy I would like php to display CID (caller ID) from incoming call, then insert it into a mysql database. or pop … | |
Hi there, was wondering if somebody could help me. I currently have a project to create a php/mysql system for a local pizza company, a touch screen system. Cut a long story short, I need to be able to print multiple lines from a txt file. I have got the … | |
Hello all again... I have a problem with this "mini-CMS" I am buidling as I'm trying to learn this PHP thing... Everything seems to be working OK, EXCEPT when I try to UPDATE the images from a specific record, it only updates one of the images, and it always looks … | |
It's just a testing script and a testing database but I can't get it to work. It's using an edit-in-place script that allows users to edit their data, then it calls this save php script which is supposed to save it and update it within the database. It does neither. … | |
I want to make an app system like Facebook. I just need to know how to include remote files. Like, for example: [code=php] <?php require "top.php"; require "side-left.php"; //Start include (sanitize with ob_start();) require "http://blah.com/bla1/bla2.php"; //End include require "footer.php"; ?> [/code] I'd like to figure out how to get a … | |
I am looking at crreating a file sharing site with a latest activity feed on the homepage.i've being searchin to get free php file sharing scripts but to no avail,could anybopdy help? | |
i hav got a project of web development using php.. i need to hav an idea for a good website.. ( a dynamic one) | |
[CODE] $fp = "http://".$site."/stor10392/".$filename; $complete = file_get_contents($fp); header("Expires: 0"); header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); header("Content-type: ".$mimetype); header("Pragma: public"); header("Content-Disposition: attachment; filename=\"".$filename."\""); echo $complete;[/CODE] this is code from my download script this making save box from browser taking too long to appear .. (30-40sec on 50mb file) anyone know how to make … | |
[B][U]Question:[/U][/B] [COLOR="Red"]How to pull info from MySQL to populate title tag?[/COLOR] [U][B]Current code:[/B][/U] Include/common.inc.php <title><? echo PAGE_TITLE; ?></title> ________________________________________ Individual pages <? include("include/common.inc.php"); define ("PAGE_TITLE", "Blablablablablabla"); ETC ECT ETC ETC ... ________________________________________ I want to customize further the PAGE_TITLE in the file details.php ([url]www.mysite.com/details.php?listid=[/url]... ) to reflect information taken from … | |
I am trying to query a table where at least three conditions have to be met and then the outcome stored in an array and printed into a table. I tried with the code, but I am having problems setting the conditional query and would be happy with an assistance … | |
hello everyone! i'm trying to display a text from my database, that part is already fine but when the value of the text has a - or ' (maybe there's more) in it, instead of displaying the actual - or ' it displays other special char like smileys and stuff. … | |
Hi, I'm trying to list facilities available for a particular hotel horizontally, separated by a comma, within the <td> element of a table. The facilities are type ENUM and have a value of '1' if available and '0' if not. NonSmoking, AirCon and Restaurant are field names in the table … | |
Hi mates, We are asked to create a huge portal system with lots of sub categories. Think about Yahoo! This postal will get lots of users and in the same there will be many database process. In short, lets think we want to build something like Yahoo! Now I'm in … | |
hi i am try something like upload pictures in daniweb.where a window pop out ...when the user clicks upload.i want the link to comein the parent window.please tell me how to do tat...... thanks in advance | |
Please help checking the following code. It may look too mess. It's from other programmer. I try to fix it but I start to get headache now. It's make our product's page showing 3 hidden links of its own products' link on Google. For example: The page of [url]http://www.mywebsite.com/product-name-1.html[/url], currently … | |
I have a variable/flag in a PHP file and depending upon the value of this flag i need to execute a set of code in another .js file. Can you tell me how to access the variable in .php file inside a .js file? Please find attached the sample js … | |
hai i am sathiya, i had confussion about this program................... please give suitable solution for this program............ a. Write a php function to accept server, database name, Username Password and create a Database connection string of the "server=myserver;dbname=mydbname;username=myuser;passwd=mypasswd" b. Write a function to convert the connection string into a dictionary … | |
Hello everyone, I am currently doing a project in html and php but i am having trouble in making a tab control in html. I know that this question is more on html, but i hope you can still help me with this one. HOW TO MAKE A TAB CONTROL … | |
I'm hitting the wall on trying to pull images from another server. We have two servers. Server A contains the php files/website. Server B contains the MySQL database & image files. I've successfully pulled the data from the DB on Server B to A; however I keep getting a File … | |
Hello every body. I need to make a site in 6 languages with php. Languages are like english, hindi, polish, romanian etc. I want to ask what is the best solution to make a site in different languages. The site i need to make is CMS and a forum. Please … | |
[COLOR="Red"]Hi everyone[/COLOR][B].Manuz [/B]here..am a php web developer working for about 1.5 yrz .All php teamz r welcome ....u can post any new openings for php in ur company also... :) | |
I have a sort of complex query to write and I don't know where to start. Basically, there are list and detail pages of candidate answers on a site. There are readers assigned to certain candidates. Is there a way to display a list page showing [U]only[/U] the candidates assigned … | |
Hi everybody, there's a question I would ask about php functions. I would like to know if it is possible to have optional variable in functions. Let's say, for instance, that I have: [CODE]function my_fun($a,$b,$c){ various stuff }[/CODE] In some cases I would recall the function, inputting values for "a","b" … | |
Hello to all i have two directories at my webserver 1st = old-pictures 2nd = new-pictures i want to move every file individually to the 2nd directory with the help of php, can anyone help me in this problem thanks shanee | |
I am creating a website to load images by registered members. I created a database for registration details and thats working fine (still few errors). But now my issue is to upload images into database. i tried different ways still i am unable even to load data into database. Anyone … | |
Recently, a primary key in my database got messed up somehow. I ran a script to reorder the users, but now every user has the wrong private messages. [CODE] -- -- Table structure for table `fusion_messages` -- CREATE TABLE `fusion_messages` ( `message_id` mediumint(8) unsigned NOT NULL auto_increment, `message_to` mediumint(8) unsigned … | |
Hello all, I feel a little dumb asking this... I'm trying to pass information from one page to another. I have this: [code] <a href="http://www.mysite.com?color=red&shape=round">Apple</a> [/code] Now that I do that, on the next page, what kind of code do I use to gather the color and shape information? Thanks! … | |
Code: [CODE]<?php define( "DATABASE_SERVER", "blah" ); define( "DATABASE_USERNAME", "blah" ); define( "DATABASE_PASSWORD", "blah" ); define( "DATABASE_NAME", "blah" ); //connect to the database $mysql = mysql_connect(DATABASE_SERVER, DATABASE_USERNAME, DATABASE_PASSWORD) or die(mysql_error()); mysql_select_db( DATABASE_NAME ); $sql = 'SELECT * FROM `users`'; $result = mysql_query($sql) or die ('Error: '.mysql_error ()); while($row = mysql_fetch_array($result)) { … | |
Hi, I'm new to php so I'll probably be posting a few queries along the way. The problem I'm having is I'm trying to print out an address in an HTML table with information taken from a database. The fields are Address1, Address2, Address3, Address4 and Postcode. Everything prints correctly … | |
I'm trying to implement TableKit with my table. It works fine, except I'm struggling to update it dynamically. When I edit a table, it changes, but when I reload the browser it reverts back to the original data. The updated code goes to this php code: [CODE]<?php header('Content-Type: text/plain; charset=UTF-8'); … | |
Hi frnds... i dont know anything about OSCOMMERCE.. now i have interested to learn OSCOMMERCE..because of many companies asking about exp in oscommerce... i have been installed successfully in my system... but i didnt get any idea.. what is the usage & procedure to learning from basics.. plz provde some … | |
Hi All: I'm connecting to a db to populate a table. My code loops through the db without errors. The problem is in Firefox, my rows of data display as individual tables. Everything works perfect in IE. Any ideas what I'm missing? The table population code basically looks like this: … | |
Gud day everyone!!! I hope you could help me with this one, I have a select form that looks like this, <select> <option>AAA</option> <option>BBB</option> <option>CCC</option> <option>DDD</option> <option>EEE</option> </select> my question is, how to transfer to a new page if the select is change coz the page i am working right … | |
Hi , i need help with me Joomla site , i need to make the file permission of the images folder set to 777 only during uploading and afterwards make it set to 755 i need to make also a timer that times out after a period i specify and … | |
Hi everyone and thanks for reading. I started a project a while ago and am stuck on how to proceed processing this form. It's a very simple form but I'm still at a mental roadblock regarding how to proceed from this point. The idea is that the form is a … | |
Hi, I have a site, from where any visitor can download file of their interest (all files are office documents files). Currently it is pure HTML file with no server side script. What i want to do now is, i want to charge $1 for every download via paypal. I … | |
Hi. :-) I'm relatively new to PHP/CSS although I'm figuring it out by trial and error. Uh, mostly error... The problem is that there is a big gap between my CATEGORIES and SUBCATEGORIES on the front page of my directory. I'm guessing the culprit is this line: [CODE]<p class="subcats">[/CODE] which … |
The End.