39,393 Topics

Member Avatar for
Member Avatar for gedas

hi everyone, can anyone tell me why am i getting two outputs when i am only asking for one, well here is the code it will be more self explanatory. it is simply a dictionary [CODE] <?php // Fill up array with names $a[]="Hello-common greeting"; $a[]="phone-a comunication device "; $a[]="pc-personal …

Member Avatar for gedas
-1
80
Member Avatar for fawkman

Hi Guys I am trying to build a small CMS. One of the features is the ability for users to add a Flickr URL of one of their Flickr albums so it's then embedded in their profile. So I have a field in the users db called flickr_url. I have …

Member Avatar for fawkman
0
144
Member Avatar for phpangel

hi guyz, i want to create an archive for my website entries (news,articles....etc) can anybody help? appreciate the answer

Member Avatar for diafol
0
180
Member Avatar for aditi_19

Hi, I want to create an editable combo box in php which allows the user to select a value either from a drop down list or enter some text in the box itself. How is it possible to do? Thanks, Aditi

Member Avatar for kireol
0
54
Member Avatar for itisnot_me

ok so i have been trying to think of a way that i could calculate multiple values under one variable. ex: in my loop i am calling $total a few times depending on how many entries there are. i know that if i was to echo $total it would only …

Member Avatar for diafol
0
93
Member Avatar for Expert-World.co

Hi, I am updated my database table each day with a few thousand rows of data. The data relates to products and contains a unique product code Each day sales information comes in about the product and the update may also contain new products. [B]Data is like this:[/B] time_stamp: 1267354256 …

Member Avatar for diafol
0
120
Member Avatar for veledrom

Hi guys, I am new in OOP. I know the rules and use of abstract classes but, I just want to know why we should use abctract or what is the purpose of it, rather than using normal classes while we can accomplish same thing in both ways? If i …

Member Avatar for ShawnCplus
0
112
Member Avatar for indoreankita

how can we parse excel sheet and insert its values into mysql database table using php?

Member Avatar for crohole
0
254
Member Avatar for gedas

hey everyone, well i'm creating my own website about geography and i come to a point where i have to use ajax i am quite confident programmer in javascript and php but i have never worked with ajax. well what im trying to do is have a field where i …

Member Avatar for gedas
0
66
Member Avatar for khadrani_arif

Hi, There are two drop down box named Category, and SubCat. On page load event the Category drop down list is filled. and SubCat drop down is empty.And on selecting the Category drop down box a list of images belonging to Category is displayed and parallely the list of Sub …

0
45
Member Avatar for rajeesh_rsn

Hai, I had developed a online community web application. I am using php mysql and javascript. I need to make a voice message system in my application. ie User can record the voice mail and send. Then the recorded .mp3/.wave file will upload into the server and add data in …

0
58
Member Avatar for John_K

Hi Everyone I'm hoping someone could help me out please. I have a database of names and email addreses with the following columns: user_id (auto increments) user_name user_email user_email_sent Basically I have a form (for myself) that returns all the rows in the database and next to each row I …

Member Avatar for hielo
0
101
Member Avatar for vishalonne

Hello Every Body I am making one web application where user can login with there user id and password. Now I have my windows 2003 Server where I used to create user who join my company and remove when any one leave my company. I want to fetch the records …

0
58
Member Avatar for Kligham

Hi, I have the following problem. How do i get the number out of this variable: [CODE] <div class="right"><a id="ctl111_contestProfileLink" href="http://contests.covers.com/Sportscontests/profile.aspx?user=265839&amp;sportid=0">Picks History</a></div> [/CODE] The numbers can range from -1000000 till +10000000. Does anyone know how can I achieve that? I saw someone do it with eregi() function, but since this …

Member Avatar for hielo
0
144
Member Avatar for almahmeed

Dears, I am having the headers warning that is generated from my login script. [B][COLOR="Red"] Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\tgaff\index.php:25) in C:\xampp\htdocs\tgaff\members.php on line 62 Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\tgaff\index.php:25) in C:\xampp\htdocs\tgaff\members.php …

Member Avatar for almahmeed
0
170
Member Avatar for buranda

