39,402 Topics

Member Avatar for
Member Avatar for hmhb.in
Member Avatar for Shanti C
0
118
Member Avatar for sainigks

Hello Dear all, i have created a html page to insert data in sql table. my html page have date , month and year columns. which is stored in sql table in their respective columns. now i want to retrieve data from sql table in a php page. but i …

Member Avatar for benjaminFowl87
0
126
Member Avatar for Sahiba

Hello frends i am new comer in this community i need help in php and mysql actually i am student of BBA and i got project in IT and i dont know how to use these languages ....is anyone help me than plz tell me..... reply me i have just …

Member Avatar for mahesh_kumar_cs
0
152
Member Avatar for xuexue

is there any code that is the same as the distinct function of mysql to mssql? thanks in advance..^^

Member Avatar for jaikanth123
0
70
Member Avatar for xuexue

is it possible, that when a user clicks an image, it will automatically add a row to the table? this is table..

Member Avatar for xuexue
0
86
Member Avatar for ChrisATO

Hello, thanks for reading my thread. I'm still new to web development so I appreciate your help in advance. Here is the issue I am having: In my project, I have a index.php page with a sidebar menu and a div id called “content”.The user can select different menu items …

Member Avatar for ChrisATO
0
375
Member Avatar for Grubb

Could some one tell me how can I redirect one page to multiple urls in new tabs using just php(no java). Ex: User access [url]www.mysite.com[/url] and he is redirected in 2 new tabs in [url]www.myothersite.com/info.html[/url] [url]www.myothersite.com/checkitout.htlm[/url] and the initial tab with [url]www.mysite.com[/url] refreshes and is [url]www.myothersite.com[/url]. Thanks

Member Avatar for Mckcvision
0
278
Member Avatar for Xeros606

This probably isn't the best place for this sort of thread, but it's the most popular board on the web development forums and I suppose it's semi-related to PHP so... I've made a few small scale desktop apps with C# and Java (including a few games through XNA) but now …

Member Avatar for chrishea
0
163
Member Avatar for sewingbuttons

I used the simple script from this website and it seemed to work ok except no mail gets sent. I know this script was used for at least two christmases to send mail. Is there a process that I need to run on the server to enable it to send …

Member Avatar for cereal
0
221
Member Avatar for nukabolhi

I am just trying to make a php edit script using a combo box or any other method. But I am not sure how to write a script when selecting a sportsid and fetch the related data at the same time. [CODE] $sql = "SELECT * FROM sports WHERE sport_id=2"; …

Member Avatar for lagspike
0
907
Member Avatar for Sorcher

