39,402 Topics

Member Avatar for
Member Avatar for rahul8590

For example , As i registered in daniweb.com , a mail was sent to my email id and after clicking on that link , i could complete my registration . i want to develop a similar module in php , where the users after signing in , i sent this …

Member Avatar for diafol
0
330
Member Avatar for sastudent

The code below is my insert statement to get values into my database. However, I now have an update page where users can update their information. I thus have a form in which their initial info is inserted and now they can change it and submit again thereby updating the …

Member Avatar for sastudent
0
127
Member Avatar for MarkBloomfield

I am using php mail to send a confirmation email from a web page. It all works absolutely fine until the email address is in the format [email]xxx.yyy@zzz.com[/email] That is to say there is a . in the local part of the address. I have tested the code and had …

0
88
Member Avatar for kaash1

I need help with the following query, i will be so thankful if anyone can help me please. I have two tables in database: Table1: [CODE] Column1 Column2 Status smith john 1 jack smith 0 julia rob 1[/CODE] Table 2: [CODE] Column1 Column2 thomas lewis scott smith john evans lopez …

Member Avatar for Manuz
0
108
Member Avatar for red_ruewei

Hi, I having problem to fix this problem. Already search for related thread, but cannot find a solution. The case is like this. I have 2 system that intergrate each other. Let assume as system A and B. User need to login from system A and can use system B …

Member Avatar for Manuz
0
131
Member Avatar for samsons17

