39,388 Topics

Member Avatar for
Member Avatar for sibymary

hi friends, i want to search the data from the mysql database in html form and display that searched data in html form...can u give script for this...

Member Avatar for digwnews
0
58
Member Avatar for s0bigg

I am facing a strange error when I execute a php mail script. Its related to server could not verify the sender. I see following error: Failed to add recipient [email]email@domain.com[/email] [SMTP: Invalid response code received from server (code:550, response: Verification failed for unrouteable address Sendor verify failed)] Would you …

Member Avatar for pritaeas
0
530
Member Avatar for uselessninja

Hi .. How can i display data from database base on a specific date and time... im thankful if someone help me

Member Avatar for uselessninja
0
97
Member Avatar for Dragonbaki

Hi guys., I have trapped in a very critic situation. I need to upload files without any restriction of file size. I have a uploader developed using Flash and PHP. I have changed the settings in php.ini as follows upload_max_filesize = 100M post_max_size = 128M memory_limit = 512M max_execution_time = …

Member Avatar for Dragonbaki
0
165
Member Avatar for haimz

Hello evryone :) By saying disable bots to my site i meen: That no one can do "file_get_contnst","cURL","get_meta_tags" or things like that to my site .. How can i disable that for others? Thanks, and sory for bad english .

Member Avatar for cereal
0
108
Member Avatar for shobe089

hello there. i was just wondering.is it possible to get the text display of your div and place it in a variable? if so, how should i do it? i've been searching for a solution in this problem but i can't find anything.thanks in advance.

Member Avatar for fobos
0
540
Member Avatar for jesyka82

I am developing a project for a client with a single table in the database for users which includes information about each user, including a field for the userID of a user who referred them. What I need to do is query the "referrer" field of each user record and …

Member Avatar for cereal
0
130
Member Avatar for mrhankey

hi guys, i have a site which is built using php/mysql with some jquery etc in it. is there an easy way to create an offline installation package of this which syncs to the online version? what is the easiest way to do this? thanks again for the help

Member Avatar for cereal
0
45
Member Avatar for mwenyenia07

i downloaded cronjob bootstrapper and edited as shown: #!/usr/bin/php [CODE] <?php /* |-------------------------------------------------------------- | CRON JOB BOOTSTRAPPER |-------------------------------------------------------------- | | By Jonathon Hill (http://jonathonhill.net) | CodeIgniter forum member "compwright" (http://codeigniter.com/forums/member/60942/) | | Created 08/19/2008 | Version 1.2 (last updated 12/25/2008) | | | PURPOSE | ------------------------------------------------------------- | This script is …

Member Avatar for rch1231
0
956
Member Avatar for cliffcc