Hello. Anyone got a bookmark script they know of? all i found was [CODE]<script type="text/javascript"> function bookmark_us(url, title){ if (window.sidebar) // firefox window.sidebar.addPanel(title, url, ""); else if(window.opera && window.print){ // opera var elem = document.createElement('a'); elem.setAttribute('href',url); elem.setAttribute('title',title); elem.setAttribute('rel','sidebar'); elem.click(); } else if(document.all)// ie window.external.AddFavorite(url, title); } </script>[/CODE] but i dont …

0
97
Member Avatar for eltonpiko

hi can some one please help me i want to create a form that will send a custom email email to the emil address that the user inside how can i achieve this? for example the user put his name and email address the put the name and addresses of …

Member Avatar for eltonpiko
0
79
Member Avatar for Infame

Hi. I recently created a PHP Comment snippet. I'm having one slight probleme though. The problem is that the comments stacks up to one big pile of comments. What I basically want is to divide the amount into smaller groups: Page: 1, 2, 3, 4, 5 each page with 5 …

Member Avatar for diafol
0
93
Member Avatar for Rewired

[B]I am new to this PHP coding, but have experience. I am just wondering how to make it check the folder and not make it make duplicates of the file in the MySQL?[/B] [CODE]<?php include('mysql.php'); if ($handle = opendir('images')) { while (false !== ($file = readdir($handle))) { if($file!='.' && $file!='..') …

Member Avatar for diafol
0
350
Member Avatar for cableguy31

Here's what I'm trying to do. I have a php script that will run an sql query and return the data back in a table. I want to put a radio button into each row so the user can select one row to submit. Then, when they click submit, I …

Member Avatar for cossay
0
1K
Member Avatar for askural

Hello, I checked the internet without success maybe smone out there can help... I am planning to write smthng like a pay per download script... I need to know if the download is successful or not (has the customer successfully downloaded the product or not!). I know there is no …

Member Avatar for chrishea
0
79
Member Avatar for puvi

hi guys, i have registration form, where the user enters username, email id etc. on clicking register, the data should get validated and then get saved into the database. i got most of the validation stuff right exept this one. i did all the validations in javascript, i want the …

Member Avatar for puvi
0
153
Member Avatar for alazanski

Hi, Myself and a couple of other programmers have decided to make an online email client (similar to Horde or RoundCube...). And we're going to need all the help we can get. The whole thing is an open source project. So, if you know your way around MySQL and/or PHP, …

Member Avatar for diafol
-1
118
Member Avatar for ankit.pandey3

[CODE]<?php require_once('upper.php'); if(isset($_COOKIE['AdminCookie'])){ if(isset($_POST['submit'])){ require_once('database.php'); $ActivityName =$_POST['ActivityName']; $EventName =$_POST['EventName']; $BloodGroup =$_POST['BloodGroup']; $Location =$_POST['Location']; $Age =$_POST['Age']; //$Sex =$_POST['Sex']; echo $ActivityName; $query="select * from registration WHERE Flag='A' AND BloodGroup= '$BloodGroup' AND Age ='$Age'"; //$query="select * from registration WHERE Flag='A' AND Address like '%$Location%'"; $result=mysqli_query($dbc,$query) or die('Not Connected'); while($row=mysqli_fetch_array($result)) { echo $row['Name']; } …

Member Avatar for ankit.pandey3
0
156
Member Avatar for camilahlah

I need to get the values of all textboxes that I've generated through dropdown list using AJAX. I've been getting only the last value of the textbox, I can' seem to loop it. Anyway, here's my code: [CODE] <? include('connect.php'); $tag = $_REQUEST['tag']; $ProjectName = $_REQUEST['ProjectName']; $Description = $_REQUEST['Description']; $textboxes …

0
81
Member Avatar for showman13

I have written a function that works really well for what it is intended, but I just realized that it will need to make calls to itself, and wondered if that is able to be done (first), whether is is a smart thing to do (second), and are there any …

Member Avatar for showman13
0
280
Member Avatar for JBLDW

What do I need to change in order to change the default usr > local > lib > php install directory? Both the builds are to be compiled from source (something I am quite familiar with), and will not be from pre-configured packages. I need to do this in order …

Member Avatar for JBLDW
0
2K
Member Avatar for showman13

I am attempting to update the value of one field within a table, by doing a select of the value of another field within the same table in a single UPDATE statement. Is it possible? And if so, could you tell me what is wrong with the syntax of my …

Member Avatar for showman13
0
326
Member Avatar for alazanski

Hello, I would like to make an online conference/meeting system. The project would be open source. So I was wondering, if anyone would be willing to help me in the making of this application? If you're interested and you want to help me, please visit: [URL="http://projects.gratita.com/ocs"][I]http://projects.gratita.com/ocs[/I][/URL] I'm a beginner programmer, …

Member Avatar for alazanski
0
325
Member Avatar for kiranking

I am trying to code a form that has multiple textbox without refershing page using ajax, then after each textbox threre will be link called add which POST call the other php called addnew.php. In addnew.php data will we added to database(postgres). But I am geting problem while getting the …

Member Avatar for diafol
0
206
Member Avatar for wesleysoccer

I've installed Janrain on my site and have all providers working at this point...The only issue is How do I redirect my members to the page of my liking? Right now it's going to my home page...I would like a different url...What code should I add to complete the login?

Member Avatar for diafol
0
61
Member Avatar for Bishan
Member Avatar for jalexander3

Hi my name is Jason and i am trying to make a web application that allows an end user to create daily journals about themselves and allow the end user to write entries and read previously stored entries using php. please help this is what i got so far <!DOCTYPE …

Member Avatar for chrishea
0
130
Member Avatar for clmirand

Hi everybody. Am new here and new using PHP as well. Hope you could help me. I encountered this error Error when deleting: Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables …

Member Avatar for parasp2003
0
372
Member Avatar for hmhb.in

hi all, how to overload the constructor!!!!!!! explain with example

Member Avatar for NettSite
0
86
Member Avatar for NettSite

I am trying to get the win32service PHP extension working. I have installed PHP 5.3.4 on my Windows XP SP3 box, and downloaded the php_32winservice.dll file and listed it in my php.ini file as instructed in the manual. However, there is obviously a version mismatch between the dll and the …

Member Avatar for NettSite
0
167
Member Avatar for rakibtg

how to create an [B]wysiwyg[/B] html editor in <textarea name="sender_message"></textarea> is it possible when send an email from a php form?

Member Avatar for rakibtg
-1
268
Member Avatar for clar_issa

[INDENT][/INDENT]I am a 4th year BSIT student and we are in the last semester of our studies. We are assigned to make a Web-based File Organizer and Control System. I would want to ask for some help if anyone has an idea on how to make this application. i'd be …

Member Avatar for floatingDivs
-1
177
Member Avatar for bearcatFulton

I am looking to create a message with several lines, but when I put my string into the mailto statement I can't find a newline character that works.[CODE]$MESSAGE_BODY .= "Message: " . nl2br($_POST["message"]) . "\n"; print_r($MESSAGE_BODY); echo "<a href=\"mailto:bearcatFulton@gmail.com? subject=Angus and Alfalfa Contact& body=$MESSAGE_BODY\">Send this message</a>[/CODE] I've tried \n\r, <br>, …

Member Avatar for bearcatFulton
0
93
Member Avatar for ravzn

Please can someone assist me. I have data stored in mySQL. If i want to allow the user to view this data (say his/her profile information), and at the same time, when it is displayed, it is editable to allow the user to change certain fields and then save. Hope …

Member Avatar for lyrico
0
100
Member Avatar for ppetree

It's been many, many years since I have written any ASP code and I dont recall this functionality being present in the past BUT: In php we have a serialize() that takes an array of data and creats a single string representation of that data. The single string can then …

Member Avatar for ppetree
0
155
Member Avatar for david cashin

Hi, looked around but i couldnt find much on this. I need to redirect every 3 visitors that visit my url to different sites. so visitor 1 would go to xyz.com, lets say visitor 2 comes along and he gets redirect to xzy.com then the last visitor comes along and …

Member Avatar for diafol
0
124
Member Avatar for helpfullProgram

Hello everyone! I need to be able to check if a "username" exists in one table in the database, and if not then create a row with that "username" and various other bits and bobs. I have it so I can input a username into a database but when I …

Member Avatar for helpfullProgram
0
165
Member Avatar for super_alex
Member Avatar for Naggelos

Hi, I'm a newbie in php.. having some trouble getting a simple contact form to work, could someone help and explain what the problem and a possible solution to this: contact.html [CODE]<form method="post" id="customForm" action="contact.php"> <div> <label for="name">Name</label> <input id="name" name="name" type="text" /> <span id="nameInfo">What's your name?</span> </div> <div> <label …

Member Avatar for dietdew12z
0
179
Member Avatar for Keidi

I am trying to call a php script through a shell script.The script is to be called as the run on receive directive of gammu-smsd.My php script executes as expected when I call it using[CODE]/opt/lampp/bin/php myvarsreader.php[/CODE].However on trying to run my script(From terminal): [CODE]#!/bin/sh PROGRAM=/opt/lampp/bin/php myvarsreader.php eval "$PROGRAM \"\${SMS_${i}_NUMBER}\" \"\${SMS_${i}_TEXT}\"" …

Member Avatar for ckoy
0
396
Member Avatar for David 78

Hello guys...actually it's going to be a pretty hard question and probably hard to solve. Here it goes: I have a table of added members and the same table exists in "remove_members" page where I added a checkbox to each user's picture. The pic/user is supposed to be deleted when …

Member Avatar for David 78
0
131
Member Avatar for rolyestemonio

Hi..Can anyone help me out? Can anyone give me a sample image uploader in php? That it will store to php mysql database? With 4 fields namely(id, image_name, images, descriptions). [b]These are my fields.[/b] [CODE]<form action="" method="post"> <input name="image_name" type="text" id="image_name" value=""/> <input type="file" name="images" id="images"> <input name="descriptions" type="text" id="descriptions" …

Member Avatar for rolyestemonio
0
113
Member Avatar for hawk_40

Hi, I want to search a particular word from a string here is it $str="<a href" is there any way to find this link embedded in the string .... and if found it must echo "found.....................

Member Avatar for xinam
0
105
Member Avatar for phpbeginner

hi all.. is it possible to convert this array, Array ( [123] => Array ( [0] => AAA [1] => BBB ) [124] => Array ( [0] => CCC [1] => DDD [2] => EEE ) [125] => Array ( [0] => FFF ) ) to this type of array …

Member Avatar for Shanti C
0
81
Member Avatar for Xtremefaith

Having issues working with dates in PHP, very new aspect of PHP for me. Couple things I'm trying to accomplish and wouldn't mind a simple tutorial/explanation of since everything I'm finding assumes I know more than I do: [B]1. How to sort by dates?[/B] [I]Currently I am trying to query …

Member Avatar for Xtremefaith
0
161
Member Avatar for ujsiriwardana

i'm creating a e-cart. i have a problem to update cart. I want to use session array to create cart, but i don't know how to do it. can some help me to create SESSION ARRAY which can add several data. $_SESSION['ecart'] = $details; how to add several data for …

Member Avatar for eoliva
0
138
Member Avatar for medobangs

I know this is a long one but I've been trying to work around the coding for days, any help will be of great help. ______________________________________________________________________________________ [B] I have a bit of a problem, I have three pages: student_login.htm(to take in id and pwd),loginstdck.php(to check if the values match with …

Member Avatar for medobangs
0
316
Member Avatar for phpDave

Hello everyone, I am working on a script that allow users to upload an image. So far it's working except that I created an include file that is supposed to re-size the image. It's not working and I'm not sure why. Any thoughts? Here is the include file script: Thanks! …

0
49
Member Avatar for mbarandao

Hello: I have a mysql table that stores customer transaction information. I want to sum column name "total" --which has values like this: $253.20-- only where the value of another column is "mossa01". For this, I passed the variable to the code via url and trimmed it. I then used …

Member Avatar for mbarandao
0
114

The End.