hi all.. I just want to ask,is it correct,in a class that we have built,PHP will first execute the constructor function before the others?? to make it clear is this is example : [CODE] <?php class database { public function __construct() { $this->open_connection(); } public $connection; public function open_connection() { …

Member Avatar for samsons17
0
104
Member Avatar for renoua

Hello, I have this part of php code... [CODE] <?php $dom = new DomDocument(); $dom->load("anna.xml"); $xp = new domxpath($dom); $unitid = $xp->query("/ead/archdesc/dsc/c01/did/unitid"); foreach ($unitid as $check) { print '<a href="#" onClick="displayResult2(' . $check->textContent . ')">' . $check->textContent . ' </a>'; // I presented the unitid's of a xml file and …

Member Avatar for renoua
0
249
Member Avatar for srdva59

hi, i have a php file that perform a query with the data that he receive form post information. what i need to do is detect from where the data is coming is is same domain or not and block when is not from the same domain. thanks a lot …

Member Avatar for pritaeas
0
85
Member Avatar for bynor

Hello there, i got a problem uploading Mp3 files, i use this Form: [code=html]<form enctype="multipart/form-data" method="post" name="carica" action="car1.php"><tr> <td><font color="#990000">Nome Canzone: </td><td><input type="text" name="use"></td></tr> <tr><td><font color="#990000">Nome Artista: </td><td><input type="text" name="art"></td> <tr> <td> <input name="uploaded" type="file" /></td><td><input type="submit" value="Caricare canzone" name="car"></td></tr> </form> [/code] and this Php : [code=php]$target = ""; $target …

Member Avatar for shubhamjain1
0
110
Member Avatar for canterorist

Hi! i know you already experience to use this two cms software. I only want to know which of this two is the best. I have planned to create a site and then i am hesitate. I want your opinion or suggestions. please help me!

Member Avatar for nazar22
0
121
Member Avatar for keval_hack

hi, I am php programmer and i want to develop website in Gujrati (Indian Language). Can any one Help me how i can do this. thanks...

Member Avatar for nazar22
0
461
Member Avatar for 68thorby68

To all experts, I am trying create a page that allows users to view and reuse images returned from mysql. In the mysql database I have two columns "image_path" (which stores the path and name of an image stored in the file system) and "image_name" (a text name that the …

Member Avatar for ppetree
0
126
Member Avatar for maunica
Member Avatar for rajarajan2017
0
78
Member Avatar for severman

hi all i want to show the user 2 forms together. mail and password(which means the user will have 2 submit buttons, one for the mail form and one for the password form). the purpose is to let the user change his mail/password but he wont have to change both …

0
58
Member Avatar for tarek71
Member Avatar for aMOEBa

Really I am a PHP beginner, I am working on this code and I need help, kinda stuck. I have a database with 3 fields(id, date and venue). This is simply what I want to do; I want my script to go into the database fetch the date and compare …

Member Avatar for aMOEBa
0
4K
Member Avatar for joshke

At first, hello everybody! I want to make a php script which autofollow other users on twitter. The userinformation like the twitter username password or the search tearm will be saved in a database and read out. Here are is my code so far, but won't work correct: Autfollow.php [CODE] …

Member Avatar for joshke
0
69
Member Avatar for make11

Hi all, I'm sorry my bad english. If don't understanding something, please ask. I have a problem with my calendar. Can somebody tell me why I can't mark day cell in my calendar. Do I miss something what I can't see or is my code failed? My calendar is full …

Member Avatar for make11
0
164
Member Avatar for maunica

[CODE] <?php include('connect.php'); $type=$_POST['type']; $seat=$_POST['seat']; $no = $_POST[chkno];//number of checkbox checked $i=0; while($i<=$no) { $sql2="insert into bookinglist (type,seat) values('$type[i]','$seat[i]')"; $i++; } if (!mysql_query($sql2,$con)) { die('Error: ' . mysql_error()); } echo "1 record added"; mysql_close($con); ?> [/CODE]

Member Avatar for vaultdweller123
0
55
Member Avatar for jbancrof

What I mean by this is when a person move over the main menu item that the menu shows the menu items with out clicking.. I guess like flash would.. Like the menu items above on this page.. ?

Member Avatar for almostbob
0
67
Member Avatar for greatunknown

To get to the brunt of it, I have a link list on the left sidebar of my site, each link is just a recordset table value and I used a repeating region to repeat down. Therefore the list of links is essentially a list of recordset table values from …

Member Avatar for blackhole
0
92
Member Avatar for julzk

Hey all, I have a php query to calculate numbers and fix them. Say I have the following set of numbers: 2.38 3.4 3.45 10.3 8.1 5.07 4.8 I want all the numbers to be aligned, so the numbers that are 3.4, 8.1, 4.8 etc should have an attached 0 …

Member Avatar for julzk
0
61
Member Avatar for lbrown1179

Hello, I'm the volunteer webmaster for my church and tried to integrate a WordPress blog into my CSS-HTML site. It was going well following the tutorial at [url]http://www.burnseo.com/blog/2009/10/integrate-wordpress-into-existing-website-tutorial/[/url] until I edited the index.php file with the tutorial's code shown below. Then I got syntax errors in the browser, starting with …

Member Avatar for lbrown1179
0
96
Member Avatar for SerjSagan

I am planning to use preg_replace to remove some unwanted stuff from dynamic string $mystring: <ul><li><a href="http://www.url.com/wiki/How_to_fix_erection_problems_after_prostate_surgery&amp;diff=335&amp;oldid=prev">How to fix erection problems after prostate surgery</a></li> <li><a href="http://www.url.com/wiki/Wikipenis:Community_Portal&amp;diff=334&amp;oldid=prev">Wikipenis:Community Portal</a></li> </ul> This string is generated from an RSS reader. (The url has obviously been replaced to make sure no one thinks this is …

Member Avatar for SerjSagan
0
163
Member Avatar for iqra123

hii i am trying to write code for Login but its not working.. i have used this code for my another loginpage there its working dont knw y its not on working on my new page. when ever i click on Login button it goes in else statement that open …

Member Avatar for iqra123
0
80
Member Avatar for ben.matthews18

Ok here's the situation; I have these tables setup in MySQL; [B]Table name[/B] - Users UserID - INT Primary key Auto increment Email - VARCHAR Password - VARCHAR Firstname - VARCHAR [B]Table name[/B] - WallPosts PostID - INT Primary key Auto increment UserID - INT Foreign key Email - VARCHAR …

Member Avatar for chrishea
0
65
Member Avatar for naju
Member Avatar for yasir.se
0
98
Member Avatar for sam1

Hi, is there any source or tutorial i can use to build a voice chat application, it is just for test purpose want to build my skills on php. i searched google and came up with using ajaz and zend framework. but i want your opinion on this ? thanks

0
67
Member Avatar for MDanz

it should display in the textarea "car1>>car2" instead it displays "car1&gt;&gt;car2" try this code... it doesn't work. put your mouseover "test". [code]<?php $sumz= "car1>>car2"; $textsearch = array('&amp;lt;','&amp;gt;'); $textreplace = array ('<','>'); $textareatext = "$sumz"; echo "<div style='display:none;' id='1'>".str_replace($textsearch,$textreplace,htmlentities($textareatext))."</div>"; echo "<table><tr><td onmouseover='Test(1);'>test </td></tr></table>"; echo "<br /><br /><textarea name='reply' id='reply' style='color: #000000; …

Member Avatar for MDanz
0
115
Member Avatar for eliolum

hey guys am also doing online voting wanted to be help with codes for voters login am doing online voting system for our university

Member Avatar for jen06
0
73
Member Avatar for tulipputih

Hello everyone, I used session and the id of the selected checkbox are passed to another page currently. now I do another query based on the ID of the selected checkbox. I want to display the fields from the selected result in columns like this [url]http://www.bluenile.co.uk/diamond_co...OMPARISON_STEP[/url] I did this [CODE] …

Member Avatar for tulipputih
0
126
Member Avatar for vilasdhobale

I have developed PHP application having Visitor management system i would like to match information (Visitor profile names ) from orkut application to my application ? If i suppose type a visitor name on my application form, so that at the same time it should get existing orkut profiles autolisted …

0
57
Member Avatar for shubhamjain1
Member Avatar for wish02

I have a drop down menu and i'm also using an iframe. how do i get the value of the drop down selected value if the url doesn't change at all? it is always the main page's url that is shown. HELP!:) thanks!

Member Avatar for wish02
0
61
Member Avatar for vilasdhobale

i am trying to connect client access databae file from remote php code fetch record from access and update to remort mysql databaset anyone help me.... how to do this..

0
68
Member Avatar for vibhaJ

I have uploaded all my files on the Apache/2.2.3 (Red Hat) live server. There is htaccess file on the root of website for converting php to html. But it is not working and getting "Internal Server Error". If i blank that htaccess code then it works. I don't know what …

Member Avatar for pritaeas
0
206
Member Avatar for jatpatel1

Hi there, I have been scratching my head for a few days now! with this problem: I am trying to echo out some data from a mysql table. I have a column name Country which has the following Countries: India, Malaysia Austaralia etc. I also have a column name Town …

Member Avatar for kingredyard
1
237
Member Avatar for aMOEBa

Hi geeks, I am working on a query string but I am kinda stuck with the code, I guess this is so cos am a PHP beginner. I want my script to display members list from a table in my db and attach a hyperlink to it so that when …

Member Avatar for rajarajan2017
0
162
Member Avatar for jayreis

Hello, have a page where I am going to be doing multiple queries on different databases. However I thought my below code would work but it does not seem to resurn any error message nore any result set. Here is my common database connection file <?php //database username and pass …

Member Avatar for rajarajan2017
0
162
Member Avatar for yande

am getting an error wen i run the following code am saving it as welcome.php and using wammp Welcome <?php echo $_GET["fname"]; ?>!<br /> You are <?php echo $_GET["age"]; ?> years old. ERROR Welcome Notice: Undefined index: fname in C:\wamp\www\welcome.php on line 4 ! You are Notice: Undefined index: age …

Member Avatar for rajarajan2017
0
72
Member Avatar for Lolalola

Hi, On this site I found a lot of cool examples of PHP OOP. Maybe you know where to find complete examples? Guest books, registration forms, blog... When I look at the full model is much easier to understand OOP PHP. As different classes interacting with each other, exchange data …

Member Avatar for rajarajan2017
0
102
Member Avatar for vibhaJ

This problem is on AWS linux instance,in local its working perfact. Here is my flow: this file is:test.php [CODE] require_once('system/config.php'); $_SESSION['name']='test'; echo 'session -name- is:'.$_SESSION['name']; exit; [/CODE] Expected Output: session -name- is:test (its coming.OK) here i have set session value to test. so in page session is now live and …

Member Avatar for vibhaJ
0
152
Member Avatar for tejasluvs

I am working on a PHP application and there is a link by which Invoice Preview can be seen and it is dynamically generated. There will be an option in this preview to convert it into PDF. I am trying to find a php class or script which will easily …

Member Avatar for tejasluvs
0
73
Member Avatar for tejasluvs

Hi, Can we retain multiple checkbox selection upon refresh or using pagination for few hundred records? There is a page where user sees all the items which has search box on the field column to perform searches and select items using checkbox besides those items. While searching the items page …

Member Avatar for tejasluvs
0
129
Member Avatar for vilasdhobale

I has been developing Visitor Management system this facilited service Digital Sigmnature , Webcvam photo capture and thumb impresion but thumb impresion not succesen in php i am trying ot intigreat thumb impresion capture and save to mysql database but not success. [B]i need thump impresion code [/B] please help …

0
50
Member Avatar for sastudent

Below is [B][U]SOME[/U][/B] code from my [U]drop down box class[/U]. I would like to make the drop down box sticky so that when a user fills out the form and makes a mistake, or leave out a certain field, the values he/she selected from the drop down box remain intact …

0
95
Member Avatar for praveen_dusari

hi all, iam using a php web services from xignite iam not able to use it properly [CODE]$xignite_header = new SoapHeader('http://www.xignite.com/services/', 'Header',"Tracer" => "1")); $wsdl = new soapclient('http://www.xignite.com/xMetals.asmx?WSDL'); // attach SOAP header $wsdl->__setSoapHeaders(array($xignite_header)); // call the service: pass the parameters and name of the operation $input_params = array('Types' => "XAU", …

Member Avatar for eaksin
0
151
Member Avatar for BTW8892

Hey, i was wondering if it was possible to find the sum of all the values in certain row and than find the max value of all of them. I have the following code, but it only grabs the largest value from all the rows, is it possible to sum …

Member Avatar for BTW8892
0
117
Member Avatar for jen06

Hi, I am new in this site. I'm a computer science graduating student and trying to get some information regarding online voting system. Unfortunately, I don't have any idea using PHP language. I really need brilliant ideas in building this system. Any idea that you would send would be highly …

Member Avatar for chrishea
-1
86
Member Avatar for LloydFarrell

Hi, I am using substr to bring back only the first few lines of text from a database field - For example: $message_contents = substr($message_contents, 0, 43); How can I protect against the substr to deliver the next full word ? so, if my 44th,45th,46th charachters were (com) currently the …

Member Avatar for kc130
0
138

The End.