Hi. I'm totally new to php and I want to impliment the login class using session. Assume that there are only 3 fields being user ID, password, and member's class in the Database and the three member's class are President, Vice President and citizens. Also if the user is logging …

0
49
Member Avatar for Aamit

Hi, I used this code to check page rank. [COLOR="Green"]E.g.[url]http://www.orkut.com[/url] it gives page rank : 8[/COLOR] [COLOR="Red"] it works on localhost perfectly.[/COLOR] [COLOR="Green"]But when same code i put on my ftp i.e. live it gives wrong output Page rank: -1[/COLOR] [COLOR="Red"] I think some setting in php.ini or some other …

Member Avatar for FlashCreations
0
153
Member Avatar for web3

What is the problem? [CODE]<?php /************************************************* Member Registration Script Author: Adam Khoury code comments appear above sections they refer to *************************************************/ // First we check to see if the form has been submitted if (isset($_POST['mem_firstname'])){ //Connect to the database through our include include_once "z_connect_to_mysql.php"; // Create local varibles from the …

Member Avatar for FlashCreations
0
151
Member Avatar for alfiechiong

hi i need some help on how can i retrieved users mac address using php? so that i can restrict an access to my admin page .. thanks

Member Avatar for FlashCreations
0
326
Member Avatar for jonwhittlestone

Hi There I have come across some code in someone's API that I wish to use myself and I wonder if anyone could advise me on how to use properly.. I am able to call function <?php playerProfile($array); ?> without any return value. Subsequently, in my php I can retrieve …

Member Avatar for FlashCreations
0
80
Member Avatar for CFROG

I need to put together a quick script that will clean up a directory full of pictures for me. I want it to just delete photos that are not actively being used by members. I'm familiar with the different aspects involved in doing this but a little unsure of how …

Member Avatar for CFROG
0
125
Member Avatar for kripssmart

Hi, I have a query, the output of which I need to display in my page. say, if I do ... select col1 as column from table1; how could I display 'column' in my echo statement or else how could I display it in my PHP code? Thanks for your …

Member Avatar for diafol
0
113
Member Avatar for rajeesh_rsn

Hai I am developing a community website and peoples can create their profile and can add friends and all. But I need to show a notification if that visitor is online . Or show all visitors in online in a page. I use mysql database. I make it like this …

Member Avatar for Phaelax
0
463
Member Avatar for Lakshith

Im my form to send emails I have a button called "Save".When I click the button I want to send the email as well as insert data into my database(values of sender,receiver).I can send th email but i dont know how to insert the data into the database at the …

Member Avatar for kireol
0
110
Member Avatar for Kligham

Hi, The following script gives back bummer as print, so the storing to database hasn't worked. What is wrong? [CODE]<?php function db_connect(){ $connect = new MySQLi("localhost", "justinmijn_root", "***", "justinmijn_nba"); // mysql_connect_errno() retourneert 0 als er geen fouten zijn if (!$connect || mysqli_connect_errno() != 0) { throw new Exception('Er kan geen …

Member Avatar for Kligham
0
105
Member Avatar for 1987

Hi, I have downloaded the wampserver and now I need to use the php. I tried to use the www directory upload my files but, when I try to open those php files as a web application, that appears as a html web application.I used the mozilla browser. Now I …

Member Avatar for 1987
0
129
Member Avatar for vishalonne

Hi Everybody Can anybody help me creating Button at runtime. My problem is I am having one form which contain 6 button to save 6 records details. Finally when six records save user goes to for next 6 records... So I need a new but same form which will again …

Member Avatar for vishalonne
0
104
Member Avatar for vishalonne

Can any body knows how to fetch records from Windows 2003 server Active directory using PHP and then to store in MySQL

0
53
Member Avatar for takeshi

[QUOTE]This is the codes i used in my login based on it's database.It works well.But i forgot something..I want to post the current user when he/she login.When they enter their student # as well as their birthday in the login menu,then when they click the button,the information of the current …

Member Avatar for takeshi
0
98
Member Avatar for DARK_BYTE

So I have a script that retrieves an image from a sql table and displays it. I can call the script inside a html using something like this: [CODE] <img src="display01.php"/> [/CODE] Now I have another script called "text01.php" that fetches text from the sql table and the script works …

Member Avatar for DARK_BYTE
0
1K

The End.