39,323 Topics

Member Avatar for
Member Avatar for RAM_8

Hi Everybody, Im running a Software web application - www.physioplustech.com My clients are asking for an offline version, where they can Access previous data and they can add new data even without internet connection. I wish I can create a desktop icon for my application, which when offline opens a …

Member Avatar for RAM_8
0
507
Member Avatar for mwnt2014

Detect mobile browser for android and iphone.. Want to Use below code as in wordpress post if(strstr($_SERVER['HTTP_USER_AGENT'],'Android')){ echo '<img src="/images/android.png">'; } else if(strstr($_SERVER['HTTP_USER_AGENT'],'iPhone')) { echo '<img src="/images/iphone.png">'; } else { echo '<img src="/images/Download-now-button.png">'; }

Member Avatar for Ajay Gokhale
0
223
Member Avatar for hiiiiii@
Member Avatar for diafol
0
308
Member Avatar for Iikeloa

Hi I'm working on this project and Ifaced this little problem,which is that I have two tables and I need them to be side by side but the problem is that I get every table in a separate line ! <center> <table border="1" width="40%"> <tr> <td> <center><h5>order</h5></center> </td> <?php $sql_order …

Member Avatar for Iikeloa
0
182
Member Avatar for hiiiiii@

hi im using to table members and orderitems,food_details members table has the following fields memebr_id membername food_details has the following fields food_id price orderitems has fiels such as order_id member_id food_id quantity price total. I need to insert member_id,food_id,foo_price from tables members,food_details into order_items table .how to achieve ?

Member Avatar for milil
0
117
Member Avatar for jacob21

I have a column name descrption in a table.. descrption contains multiple rows like claim for my new mercedes purchase my new car ------ ----- I am trying to explode each row and save each entery in a new column. claim :save in split1 for:save in split2 my:save in split3 …

Member Avatar for broj1
0
198
Member Avatar for Mike_danvers

i am trying to do multiple photo upload but its not working,i can just upload just one image at a time here is my code.I am looking for uploading multiple image using multiple file input type and a single submit button. <html> <body> <form action="imgupsuc.php" method="post" enctype="multipart/form-data"> <?php @$nm=$_POST['n1']; ?> …

Member Avatar for davidjennings
0
196
Member Avatar for iamthwee

hi guys... what is the simplest php forum to add to my cms. I'm struggling finding something simple which separates the db code and view(html)

Member Avatar for diafol
0
191
Member Avatar for chaitu11

i am unable to concardinate i am getting error.. <?php $subject = "You got a Project Invitation from ".echo $_SESSION['user_name']; ?>

Member Avatar for Ajay Gokhale
0
245
Member Avatar for Falcon760

How do I add records to a mysql database using a combo box of text and checkmarks in php? <html> <head> </head> <body> <h3>Add New Record in MySQL Database</h3> <form method="post" action="adding.php"> <table width="400" border="0" cellspacing="1" cellpadding="2"> <tr> <td width="100">Worker Firstname</td> <td><input name="firstname" type="text" id="lastname"></td> </tr> <tr> <td width="100">Worker Lastname</td> …

Member Avatar for k99rs
0
250
Member Avatar for dukumanis

i have a problem to display available hardware for my system.. any example of coding or suggestion for me to settle this?

Member Avatar for jj.dcruz
0
68
Member Avatar for Zurompeta

Hi everyone, Got a pesky little issue here with cookies. I have searched numerous forums and numerous posts of how to delete a cookie. So, I am much aware of this doing the trick: [code=php]setcookie('cookie_name');[/code] Basically where not assigning any value to a cookie will delete it. (This is just …

Member Avatar for dave.shaw.37
0
1K
Member Avatar for johnef_sh

I need to upload 5 images at ones with they labels I have made this before to upload many images at one it works fine but I need to have an label for each image how this can be done take a look at my code. this is the HTML …

Member Avatar for Mike_danvers
0
493
Member Avatar for LaurenE

Good Day Daniwebbers! Wonder if I can have some help. I am trying to build an 'admin panel' of sorts where the user can add content to their website, edit and delete it, all from one spot (Not unlike a CMS system I guess but purely for the purpose of …

Member Avatar for LaurenE
0
196
Member Avatar for nileshbhanu

FB.api('/me', function(userInfo) { console.log(userInfo.email); var emailid = userInfo.email; console.log(emailid); }) $.ajax({ url: 'index.php?r=tryon/saveemailid', type:'post', data:{'saveemail':emailid}, success : function(data){ alert("success!"); } });

Member Avatar for nileshbhanu
0
332
Member Avatar for CarterLangley

Me again, I have the following which should generate a form and populate that form. <?php session_start(); include("db_connect.php"); if(($_SESSION['user_id']) && ($_SESSION['access_level'] == 1 )) { ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <head> <title>Teaching Int Limited - Home</title> <meta name="title" content="Teaching Int Limited"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta …

Member Avatar for CarterLangley
0
301
Member Avatar for iamthwee

Evening ladies and gents. Just wondering what is common practice but once a session is set I have been using a validate session in each method/function in my controller. Seems like a lot of typing... necessary ... still a lot of typing. Is this what everyone else does? Ta.

Member Avatar for cereal
0
280
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
95
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
260
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
325
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
200
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
228
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
574
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
98
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
403
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
193
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
187
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
162
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
873

The End.