39,402 Topics
![]() | |
Hi. Assume there are contents in DB as follows. ------------------------ name favorites John cat Peter dog ------------------------- If as soon as I enter "John Peter" the following screen should display with no page movement. Input: John Peter Output: :The favorites: John cat Peter dog Is it possible to impliment? Give … | |
Hey I'm trying to display this: [code] echo "<a href="javascript:createBBtag('[bold]','[/bold]','txtA')"><strong>B</strong></a>"; [/code] It gives errors though! Is there a way around it? Thanks :) | |
Hi. I am planning to create a software for Customer Relationship Management (CRM). Somebody please suggest a robust development framework that is open source, easy to use, scalable, easy to make web based application. I have a lot of tables in my database. And speed is very important. I was … | |
Hi i need the help of how to access the PHP files values from the External JavaScript. I have read we should keep Header("content-type: application/x-javascript"); this line in PHP. I have done everything, if any one can explain this with Example code and please explain how to use the value … | |
Hi, I am trying to Paginate Query Results. The values are passed through a form allowing users to search a database based on certain criteria they select. Now I got two problems though, 1) I can't get all the results from the database(as not all the criteria is working) ? … | |
Hi.. I'am asking if you know how to code in archiving files in database.. I have a link in my webpage, and i want that if i click the link,the process of archiving files will perform..and all the records stored in database will archive or will compress .tnx in advance.. | |
Hello, I am a new user. This is awesome community . Hope I will have right way.. Have a look at [url]http://eprothomalo.com[/url] How I can develop such website. Each there any opensource reference or any paid reference. Thanks in advance... | |
I have three sites and i want to use single username and password (login information) for all of these three sites. User will register on one site and that login information will use for other sites as well. How can i do that using php. Kindly help me ASAP. | |
I am trying to create a simple function, maybe using Regular Expressions, that would let me search text for a substring of continuous characters. For example, I don't want a word or URL etc. to exceed 25 characters in length. The most important thing is that the string is identified … | |
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 … | |
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 … | |
hi guyz, i want to create an archive for my website entries (news,articles....etc) can anybody help? appreciate the answer ![]() | |
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 | |
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 … ![]() | |
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 … ![]() | |
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 … | |
how can we parse excel sheet and insert its values into mysql database table using php? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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&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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
Can any body knows how to fetch records from Windows 2003 server Active directory using PHP and then to store in MySQL | |
[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 … | |
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 … | |
hi guyz, i cant start apache after loading the php5 module, i get the following errors in the log: [CODE]Cannot load C:/php/php5apache2_2.dll into server: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem[/CODE] Please help. Thanking you in advance. | |
This is it, I've completed my forum script and I'm sharing it with you!!!!!!! :O Hope you like it, if you find any bugs, please post it here Oh yea, and the first registered person will be the admin | |
Hi! I am not sure if this the ideal place to post this. I am having trouble submitting radio button selection to a pdf form. I am not sure if my naming syntax is correct. the following code shows the HTML form variable and following pic shows naming of the … | |
Im trying to retrieve information from a table; I give a date in the form of "yyyy-mm-dd" but in the table date is stored in date/timestamp formate. So while im comparing my inputted date with the table date, no match is found. is there any way to select only the … | |
I want to populate a dropdownlist from a database using PHP.My table name is msg_people_contact and column to be inserted into is primary_email.I have a code and it connects to the database but the data is not shown in the dropdownlist.Can anyone help me with this code?[CODE] <td><label> <select> <?php … | |
Hello Everyone, I am new to PHP and am trying to create a login menu with different user levels. I have used a MYSQL Database and PHP. The database has Username, Password, Role. Role could be an admin, lecturer or student. I need each user to login to their respective … | |
Hi, uhm can anyone help me out in creating a list box or a drop-down that has a standard size. Here's an example that I really want to display: [CODE] <select name='color[]' size=2 multiple> <option value='' selected>Select Item</option> <option value='blue'>Blue</option> <option value='green'>Green</option> <option value='red'>Red</option> <option value='yellow'>Yellow</option> <option value='white'>White</option> </select> [/CODE] … | |
Hi, I'm having a strange problem. The task: search on a site and get the all the dates from a particular season. Everything goes well for all the mondays, tuesdays, ... , saturday. But at Sunday I only get 2 results and I need 11 results. Now when I only … | |
Hai I had an array in php that stores some integer ie [ICODE]$myArray=array(1,4,6,8,9);[/ICODE] and I need to select the remaining integers from 1-30 other than the integers in the array. ie my old array is [ICODE]$myArray=array(1,4,6,8,9);[/ICODE] my new array is [ICODE]$newArray=array(2,3,5,7,10);[/ICODE] Thanks in advance Rajeesh | |
Hi friends. I am new here. I found this site while searching the way to make a vbulletin forum. So please help me to make a vbulletin forum but all in free because i don`t have any credit or paypal etc. Please give me full guide to make my own … | |
[CODE] <?php ob_start(); extract($_REQUEST); extract($_POST); session_start(); $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } $db=mysql_select_db('murali',$con); $message = ''; $error = array(); $select=mysql_query("select * from registration where username='$_REQUEST[username]'"); $taken_usernames=mysql_fetch_array($select); // main submit logic if (@$_REQUEST['action'] == 'register') { $resp = check_username($_REQUEST['username']); if ($resp['ok']) { $message = … |
The End.