39,326 Topics
| |
abit like the title am looking for a way to scan my full database and to look at each accounts email address and to find any emails the same and then count them can anyone show me how this is done ? thanks below is my basic db table [CODE] … | |
I am entering text into a textarea field and pressing the return key to force a new line. But when the contents of the textarea field is displayed I am seeing the new line html tag <br /> symbol (see below). How do I stop these symbols from displaying and … | |
Since I decided to reinvert the wheel and write a growing MVC, I though having a template class will be cool. Now I have never done any complex templating apart from simple include kind of templating. Now I wrote this base class and here is my concept is explained below. … | |
pLEASE TAKE A LOOK AT THE TUTORIAL IN THIS LINK: http://forum.codecall.net/php-tutorials/13410-register-upload-photo-have-new-page-each-user-after-registration.html . i HAVE SPENT TIME TRYING TO KNOW WHAT IS WRONG WITH THE regmee2 file but can't still tell. I am no longer sure if it is also a table or a called procedure. Can anybody tell me if … | |
i want to design an application where registered members will upload their passport photograph along with some basic information on a form. These members should also be able to view thier profile showing there passport. Please I need someone to help me with a script. | |
Please can someone help me out here, I know that this is not the right place for this forum but I assumed that experts would be here to help me out too as I have written to wordpress but no response. 1st: how can I remove image file link in … | |
hi every body i have template that it contains this type of java script for displaying wallpaper in the main screen : [CODE] <!-- JAVASCRIPT TRIGGERS --> <script type="text/javascript"> $(document).ready(function(){ $("a[rel^='prettyPhoto']").prettyPhoto({ theme: 'dark_square' }); }); $.backstretch("images/background-home.jpg", {speed: 'slow'}); </script> [/CODE] and i wanna change it to this form : [CODE] … | |
Hello, Does anyone have any experience with phpwebsocket by google? I'm having a problem connecting to my server... Here is the two files: (server.php) [code] #!/php -q <?php /* >php -q server.php */ error_reporting(E_ALL); set_time_limit(0); ob_implicit_flush(); $master = WebSocket("[server_IP]",12345); $sockets = array($master); $users = array(); $debug = false; while(true){ $changed … | |
I am working on drupal and i am using AuthName "Restricted Area" AuthType digest AuthUserFile /www/myproject/.htpasswd AuthGroupFile /dev/null <Files admin> require valid-user </Files> in htaccess and my htpasswd file contain admin:yYUhGhiABVJGI sanjay:aeGwcBYMSYUKc but I am unable to login. any suggestion | |
PHP, JSP, ASP.NET Which one best for web development ? web development are same , but platform is different , and also the working envirment are different ? so please suggest which is now day best development in web ? and also the large application in web ? | |
Hi All I have one .pdf file and I want to read with this file using PHP. and I know that i need pdf library for do that but i haven't any information about that so, please give me detail info for that library also...! Thanks in advance. | |
This is the first time I have ever tried to use mod_rewrite and have been stuck for a couple days. I am trying to change [url]www.mysite.com/example6.php?id=games[/url] to [url]www.mysite.com/example6/games[/url] Is this even achievable? Any advice will be very much appreciated! | |
Hello, I need my web users to send an uploaded file along with their registration data. The form will be sent via email while at the same time, the uploaded file will be stored in a folder on my server. Take a look at the code please: [CODE] <?php if(isset($_POST['email'])) … | |
Hi, I have a web page where users can log in and then in various sections the page shows some data about the user - like email address, phone number, name, last name, etc (about 30 values in total). In your opinion, what's better - saving the data into session … | |
Hello, I was building a web chat system using jQuery, PHP, and mysql and it's working, the thing is that someone informed me that it will strain the server if I do it this way, and suggested I used "Comet Polling" for it, but I have never heard about it … | |
product_category.php I am writting the following codes. I would like in the input name Kategori value <?php $kategori; ?> to pull data from nama_kategori in kategori table (in phpmyadmin) whenever I press EDIT. But this is not the case, whenever I press Edit the Kategori box value remains empty. Why … | |
| Hello, i am trying to write a bit of script that will add a delivery cost based on the country code which is provided from a form. Everything works, except my last else statement. As an example, i am trying to make the delivery 1.15 if the country code is … |
How do i do this automatically, anyone know of a script , given a username, it creates a user account and email address. plz help me | |
Hi, Someone please help me out that why my pagination page no 1, 2,3 ,. . .>> continued to the next line, is there any way to fix it in one line. [B][U]Here is my Script[/U][/B] [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <?php require("conn1.php"); … | |
i can upload to MYSQL, with user generated content, picture included... when i access the information, everything appears but the picture, just the pictures file name is listed (no pic) is my code wrong?... am i missing something? would appreciate any help [CODE]define(`uploadpath`, `htdocs/phpsessions/images`); { $pix=$_FILES['pix']['name']; $target=uploadpath . $pix; echo"$target"; … | |
Ples help me get how i can sum up values in a row by groupng into various category | |
how do i get total values in a row by grouping into diffrent categories. here is my code bt its getting oll totals in a row for now.. <?php require_once('connect.php'); ?> <?php $query="Select Amountspent from Moneyout"; $result=mysql_query($query); $total=0; while($row=mysql_fetch_array($result)) { $total=$total + $row['Amountspent']; } echo "Total is:" . $total; ?> … | |
am new bie to PHP... I want script for contact web page mail go to mobile phone. for example contact form having name, contact number, description. after that fill these details click the send button mail send to particular mail . so that mail will intimate to my mobile .please … | |
Hello, So I wrote a PHP script which will return all the contents of a table using Mysql. I want to set a limit so that PHP will display only 30 rows and divide them into pages like [1,2,3...] dynamically and the PHP script will detect the page using GET … | |
I am facing problem on sum of dynamic array value. For example : [B]tablename : totalamt[/B] ref_no | Amount 1 | 58 2 | 12 3 | 11 i am using check box to select the ref_no. now i am selecting 3 check box now and submit it. Now it … | |
Hi, I'm not very much used to with this kind of things, trying to call a class variable from a different page... Please look at the code below: [B]class.php[/B] [CODE]class bag{ private $no_of_items=0; private $sub_total; public function update(){ $this->no_of_items = $this->no_of_items++; return true; } }[/CODE] [B]index.php[/B] [CODE] $cart = new … | |
Hi Everyone, Can someone explain to me where I got wrong with my code. I'm trying to pass a session variable from page to page, from the first to second page the value is still there but on the succeeding page the value is gone. I have ensure that the … | |
Hi, I have a problem getting the value of my arrays into my database. I have 2 sections, the thing is the first section adds all the correct values into the database, where the second section adds 0 to the question_id variable. Form Page: [CODE]//Section 1 $countquestion = 0; $query … | |
Alright, I've been curious about making a code that can send a text message. I figure if it's possible to send emails with php, there's probably a way to do the same with a text message. I did come across this [URL="http://www.daniweb.com/web-development/php/threads/382740"]thread[/URL] which seems to be using a gateway to … | |
input_berita_static.php [CODE] $id = isset($_POST['id']) ? $_POST['id'] : ''; $confirmation = isset($_POST['confirmation']) ? $_POST['confirmation'] : ''; $kategori = isset($_POST['kategori']) ? $_POST['kategori'] : ''; $isiBerita = isset($_POST['isiBerita']) ? $_POST['isiBerita'] : ''; $judul = isset($_POST['judul']) ? $_POST['judul'] : ''; //Load berita if (!empty($_REQUEST['id'])){ $result = mysql_query("SELECT * FROM static_page WHERE id =".$_REQUEST['id']) … |
The End.