39,402 Topics
![]() | |
Hello and bonjour everyone I need a bit of hand-holding (pseudo-code) on how to go about accomplishing this task and will appreciate it if you could find 1 or 2 minutes to guide me through. Basically, i need to extract some information from database (different columns) and display it in … | |
pagination works well, it even displays the rows i wanted, however, my problem now is that i cannot access or it does not display the next rows from my database, i think there is some problem with regards to my next/previous/last/first links,, please help me asap, tnx! [code=php] $result = … | |
Anybody can u help me with full source code and I have facing the problem to make the tree like your structure,how and where i used html code your posted code. Suppose I have to make unlimited IDs in tree then how can go the tree on another page of … | |
I've been working at this most of the day, trying to figure out how I can accomplish this sort of form, even looking through countless sites for anything vaguely close to what I'm trying to do for help on logic or syntax behind this (to little to no avail, of … | |
hello.. i'd like to confirm if the printer function "printer_open()" without parameters opens the printer connected to the user/client computer? or does it look at all network connections including the web for the presence of a printer? thanks.. | |
Hi, I am making php from.Everhting is working fine.I am receving result as below.I want to space before Tel no.Please be advice how i can do. Thank you. --------------------------------------------------- Email Result -------------------------------------------------- General Info Request Name: Khan 1665 Bloor Street Mississauga L4X3T4 Tel:647-290-0000 Email: [email]hanyon@gmail.com[/email] Best Time To Contact:11am Message … | |
I found a great client side image resize solution: [url]http://www.resize-before-upload.com/[/url] but the free version doesn't have form integration, so I copied some ajax code off the internet and integrated it into my PHP - so it just keeps checking for a specific file to be uploaded and then the PHP … | |
how can i grap gmail, hotmail, yahoo email contact from there address book with just single click.........!! | |
how can i load double page with single url ............ e.g. if i have [url]http://www.mydomain.com/?uid=2&aid=4[/url] and i have anchor tag....... i.e [CODE]<a href="#/?uid=3&aid=4">Next</a>[/CODE] So if Next is pressed the address bar url would be........... [url]http://www.mydomain.com/?uid=2&aid=4#/?uid=3&aid=4[/url] than how can i get the value of second uid i.e uid=3 without reloading page … | |
Hi one of my friend have this problem.. it will be helpful if we can give him a solution. The session is set for 10 min .. but for one particular page the session must be extended and for other pages it must be set as before.. or resetted so … | |
hi everyone, I've written some code that displays information from a database. However, I added more code that would display a "no records found" message, should the area be blank. The code displays the records perfectly, however if there are no records returned it doesn't show the "no records found" … | |
Hi, I need to create a function to shorten a numerical ID to a string of letters E.G. [code=php] echo encode_num('1'); //Outputs a echo encode_num('3'); //Outputs c echo encode_num('26'); //Outputs z echo encode_num('27'); //Outputs A echo encode_num('52'); //Outputs Z echo encode_num('53'); //Outputs aa echo encode_num('54'); //Outputs ab [/code] etc. But … | |
hi experts, Here i have a problem with innerHTML in php page. [code] <script type="text/javascript"> function GetInner(sid) { document.getElementById("sid").innerHTML='<?php $id='+sid+'?>'; } } </script> <body> <p id="sid"> </p> </body> [/code] it doesn't give any result. Please help me. | |
how can i integrate live video playing in my personal website?i mean live video streaming integration in the website. I need the help[ urgently. | |
Let's say I have an HTML form and there is a group of radio buttons. A need different script to be run depending on which button is checked. Let's say I have this: [CODE]<input type="radio" name="invtype" value="product"> <b>PRODUCT<b> <p> <input type="radio" name="invtype" value="software"> <b>SOFTWARE<b> <p> <input type="radio" name="invtype" value="service"> <b>SERVICE<b> … ![]() | |
i am having trouble displaying my database table...i am new to php and mysql (just started last week)... this is the code iam using: [CODE]<?php //connect mysql_connect("","","") or die(mysql_error()); mysql_select_db("") or die(mysql_error()); //query the db $getnews = mysql_query("SELECT * FROM shows ORDER BY id DESC") or die(mysql_error()); while ($row = … | |
Hi all: I am having a heck of a time here... and can't seem to get this to work. I want to intersect arrays that are subset within a multi-dimensional array. For example, Take the following array: [COLOR="Red"][COLOR="Green"]Array ( [0] => Array ( [0] => 2014 [1] => 2035 [2]=>1999 … | |
Hi Can anybody please tell me how to edit an xml file with the help of another php file. i am using this xml file in flash Thanks | |
HI I want when somebody comes to my site and go out from it , a certain page still execute by the server and continue to do it's work. Is it possible to execute some codes after the user close it by the server ? Thanksv | |
Hi, I read a bit about both but I need to see your opinions about this. Are cURL and xmlrpc used for same purposes, are they same thing? Thanks | |
Hi, I have a sitemap and have decided to create an automated sitemap. I just wanted to ask would the way i am going to do it be ok. I was going to create a table let say called `sitemap` have a column in the table called `url`. Basically i … | |
When you add a page in CMS (Like Wordpress' admin) what does it actually do? Add predefined table? Or what? Thanks! | |
Hi to All. 1. I want a php script that can restrict a user from adding additional image to his account on my site, I the admin should be able to set the restricting for the user. I also want to be able to activate/deactivate this function in the admin … | |
Hello all. I try to learn some Ajax, but find it some difficult. The task I'm trying to do, is to use Ajax to register a new user for my application. The problem is that the request don't seem to pass the POST-variables to the php-script on the server side, … | |
I can't access my old hosting account. I don't now my username. I now the domain and can i see PHP code on one page. | |
i have a database, a page which get the data from database, and ajax code which modify the data(here adding as a friend).. LOGIC i succesfully get the data using php and in while loop(fetch_assoc) i get the email of the person who want to add other person as a … | |
[code=php] exec('java -version', $javaver); print_r($javaver); echo "<br />"; exec('java -jar start.jar', $output); print_r($output); echo "<br />"; exec('java -jar post.jar /home/content/j/a/n/jandtesting/html/solr/example/exampledocs/solr.xml /home/content/j/a/n/jandtesting/html/solr/example/exampledocs/monitor.xml', $output2); print_r($output2); [/code] I've never attempted anything with java before. I'm trying to get started on the solr tutorial -- a java based search engine based on Lucene. I … | |
am a final yr student n am required to come up wit a project.......ive run out of ideas n if someone out there can help me with the topic that can carry me through all be very greatful.....i jas need topics that i can chose from......thnks guys...... | |
i must be able to extract the results of this query and use it as another value for "Parent" in the succeeding "THE SAME QUERY". Right here, the value of parent in WHERE clause is "1". Now, I want to create the same query but the value of the parent … | |
Hey all, i have been using php for past one month only and now im using javascripts with php too... but my javascript functions have grown out of proportion ... I want to make a SEPARATE file for JAVASCRIPT just like we do it for EXTERNAL CSS... how can i … | |
hello, i want to display names of upcoming birthdays whose between "today" to "end of every month". how to do this | |
Hi all, I have seen code of the form: [code=php] if(file_exists("foo.php") include("foo.php"); else include("blah.php"); [/code] As far as I know, this is perfectly legal in php. What I was wondering was is it possible to do the following in in-line code in PHP? [code=php] if(file_exists("foo.php") // contains a specialised version … | |
I am currently working on an MLM System which supports Unilevel with Dynamic Compression. So far, though the below code looks really messy, it was able to get what I want which is to get the Unilevel 8 Levels Deep. The system should run this way: 1 is sponsor of … | |
Hi DaniWeb users. I am creating a mp3 shop cart script, and I need a function to create a unique id of multiple items in the cart. for example in cart are these id's: [U]1,6,21,5[/U] base64 would make this: [U]MSw2LDIxLDU= [/U] I need it only alphanumeric as it is ment … | |
Hi dear friends, a few days before I did a work in simple html and css. As the same service is going to add some database operations they have asked me to re do the same with php. Is it possible to add the new pages alone in php. Or … | |
I have two HTML pages, each has a form. The user is supposed to fill out the input fields in one, then click a submit button that will send him to the next page, where he would fill out the rest of the fields of his questionaire, click a submit … | |
i need all the 24 timezones and i have to display them all. how do i display the date and time in all 24 timezones? im using time() to put the time into the mysql database now i need to use date() to display the date and time in all … | |
ok i can post the script if you guys want its kinda on the large side mostly i just need to bounce some ideas off you i made a event calendar and now i am making a script to email users of the current months events i have this working … | |
I'm not really sure which forum this belongs in, but please bear with me as I try to explain what I am looking to do. I have a PHP web site designed to display status updates from several dozen computers around the world. Up until now an administrator updates a … | |
So here's the code: [code=php] function procRestSearch($searchQuery){ //Don't forget to have $searchquery defined before calling this function $intSearchCounter = 0; //Used to set the arrays $searchResult = mysql_query($searchQuery); while($searchRow = mysql_fetch_array($searchResult, MYSQL_ASSOC)){ //Change/Add/Delete the variables below to match what data needs to be returned $strRest = array($intSearchCounter => array('restID' => … | |
I have developed an RSS Feed in php. (can be found at [url]http://www.mofikiworldwide.com[/url] by clicking the rss icon in the top right) My reason for using php to develop the feed was so that I wouldn't have to manually update a feed in an xml file everytime I needed to … | |
i want to create list load from db countries and then full second list from db when condition true. code run in opera successfully but in IE Not run... I'm beginner and using Smarty Templates. first code country.tpl second show_country.php third country.js[code]<html> <head> <script type="text/javascript" src="css/country.js"></script> </head> <body> <table align="center"> … | |
Hi everyone, I am tasked to alter the front-end of the database and have been given the whole wad of PHP files and also an .SQL file. My question is, Why i cant see any changes to the database front-end when i change the .sql file. (I tried creating a … | |
Hi all, I want to do simple query to do the Join Here is illustartion of my query which gives error [CODE=SQL]"SELECT * FROM table1, INNER JOIN table2 ON table1.colx = table2.colx LIMIT 30"[/CODE] What goes wrong here? | |
Hai i am using the curl option to validate the site for the rss feed. my code is [CODE]<?php // create a new cURL resource $ch = curl_init(); $demo='http://chaitu09986025424.blog.co.in/feed/rss/'; // set URL and other appropriate options curl_setopt($ch, CURLOPT_URL, "http://validator.w3.org/feed/check.cgi?url=$demo"); curl_setopt($ch, CURLOPT_HEADER, false); // grab URL and pass it to the … | |
Hi Im new to OO PHP, been reading through my book and in one example they are using a class structure in a shopping cart. I have used session variables in the past for shopping carts, can I assume that if I create a class, which has a cart_contents array … | |
i want to style highlight_string() how can i style it? | |
hi all, i want expandable veritical menu . when click on header it will another page with expandable state is same as previous one. any one having this script help me....... | |
hi guys, need your help on this..any ideas is greatly appreciated..i got this form mailer from this site: [url]http://www.dtheatre.com/scripts/sour...e/formmail.txt[/url] but how to configure in php the form mailer that if in my form got two options (like the code below) that if the user choose this particular option then it … | |
hello everyone.. i would to ask about my simple code here.. it's not working.. i actually want to display a forum badge which is data are received from the database. And i stucked at putting the avatar to a portion of the badge..i mean it looks like facebook profile badge... … |
The End.