39,326 Topics

Member Avatar for
Member Avatar for vidhyaponnusamy

Hi, I want to create tree like menus in php,but the values will be retrieved from mysql,i want menus with submenus which means tree structure,i don't know how to display the mysql value in a menu tree structure,please help me out for this problem.

Member Avatar for vidhyaponnusamy
0
90
Member Avatar for Stefano Mtangoo

Hello all, I have been teaching myself PHP through others writting; so bear with me if you find something foolish. Having said so, I want to make a simple Music library with MySQL/PHP. I have made this very simple Login form as shown below. I want after someone successful login …

Member Avatar for Stefano Mtangoo
0
86
Member Avatar for alicem

I'm using XAMPP to test a mini-website - I have some zip files I'd like to be able to place on the server, then for them to be unzipped using PHP via a browser. How can I do this? I've tried the following... [code] <?php $zip = new ZipArchive; $res …

Member Avatar for alicem
0
662
Member Avatar for rajeesh_rsn

Hi i had a php page which show thumbnail images from a database. I need to show enlarged image when mouse roll over to that thumbnail one. Pre-loading of all of that images is not possible ( it will take time to page loading ) . It must be load …

Member Avatar for almostbob
0
142
Member Avatar for Designer_101

Hi Is it posible to display a list of members that are currently logged in on my website in PHP. Or should I use AJAX ? Any ideas, and if possible how would I go about doing this. Happy easter everyone :)

Member Avatar for Designer_101
0
225
Member Avatar for jbh6gc

Hello all, A friend and I are working on a website and we are having some issues with the timeout functionality. We set $_SESSION['activeTime'] to the current time at login and then We are using the code below at the top of every page to set the session time every …

Member Avatar for Designer_101
0
680
Member Avatar for marjan_m

Hi, I am trying to display 5 pics named "pic1", "pic2"....."pic5" in one div. I have settled that the div will be visible after 5000 ms, and then i have settled cleartimeout function to make the div again hidden. I need to revise it 5 times so that 5 pictures …

Member Avatar for cwarn23
0
109
Member Avatar for brechtjah

Hi everyone, because I've recently decided to try making a webgame, I've begun scripting an editor for it. However, I'm quite stuck on the little project and would like some help. The script works as follows, a directory of tiles is being read via PHP (however not alphabetically). These tiles …

Member Avatar for somedude3488
0
137
Member Avatar for akash_msrit

hi friends, i am new to php. i have source code to logout from a page when that page is inactive for certain seconds. and it is logging out . but the thing is it is logging out even when my mouse and keyboard is active. i.e. even when i …

Member Avatar for tux4life
0
194
Member Avatar for brechtjah

Hi, I wanted to post my login system I will use for an upcoming site for rating. I want to ensure a safe login, so please, if you know anything about this and see a security leak somewhere... Please post, any remarks are welcome. How it works: the script generates …

Member Avatar for somedude3488
0
221
Member Avatar for gagan22

Hi everyone, I am working on one application in which i am using many checkboxes for many records like we use in our mail . Like in our inbox mail folder if we want to delete more than one mail , after checking that mail in checkbox , we click …

Member Avatar for rm_daniweb
0
311
Member Avatar for nathenastle

Please help me in newsletter sending , this my code the problem is the mail is send to single person is going correctly ,if the same mail send to more number of persons getting wrong mail is going but the data display only in first mail ,the other mails getting …

Member Avatar for rm_daniweb
0
105
Member Avatar for navi17

