39,393 Topics

Member Avatar for
Member Avatar for nacedo

I am looking for a complete solution in php/mysql for storing personnal informations. Example : The user logs in, fill a form and store it in the server. Everything is encrypted. The user can edit the form. The admin logs in, can view and edit the form. I am looking …

Member Avatar for iamthwee
0
96
Member Avatar for begueradj

Hello, I am using PHP 5.3.10 on Ubuntu 11.04. How can I upgrade my PHP version to 5.3.20 ? (I need it because the e-commerce CMS I want to install needs it). Thank you for any help

Member Avatar for iamthwee
0
263
Member Avatar for PriteshP23

Hello, I have used Single Translation Table Approach to make multilanguage site in PHP. You may see [here](http://www.apphp.com/tutorials/index.php?page=multilanguage-database-design-in-mysql#single_translation_table_approach) The current index page is not working. My objective is to have one example to use these tables and display one working page. For example: It should work like [this](http://demo.codeursolitaire.com/multilanguage/index.php) **by using …

Member Avatar for PriteshP23
0
329
Member Avatar for ankit.baphna

Hi Friends, User logged in as: ankit.baphna@gmail.com I am creating gif image by below line 1 code with name demo25_"email address of user" ex: demo25_'ankit.baphna@gmail.com'.gif it gets created in my folder with naming within single qoutes: 'ankit.baphna@gmail.com'.gif but I am not able to read this file to display image on …

Member Avatar for sftranna
0
202
Member Avatar for Ahmed_48

<?php //The fields and values to insert $user = array( 'users_screen_name'=>$vars ->screen_name, 'users_profile_image_url'=>$vars -> profile_image_url, 'users_name'=>$vars->name, 'users_statuses_count'=>$vars->statuses_count, 'users_location'=>$vars->location, 'users_description'=>$vars->description, 'users_oauth_access_token'=>$access_token['oauth_token'], 'users_oauth_access_token_secret'=>$access_token['oauth_token_secret'] ); // chek existing $check_column = 'users_id'; $exists = $database->exists( 'useres', $check_column, array('users_screen_name' => $vars ->screen_name )); if (!$exists) { $add_query = $database -> insert('useres', $user); if ($add_query) { …

Member Avatar for Fernando_4
0
231
Member Avatar for gee,selvin1990

**the below code suggested in some site to send mail with attachment. In the below code i have two attachment(TRYTEK.zip,TRYTEK.rar) in the server and with those attachment i want to send mail. But the below code is not sending mail with those attachment. Its sending only a Blank mail. Friends …

Member Avatar for Ajay Gokhale
0
577
Member Avatar for Shiny_1

I would like to include a new answer type in WP-PRO Quiz with visual analog scale. I would also like to change the title of the answer type. Please help

Member Avatar for diafol
0
99
Member Avatar for dagogodboss

I have a form that is a chat apps am building for project. Now everything seems to be working fine to best of my ability. Now i want to submit the data from the form into my php script without any form of reload. That means i don't want redirection …

Member Avatar for Ajay Gokhale
0
407
Member Avatar for flynismo

Good morning all I'm having a problem with injecting a class into the constructor of another class. I am creating an MVC framework, for learning purposes. In bootstrap.php, it loads the various classes needed, and also instantiates a few classes Code snippet for bootstrap.php below. <?php /** * file: /system/core/Bootstrap.php …

Member Avatar for flynismo
0
195
Member Avatar for jovstudios

Hello Guys, I have a codes for Ratings Question Using Radio Button, then i want to do is , if the user missed of the one question to be rated, then its should say, "One Question not Rated!" Can You Check if my Codes is Correct? or is there other …

Member Avatar for jovstudios
0
197
Member Avatar for nurul_1

I have problem with my if else statement. I want to show popup box which is a list of late submission. All i going alright, but there are problem when there are no late submission. The popup block still appear when it supposed not appear when there are no late …

Member Avatar for virtualsky
0
163
Member Avatar for sallaudin
Member Avatar for tejasluvs

How can I convert amount in words for multiple currencies? I am using some class & functions but they have bugs & not fully functional. Does anyone have full functional and tested code/example? Thanks in advance.

Member Avatar for nitinr
0
880
Member Avatar for chaitu11
Member Avatar for davy_yg

http://www.infracom.co.id/infracom/InfRaAdmIn337/index.php index.php <div class="login-header"> <div class="logo clear"> <img src="http://img.cr7.web.id/assets/wds-logo-circle.png" alt="" class="picture" /> <span class="textlogo"> <span class="title"><?php echo strtoupper($config['sitename']); ?></span> <span class="text"><?php echo strtoupper(ADMIN_TPL); ?></span> </span> </div> </div> Line 89: <span class="title"><?php echo strtoupper($config['sitename']); ?></span> How to fix the error? I cannot find what $config['sitename'] associated with.

Member Avatar for Bachu
0
131
Member Avatar for pritaeas

A while ago I explained how you could tag articles (see [this thread](http://www.daniweb.com/web-development/php/threads/387961/php-code-to-show-related-posts-on-a-blog)). Now you get a full working example. This code and the SQL script is also available on GitHub. The attached MySQL dump needs to be imported into your database, and you must update the credentials in the …

Member Avatar for aufche
2
910
Member Avatar for vexer007

Hi, I've run into absolute brickwall and am really desprate for your help please. I have a MYSQL Database with two Tables called user_comment and the second user_table. When a user register with the site, their details are kept in the user_table. the second table user_comment is so that users …

Member Avatar for chocolatte.lavista_1
0
407
Member Avatar for chocolatte.lavista_1

Please help me :) how to do this? Student post an assignment to the supervisor. Supervisor will receive that assignment and approve it whether click button YES or NO. The question here is, how to show YES or NO statement at the student page after supervisor has approved their assignment? …

Member Avatar for chocolatte.lavista_1
0
192
Member Avatar for Phesheya

I want to modify a table columns and rows the way I want them, but i have a problem on doing that please help me.

Member Avatar for chocolatte.lavista_1
0
111
Member Avatar for Mohamed_26

Hello I am trying to update the quantity value but I am not able to do it. As soon as the user clicks on Add To Basket, if the items exists I want it to update the value. At the moment, the quantity is one. //so this bit checks if …

Member Avatar for Mohamed_26
0
2K
Member Avatar for game4tress

I have the Ajax call listed bellow inside a jquery function, and the ajax call is not working. I've used "alert" to debug and its like the jquery function didn't even had the ajax call. Nothing inside it is processed, with no sucess and no errors. Isn't it possible to …

Member Avatar for dcdruck
0
459
Member Avatar for mike julius

hi im a beginner on php and i just want to know if my codes is correct because when i try to update it it only saves the last value i hope some one can understand me. $id = ($_REQUEST['StudentNumber']); $result= mysql_query("SELECT NameofSiblings, Age, HEA, CivilStatus, Occupation FROM $tblname where …

Member Avatar for mike julius
0
180
Member Avatar for davy_yg

Hello, I wonder about one thing: I am trying to create a uniform background for this all navigation links in this site: [Infracom](http://www.infracom.co.id/infracom/) I do not really create the site - since we no longer hire the one who create it and I have to maintain it. index.php <?php require('wds.php'); …

Member Avatar for davy_yg
0
174
Member Avatar for Wendy_1
Member Avatar for Wendy_1
0
724
Member Avatar for chaitu11

My resume is already present in resume folder with following formate eg: 3chaitanya.doc = > [session_id+session_firstname] i need to attach it to email without browsing it <?php session_start(); include('db.php'); $to = "company@gmail.com"; $fromEmail = $_SESSION['user_email']; $fromName = "Job tile"; $subject = "Applying for job"; $message = "some text"; //path of …

Member Avatar for chaitu11
0
171
Member Avatar for Mike_danvers

<html> <body> <table border=3> <form action=checkpass.php method=post> <tr> <td>userid</td> <td><input type=text name=n1></td> </tr><br> <tr> <td>password</td> <td><input type=password name=n2></td> </tr><br> <tr> <td><input type=submit value=login></td><br> <td><a href=registration.html>Create new account</a></td> </tr> </form> </table> </body> </html> //checkpass.php <?php session_start(); include "connect.php"; ?> <?php $userid=$_POST['username']; $password=$_POST['password']; $q="select * from cust_details where userid='".$userid."' and password='".$password."'"; $s=mysql_query($q); …

Member Avatar for Alhussaini.Eng
0
255
Member Avatar for spluskhan

when i try to submit my file i get error > Fatal error: Call to undefined function finfo_open() in C:\xampp\htdocs\Test\file_insert.php on line 49 My Code for Insert.php is: <html> <head><title>File Insert</title></head> <body> <h3>Please Choose a File and click Submit</h3> <form enctype="multipart/form-data" action= "<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> <input type="hidden" name="MAX_FILE_SIZE" …

Member Avatar for Alberto Bucur
0
3K
Member Avatar for Arunkumar k v

I have posted image in database, and i got that image also, but i want to replace the image using php code can any one help me this is my code <?php require("../db.php"); $id =$_REQUEST['id']; $result = mysql_query("SELECT * FROM doctors WHERE id = '$id'"); $test = mysql_fetch_array($result); if (!$result) …

Member Avatar for Arunkumar k v
0
116
Member Avatar for pooja_3

<?php $variable=$_POST['module']; $xmldoc = new DOMDocument(); $xmldoc->load('info.xml'); $xpathvar = new Domxpath($xmldoc); $queryResult = $xpathvar->query("testcase[substring-after( substring-after(script, '/'), '/' ) = '$variable' or substring-before( substring-after( substring-after(script, '/'), '/' ), '/' ) = '$variable']"); foreach($queryResult as $var) { echo $var->textContent; echo "\n"; } ?> I have written this code to fetch those content …

Member Avatar for pooja_3
0
205
Member Avatar for lord0o

Hi, I need to make a registration page to my Private Silkroad server on my website, and it works with SQL Server 2012. I'm not really into PHP neither SQL, just figuring it out with poor online guides on the web about it, and I didnt find any help with …

Member Avatar for urtrivedi
0
402

The End.