39,402 Topics

Member Avatar for
Member Avatar for bigjoke

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 …

Member Avatar for nav33n
0
125
Member Avatar for xuexue

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 = …

Member Avatar for futhonguy
0
245
Member Avatar for Anubhav kumar

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 …

Member Avatar for codewalkz
-2
146
Member Avatar for sleign

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 …

Member Avatar for sleign
0
139
Member Avatar for sim_pack

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..

Member Avatar for sim_pack
0
242
Member Avatar for mcx76

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 …

Member Avatar for mindful123
0
213
Member Avatar for davil

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 …

Member Avatar for Airshow
0
591
Member Avatar for shishtawitch

how can i grap gmail, hotmail, yahoo email contact from there address book with just single click.........!!

Member Avatar for kireol
-1
74
Member Avatar for shishtawitch

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 …

0
70
Member Avatar for vgkarthi

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 …

Member Avatar for vgkarthi
0
115
Member Avatar for dmkc

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" …

Member Avatar for dmkc
0
104
Member Avatar for samarudge

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 …

Member Avatar for samarudge
1
113
Member Avatar for Narayan15

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">&nbsp;</p> </body> [/code] it doesn't give any result. Please help me.

Member Avatar for Narayan15
0
261
Member Avatar for niladri.user

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.

Member Avatar for kvprajapati
0
54
Member Avatar for levsha

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> …

Member Avatar for diafol
0
144
Member Avatar for xGxTxEx

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 = …

Member Avatar for xGxTxEx
0
106
Member Avatar for cro_php

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 …

Member Avatar for kireol
0
786
Member Avatar for dalip_007

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

Member Avatar for Stefano Mtangoo
0
83
Member Avatar for hno

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

Member Avatar for kireol
0
86
Member Avatar for veledrom

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

Member Avatar for kireol
0
36
Member Avatar for genieuk

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 …

Member Avatar for almostbob
0
257
Member Avatar for Stefano Mtangoo

When you add a page in CMS (Like Wordpress' admin) what does it actually do? Add predefined table? Or what? Thanks!

Member Avatar for Atli
2
100
Member Avatar for dannybarh

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 …

Member Avatar for Atli
0
223
Member Avatar for kjelle392

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, …

Member Avatar for Thirusha
0
163
Member Avatar for web3

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.

Member Avatar for Atli
0
103
Member Avatar for ijazkhattak

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 …

Member Avatar for Thirusha
0
85
Member Avatar for galaxygal

[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 …

Member Avatar for galaxygal
0
905
Member Avatar for mgee

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......

Member Avatar for Airshow
0
46
Member Avatar for codewalkz

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 …

Member Avatar for codewalkz
0
243
Member Avatar for abhax

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 …

Member Avatar for cwarn23
0
177
Member Avatar for muralibobby2015

hello, i want to display names of upcoming birthdays whose between "today" to "end of every month". how to do this

Member Avatar for venkat0904
-1
89
Member Avatar for darkagn

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 …

Member Avatar for darkagn
0
224
Member Avatar for codewalkz

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 …

0
212
Member Avatar for smartness

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 …

Member Avatar for kireol
0
84
Member Avatar for davidm23

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 …

Member Avatar for davidm23
0
182
Member Avatar for levsha

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 …

Member Avatar for levsha
0
127
Member Avatar for SKANK!!!!!

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 …

Member Avatar for ShawnCplus
0
49
Member Avatar for HITMANOF44th

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 …

Member Avatar for HITMANOF44th
0
94
Member Avatar for jimmiller96

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 …

Member Avatar for kireol
0
169
Member Avatar for loligator

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' => …

Member Avatar for nav33n
0
165
Member Avatar for brandonmofiki

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 …

Member Avatar for Atli
0
238
Member Avatar for mhran419

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"> …

0
53
Member Avatar for bigjoke

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 …

Member Avatar for pritaeas
0
143
Member Avatar for Stefano Mtangoo

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?

Member Avatar for Stefano Mtangoo
0
126
Member Avatar for ym_chaitu

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 …

Member Avatar for cwarn23
0
156
Member Avatar for lifeworks

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 …

Member Avatar for lifeworks
0
88
Member Avatar for SKANK!!!!!
Member Avatar for rajabhaskar525

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.......

Member Avatar for chrishea
0
90
Member Avatar for cguan_77

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 …

Member Avatar for cguan_77
1
173
Member Avatar for lili.edryana

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... …

Member Avatar for Atli
0
192

The End.