39,326 Topics
| |
Hello, I am trying to create a form with php that echo data like this: "echo -e “username /npassword” > filename". I created the form and php embedded code but I cant seem to create variables with the text box names. We currently have a automated guest wifi account creation … | |
Got a problem that has completely stumped me... am hoping the combined wisdom of the forum could assist... I have a php script that enables a user to follow and unfollow items on a site... Am doing this with a table that captures basically the user's id and the item … | |
I'm building a CMS in PHP and this is my first attempt to use ajax to do something cool. It's making my queryies problematic, however. I'm writing in this forum because my PHP forms worked fine before I did the following: On my index page, I have a header with … | |
After lots of home work I came here for support and help. Please see the site[Click Here](http://www.cbsecsnip.in) on home page I have menu Computer Science and sub menu XI which open XICS.php on this page threr are few links. From those links few must work if user already logged in … | |
Hi I would like to learn PHP. But I can't seam to find the proper IDE so I can learn Build and debug websites. Does anyone know an Express version or free trial that I could download. Thanks in advance. | |
Hi , I want to display PHP Code on my a.php page , I use <code> <?php if($c==1) { echo $c; } ?> </code> in my HTML page , but when I Run this page it Gave me the Value of $c , But I want to print this code … | |
Hi All, Can any PHP, MySQL expert help me with security considerations while accessing online shared hosting MySQL database(PHPMyadmin) from a local wamp servers PHP page. I even don't know whether it can be possible.Please answer with some recomendations. | |
# hi # how to find the users who are coming from gmail to my site without passing any parameter in url. i am using $_SERVER['HTTP_USER_AGENT']; but not able to find. Please can any one help me. Thanks | |
I am having trouble with this code block: if($row['banned'] == 1) { header( 'Location: http://www.awsomechat.comuv.com/ban/userbanned.php' ); } elseif ($row['banned'] == 2){ header( 'Location: http://www.awsomechat.comuv.com/ban/userbanned.php' ); } Ive also tried this: if($row['banned'] == 1 or $row['banned']== 2) { header( 'Location: http://www.awsomechat.comuv.com/ban/userbanned.php' ); } But none of this works... I am trying … | |
Hi everyone..im new to php and dont know much about my sql as well.actually i have displayed a mysql table from database to my webpage using php.now i've got a seperate list of teachers with thier data(firstname, last name,email, type).what i want is to edit a specific record from the … | |
Hi All, Here you need to understand two points 1)A Book Store App (which is a web application) made on PHP and MySQL is running on local wamp server(in one computer locally) for store's proprietary use, which is running fine. 2)I stucked with implementing online(Internet) version of web app for … | |
Hello, I'm currently working on a project and I need to get the values I need from the API server. I'm really new to working with objects and arrays alltogheter, can I have a little help and perhaps someone can provide a simple example on how I can do this … | |
Ok, following from my previous thread (now resolved) i want to convert and use namespace. **headScript.php**: <?php class headScript { public function connection() { try { $dbh = new PDO("mysql:host=localhost;dbname=roundth4_rtb2", 'root', ''); // Dev return $dbh; } catch(PDOException $e) { echo "Error :- " . $e->getMessage(); die(); } } public … | |
Hi All, I have a small problem. I want to add time tables for each grade in a school. Therefore in my addTimeTable.php page i have created a form to enter student grade, class and stream. (required only for grade 12 and 13) When a user clicks on "Add" button … | |
i am working with php and trying something new that if user inputs "a" than all the records of name starting with "a" in employee table should be displayed... $letter=$_POST["letter"]; sql="select * from emp where emp_name='".$letter."'* " //is above query write and the wild character to be used is write … | |
Hello, When I run this query then i am getting **SELECT * FROM upload where cas_no=''104-55-2''** Why I get backslash in my query ? Otherwise query is ok. and URL value is exact value. www.abc.com/upload_reportt.php?cas_no='104-55-2'.... so what happen with my sql query? <?php session_start(); include(functions.php); ?> <body bgcolor="#F5F5DC"> <a href="logout.php"><h3 … | |
Im trying to get transaction details of a paypal account, which I was successful in doing so, but I get this long (what i assume is an array) but I need to insert the details into a mysql database. I've tried several foreach methods but apparently I am doing something … | |
I am a new PHP developer, I run a LAMP server but use Win 7. For the PHP Developers out there, is it much more helpful to have a local WAMP server? I can see how it would be nice to be able to develop without uploading every four seconds … | |
I have to make a virtual host with xampp. I have IIS installed already for windows 7. So I had to change port number for apache with Xampp. I have configured many times different virtual host with port 80 that is default port for apache server. However right now I … | |
Hello there! I just want to know how to check if session variable is array because thee code that I am trying to work is not working see below :) <?php if(is_array($_SESSION['cart'])){ echo '<tr bgcolor="#FFFFFF" style="font-weight:bold"><td>Serial</td><td>Name</td><td>Price</td><td>Qty</td><td>Amount</td><td>Options</td></tr>'; $max=count($_SESSION['cart']); for($i=0;$i<$max;$i++){ $pid=$_SESSION['cart'][$i]['productid']; $q=$_SESSION['cart'][$i]['qty']; $pname=get_product_name($pid); if($q==0) continue; ?> | |
I want to be able to get the html of many different sites and parse them to pull the article text from them, it cant be specific for one site as i want to use it form many sites, what would be the best way of doing this? | |
Hello! I really need help! I have these codes but I can't make them work. In my first drop down list box, if I chose one option, I only wanted to see its appropriate value in the second drop down list box. For example, if I chose 'Quezon City' in … | |
Hello, I have this contact form [website](http://www.rustoleum-indonesia.com/konsultasi-konsumen.php ) Try to fill in the whole information then after you press submit, the next page start to hang. Why is it? <?php // FORM VALIDATION AND RECAPTCHA SETTING // Include ReCaptcha and define keys require_once('recaptchalib.php'); define('RECAPTCHA_PUBLIC', '6LdRStUSAAAAAH4f_NMg-Fmdp2bDo4LYNhN36ScB'); define('RECAPTCHA_PRIVATE', '6LdRStUSAAAAABctjZq_iX249auG_kjaNvn_4vfN'); // Define notification … | |
this is how is inserted link on line 53.but its giving syntax error.i could not find any mistake as i already put ; at the end of the line but still it is saying missing ; or , please help. <?php include("../includes/config.php"); ?> <!DOCTYPE HTML> <html> <head> <title>Admdin Home</title> <link … | |
hi i'm still learning some basics of php, and now i'm trying to modify codes.. and follow tutorials after following a tutorial i made this multi-uploader which uploads images and thumbnails but there's a little thing with it, it changes the image name to random name, and i want it … | |
Is there any way I can get PHP support ticketing system tutorial????????????? | |
I installed Xampp and have the apache, FTP and MySql server running. Initially i was getting an error:- ## error :- ## MySQL said: Documentation 1045 - Access denied for user 'root'@'localhost' (using password: NO). Connection for controluser as defined in your configuration failed. phpMyAdmin tried to connect to the … | |
I want to make a message textbox, when there is a newline the text will go down to fit the size of the textbox text here text here text here text here text here text here text here text here text here text here text here text here text here … | |
Hi all, i manage to write this query to select data from 2 different tables, here is it $query ="SELECT * FROM illness,symptoms WHERE symptoms.sympId = illness.illId"; am trying to echo the result of the query, here is my script if($med == !'') { $query ="SELECT * FROM symptoms,illness WHERE … |
The End.