The implode function is not worked! I want to show the string as follows; id-101-102-103-104-105 [code] $handle = fopen($_FILES['file']['tmp_name'], "r"); while(!feof($handle)) { $data = fgets($handle); $listing = explode(",", $data); $id = $listing[0]; $name=$listing[1]; // this is second column data. $telephone = $listing[2]; $email = $listing[3]; $id1 = implode("-,$id); echo "id …

Member Avatar for cliffcc
0
390
Member Avatar for cliffcc

What is the error below, i cannot use it ? The result is blank page! Thanks! [code] <h2>Search</h2> <form name="search" method="post" action="search.php"> Seach for: <input type="text" name="find" /> in <Select NAME="field"> <Option VALUE="fname">First Name</option> <Option VALUE="lname">Last Name</option> <Option VALUE="info">Profile</option> </Select> <input type="hidden" name="searching" value="yes" /> <input type="submit" name="search" value="Search" /> …

Member Avatar for cliffcc
0
122
Member Avatar for klemme

Hey, I have all pages in my site, coming from the DB, and I get urls like this: [B]enkeltwebdesign/index.php?sid=1&titel=FORSIDE[/B] The name of my site: [I]enkelt-webdesign.dk[/I] Does someone know how to write the correct mod_rewrite, so I can change the urls to: enkelt-webdesign.dk/forside (forside = home) enkelt-webdesign.dk/webdesign (...) [I]etc etc[/I] So …

Member Avatar for klemme
0
248
Member Avatar for SolidSora

I'm trying to use a for loop to convert a number into star images. My program reads from an SQL database to take a rating, which that works fine, but when I try to use a for loop it's a problem due to it being inside a table. Here's my …

Member Avatar for SolidSora
0
119
Member Avatar for spanners

Ok, probably quite a basic question, but here goes: I'm creating a string that will hold the contents of an xml file that is being created dynamically. here's an example: $new_xml = "<?xml version='1.0'?>-<params>-<param><key>[COLOR="Green"]$clubName[/COLOR]</key><textValue>" [COLOR="Red"].$club_name[/COLOR]; Having looked at this, I've suddenly realised that the string part is still going to …

Member Avatar for spanners
0
181
Member Avatar for matleeds

Hi there, I'm a .net developer and I've inherited a partially complete php project. I'm trying get part of it running on my pc and am running into some issues due to my fairly limited knowledge with php/apache web server. I'm using Windows Vista, I have Apache HTTP server 2.2 …

0
68
Member Avatar for cipcip

Hi, I have a question about htaccess. I have the following code: [CODE]RewriteRule ^([0-9a-zA-Z\-\_]+)$ ./profil.php?user=$1 [/CODE] This of course suports numbers, letters, capital letters, dash and underscore. If I add a \. for it to support a dot, it gives me an error. How to add dot ? Also, how …

Member Avatar for vibhaJ
0
117
Member Avatar for lobebe

Please can some help me with the error in the code below. thank you in anticipation. [CODE]<?php $obj = new Unit(); { global $database; $Unit = $obj->select_row_query ("SELECT `reservation_extras` FROM `".$obj->get_table_name()."` WHERE `id` = '".$_GET['PropertyId']."' AND `published` = 1", 1); $rexzz=explode(",", $Unit->reservation_extras); $i=0; $total_ext=0; if(!empty($Unit->reservation_extras)||$Unit->reservation_extras=='[end]'); } foreach($rexzz as $rexz) { …

Member Avatar for lobebe
0
212
Member Avatar for mwenyenia07

i installed ubuntu 10.04 and had an application supposed to regularly send mails. initially it was workin but after updates, it stopped. i have tried to re-configure php.ini but still the problem persists. i have also restarted sendmail but in vain. help get out of this problem please.

Member Avatar for cereal
0
79
Member Avatar for Buppy

Hi, I'm having an issue with session storing. I have installed cakePHP and it has a default table created in the database for sessions (cake_sessions) and 3 fields: id, data, expires. Is there any way to change the session domain? For example, i want to pass the session data to …

0
55
Member Avatar for lalaka90

hello... i need help from you all.. i am still new in php.. i hope you all can help me.. i am desperate. i can't delete delete data(delete multiple row from mysql using check box). this is my coding.. the cooperation is greatly appreciated. i have 2 file this is …

Member Avatar for vibhaJ
0
315
Member Avatar for newbie14

Dear All, I have function where I read from a mysql table a set of value. Part of my codes is like this [CODE]echo "<tr id='gridRow'> <td >$count</td> <td> <input type='checkbox' onClick=selectAndUpdate('$row1[size]')></td> <td> {$row1[SerialNo]}</td> <td> {$row1[InHouseBranding]}</td> <td> {$row1[BrandCode]}</td> <td> {$row1[size]}</td> <td> {$row1[Pattern]}</td> <td> {$row1[EntryStatus]}</td> </tr>";[/CODE] A sample row generated is …

Member Avatar for vibhaJ
1
97
Member Avatar for spawn2004

hi everybody i have a question : I am writing a website and i havee a drop down menu. when the user is logged out he can see part of the menu and when hi is logged he see the other part. i hide the menu with <?php if(isset($logged)){ ?> …

Member Avatar for spawn2004
0
153
Member Avatar for whiteyoh

Hi All, Im in the middle of making a dynamic multi part email and have come accross a snag. The function receives a file, and depending on the content of that file it then processes the relevant headers and mixed parts, however, rather than echoing the items i need to …

Member Avatar for whiteyoh
0
139
Member Avatar for seularts

I need a bit of help to make a connection to a mysql DB with a function and then create an admin table. I got this far: [CODE] function dbconn($db_host, $db_username, $db_pass, $db_name) { /* Global research function */ global $researchDbLink; if($researchDbLink) { return $researchDbLink; } /* Connect to DB …

Member Avatar for seularts
0
104
Member Avatar for Lexani
Member Avatar for hellojohnatan
0
158
Member Avatar for mwenyenia07

i have tried to create a function to send Email and this is the code: $this->load->library('email'); $this->email->from('gbagbo@presidency.com', 'elhaji'); $this->email->to('abdjan@ivoycoast.com'); $this->email->cc('another@another-example.com'); $this->email->bcc('them@their-example.com'); $this->email->subject('Email Test'); $this->email->message('Testing the email class.'); $this->email->send(); echo $this->email->print_debugger(); it displayed the following error: Severity: Notice Message: Undefined index: Subject Filename: libraries/Email.php Line Number: 969 i tried to add …

Member Avatar for sureronald
0
93
Member Avatar for legends

I need to know how to pass the data's from database to a constructor like this "Jungle Book" => new Book("Jungle Book", "R. Kipling", "A classic book."), "Moonwalker" => new Book("Moonwalker", "J. Walker", ""), "PHP for Dummies" => new Book("PHP for Dummies", "Some Smart Guy", "") my coding is [CODE]$data …

Member Avatar for legends
0
128
Member Avatar for Sorcher

Do anyone see what im doing wrong with the update query? i get this mysql_error message; You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-xxx WHERE id = '616' AND userid = '15'' …

Member Avatar for karthik_ppts
0
140
Member Avatar for lalaka90

good morning. i am new still new in php. I need help from you all. why i cannot delete multiple rows from mysql with checkbox in my database... this is my coding.. <?php $host="localhost"; // Host name $username="root"; // Mysql username $password=""; // Mysql password $db_name="cek"; // Database name $tbl_name="del"; …

Member Avatar for karthik_ppts
0
211
Member Avatar for uselessninja

hi ... i is it possible in php: updating/refreshing a page once per 30seconds (1/30 secs) and it can be set for 2x,3x times and so on.... and also the seconds (the 30 seconds ) can be set also....

Member Avatar for uselessninja
0
121

The End.