Does anyone know how I can display a list of (let's say) 5 members that have visited my profile page recently? Shouldn't be too hard, should it? Let's try to find a solution, since I believe more users might be interested in such a feature. Thanks guys, navi

Member Avatar for rm_daniweb
0
154
Member Avatar for keanan

Hello, I am trying to store a single MYSQL result into a 2 dimensional array, for example I would like to end up with something like this: array[0][0] = result[0] , array[0][1] = result[1] , array[0][2] = result[2] ..... Here is my code: [code] $tempCat = array(); for ($i=0;$i<$numcat;$i++) { …

Member Avatar for keanan
0
163
Member Avatar for isomillennium

Hi all , just learned the basics of perl thru a website. and i was just wondering what the perl equivalent of php code .... for($i = 0; $i < 10; $i++) { $myarray[] = $i; } would be. Any help appreciated thank you ..

Member Avatar for isomillennium
0
52
Member Avatar for Gonkawan

Greetings people. I've just recently discovered PHP, and have just created my first dynamic PHP-document, which fills a table with data from my SQL db. It works quite well, but what I'd like is to have hyperlinks in one of the three columns (header), pointing towards whatever adress posted from …

Member Avatar for Gonkawan
0
115
Member Avatar for whitestream6

I have a PHP page with query strings in, and that works, but getting it to display the correct page depending on the day via a switch statement is a problem. This is the code: [ICODE]<html> <body> <? if($_GET['day']==1){ ?> <?php include("day1.php") ?> <? }else if($_GET['day']==2){ ?> <?php include("day2.php") ?> …

Member Avatar for ShawnCplus
0
121
Member Avatar for baudday

Hi, I would like to set variables from session variables. Like this: [CODE=php] $fname=$_SESSION['fname']; $lname=$_SESSION['lname']; $email=$_SESSION['email']; $month=$_SESSION['month']; $day=$_SESSION['day']; $year=$_SESSION['year']; $city=$_SESSION['city']; $state=$_SESSION['state']; $uname=$_SESSION['uname']; $pass=$_SESSION['pass']; $encpass=$_SESSION['encpass'];[/CODE] I think this is triggering the following error: Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised …

Member Avatar for baudday
0
91
Member Avatar for bimaljr

Hi I have a site in Joomla CMS. I want to redirect my old url : [QUOTE][url]http://www.brcreation.com/index.php?/Softwares/Tool-to-Convert-Files?itemid=167&mid=167[/url][/QUOTE] to : [QUOTE][url]http://www.brcreation.com/Softwares/Tool-to-Convert-Files?itemid=167&mid=167[/url][/QUOTE] As you see above, I want to remove "index.php?/" from my site url. I have created a script for this but there are some problems. It doesn't redirect to correct …

Member Avatar for essential
0
163
Member Avatar for rajeesh_rsn

Hi i know php and mysql little bit. I likes to create a online chat application. Please any one give me a right tutorial or chatting idea . Please Help me Thanks Rajeesh

Member Avatar for rajeesh_rsn
0
81
Member Avatar for cjwenigma

Hello, I'm pulling classes from a database and displaying them in dropdown boxes for the users to choose from. I need to be able to take the courseIDs(in my database) from the courses they pick and store them into a table called account_courses. I also wanted the drop-down boxes to …

Member Avatar for HITMANOF44th
0
74
Member Avatar for theimben

I want to redirect a user after a few seconds without using javascript. Is this possible? Thanks.

Member Avatar for theimben
0
101
Member Avatar for usang2me

Hello, I'm building my own website without any knowledge of PHP, & i'm almost done with that..as my website works fine on my local server i:e WAMPSERVER 2.0, but the same code is not working on server...n i'm rilli piss'd of coz of that... The error is :"PHP Parse error: …

Member Avatar for BzzBee
0
350
Member Avatar for cobalt-rose

Hello all, i am having great difficulty in trying to get the job_id variable from the table that is displayed that will be passed into the next page and profile page information will be selected where he job_id (from previous page) is equal to the job_id of the profile. In …

Member Avatar for BzzBee
0
130
Member Avatar for zurainah

can somebody help me how to search data from database?coz i use dropdown to select jabatan,month and year..here the coding: [code=php]<?php session_start(); include 'db_connect.php'; $ID = $_SESSION['ID']; $PASS = $_SESSION['PASS']; if(($ID=="") && ($PASS=="")) { echo "<script language='JavaScript'> window.location ='login_user.php';</script>"; } ?> <?php $namajab = $_GET["nama"]; $bulan = $_GET["bulan"]; $tahun = …

Member Avatar for BzzBee
0
243
Member Avatar for rajeesh_rsn

Hi I am a php programmer. I found in some sites hide their page type . For eg: [url]www.some.com/[/url][B]lal?s[/B]ome=some&somemore=somemore. insted of [url]www.some.co[/url][B]m/lal.php?s[/B]ome=some&somemore=somemore. Please help me How can i do that Thanks Rajeesh

Member Avatar for samarudge
0
73
Member Avatar for usang2me

Hello Every1, i'm using "webhostingpad" for hosting my website.....n i dont have access to httpd.conf & they even dont allow wildcard redirect... but they are providing me unlimited subdomains... is there neway 2 make dynamic subdomain for every new user register 2 my website.....accept making it own 4m cpanel...... every …

Member Avatar for usang2me
0
104
Member Avatar for jackal joe

i'm developing a website for my final year project entitled [B]foreign workers booking system[/B]. Now i got several problems the problems are:- 1.How to come up with a dwi language website 2.How to make a private mail so that i can send a mail to an employer. 3.How to have …

Member Avatar for BzzBee
0
95
Member Avatar for rEhSi_123

Hello everybody, Not sure if the above title is correct for the issue I have but moderators please feel free to correct it.:) Anyways my issue is whenever a user logs onto my forum, my index page seems to display the ID of the user also......... Exactly like this: [quote] …

Member Avatar for nathenastle
0
118
Member Avatar for usang2me

Hello, I'm building my own website without any knowledge of PHP, & i'm almost done with that..as my website works fine on my local server i:e WAMPSERVER 2.0, but the same code is not working on server...n i'm rilli ****'d of coz of that... The error is :"PHP Parse error: …

Member Avatar for rm_daniweb
-1
71

The End.