39,393 Topics

Member Avatar for
Member Avatar for k99rs

I have PHP scripts inside my HTMl file. I am using Apache. I created a .htaccess file and place it in my root directory of the application with the following as its contents AddType application/x-httpd-php .php .html .htm I want to allow the server to execute the PHP scripts inside …

Member Avatar for nturup
0
309
Member Avatar for ImaComputerLuvr

I have an html form to get a number from the user for a calculation. The first number is given. The second is entered by the user. The result is posted to the same page. BUT the resulting answer is now the first number and again the second number is …

Member Avatar for ImaComputerLuvr
0
138
Member Avatar for dawbin

I'm an experienced ASP/MSSQL programmer trying to make the move to PHP/MYSQL and I've been able to wrangle my way up to now. I have a simple SQL query that works great in mymcadmin but gets lost in PHP. I've simplified it a bit here but this is the actual …

Member Avatar for iamthwee
0
255
Member Avatar for burt.munn

I'm very new to PHP or any type of web programming for that matter. I need the to put the following script into two columns or possibly a table with two columns. I need Fahrenheit as the heading for one column and celsius as heading for the other? It took …

Member Avatar for burt.munn
0
237
Member Avatar for mark103

Hi all, I need your help, I'm working on my PHP as I want to get the list of links for each array in get-listing.php. I want to get the list of links for each array like this: http://testbox.elementfx.com/get-listing.php?channels=ABC FAMILY&id=101 http://testbox.elementfx.com/get-listing.php?channels=CBS&id=102 http://testbox.elementfx.com/get-listing.php?channels=CNN USA&id=103 http://testbox.elementfx.com/get-listing.php?channels=ESPN USA&id=105 ..and so on I want …

Member Avatar for iamthwee
0
268
Member Avatar for adhirgukt

Hi to all! I'm using windows 8 in my sysytem. And want to create a website, but it needs php,asp or asp.net programming. I have installed IIS . For php i'd downloaded the .zip file from microsoft.com but it's not working correctly. Shall i setup these three things IIS directly …

Member Avatar for ilesanmi
0
237
Member Avatar for nstrazimiri

Hello. I need to export the text typed into the text area and import it into an arraw. but when i type in new lines it cant't read it. example:when user types: aaa bbb ccc bbb the out put at the end should be: aaa bbb ccc this is the …

Member Avatar for diafol
0
540
Member Avatar for davy_yg

Hello, I am trying to update phone number in the maps: http://www.indonusa.net.id/IndonusaCMS/contactus.php Yet, I still do not find a way to do so. I have updated all the phone number in the maps just like in the text next to your message. Yet, even after I refresh it the phone …

Member Avatar for davy_yg
0
96
Member Avatar for Maideen

Hi I am new in php. Below code works fine. But If I change Select Command Like this: $sql = "SELECT login_id,password FROM user_right WHERE login_id = '$username' and password = '$password'"; It shows error recorde not found. Also I need to show the role of select user. Pls Help …

Member Avatar for Maideen
0
370
Member Avatar for kingkong142

Hi, I checked error log and found following php errors/warning, 1) File CODE: <a href="http://<?php echo $esrow_off['fld_company_url']."".stripslashes()?>" target="_blank"><img src="<?=$domain_url?>/admin/partnerimages/<?=$esrow_off['fld_partners_image']?>" border="0" height="42" /></a> PHP error / Warning: [17-Jun-2013 23:31:59 Europe/Minsk] PHP Warning: stripslashes() expects exactly 1 parameter, 0 given 2) File CODE: $esq_row2=mysql_fetch_array(mysql_query("select * from esb2b_products where es_id=$id")); [16-Jun-2013 00:29:51 Europe/Minsk] …

Member Avatar for stekmil
0
299
Member Avatar for mc3330418

I have a secret word. People need to guess the secret word by entering single letters. When they start it will have **** for the word. When they guess a letter, an asterick shoud be replaced with the correctly guessed letter. I cant get the charachter to replace in the …

Member Avatar for iamthwee
0
2K
Member Avatar for haps.chouhan

how to fix below error Notice: Error: Table 'oc_product_profile' already exists Error No: Table 'oc_product_profile' already exists CREATE TABLE `oc_product_profile` ( `product_id` int(11) NOT NULL, `profile_id` int(11) NOT NULL, `customer_group_id` int(11) NOT NULL, PRIMARY KEY (`product_id`,`profile_id`,`customer_group_id`) ) ENGINE=MyISAM COLLATE=utf8_general_ci; in /home3/ffashion/public_html/ffashionfox.com/system/database/mysql.php on line 51 and my sql database is: <?php …

Member Avatar for manoj hanse
0
403
Member Avatar for Mohamed_26

I am having trouble in styling the table in php code. I was wondering if u can help me with it? echo "<table border='1' padding = '20'>"; echo '<tr>'; echo '<th>DVD Name</th>'; echo '<th>Price</th>'; echo '<th>Quantity</th>'; echo '<th> Total </th>'; echo '</tr>'; I just want to like change the colour …

Member Avatar for Mohamed_26
0
81
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
519
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
225
Member Avatar for hiiiiii@
Member Avatar for diafol
0
310
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
186
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
119
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
199
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
198
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
193
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
246
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
252
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
69
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
506
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
197
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
334
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
303
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
282

The End.