39,326 Topics

Member Avatar for
Member Avatar for davidbernardino

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 …

Member Avatar for Riu 2009
0
1K
Member Avatar for mktrx

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 …

Member Avatar for iamthwee
0
289
Member Avatar for freakthemighty

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 …

Member Avatar for freakthemighty
0
366
Member Avatar for vishalonne

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 …

Member Avatar for diafol
0
522
Member Avatar for JRCharlie

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.

Member Avatar for JRCharlie
0
252
Member Avatar for pawan768

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 …

Member Avatar for diafol
0
276
Member Avatar for aabbys

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.

Member Avatar for aabbys
0
120
Member Avatar for chandbasha

# 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

Member Avatar for cereal
0
56
Member Avatar for Djmann1013

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 …

Member Avatar for Djmann1013
0
163
Member Avatar for Riu 2009

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 …

Member Avatar for Riu 2009
0
234
Member Avatar for aabbys

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 …

Member Avatar for aabbys
0
341
Member Avatar for b0tz

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 …

Member Avatar for b0tz
0
281
Member Avatar for Squidge

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 …

Member Avatar for Squidge
0
188
Member Avatar for heshanm

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 …

Member Avatar for diafol
0
201
Member Avatar for vinay7868

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 …

Member Avatar for vinay7868
0
137
Member Avatar for harsha.netpem

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 …

Member Avatar for simplypixie
0
145
Member Avatar for joshuao

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 …

Member Avatar for LifeSteala
0
625
Member Avatar for PhilEaton

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 …

Member Avatar for PhilEaton
0
172
Member Avatar for arshadshaikh

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 …

Member Avatar for arshadshaikh
0
351
Member Avatar for weirdCreature7

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; ?>

Member Avatar for diafol
0
513
Member Avatar for dan_code_guru

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?

Member Avatar for diafol
0
221
Member Avatar for liezlardo

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 …

Member Avatar for diafol
0
1K
Member Avatar for sandeep555
Member Avatar for davy_yg

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 …

Member Avatar for joshl_1995
0
148
Member Avatar for Riu 2009

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 …

Member Avatar for Riu 2009
0
4K
Member Avatar for ali3011

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 …

Member Avatar for ali3011
0
196
Member Avatar for vindyauwu

Is there any way I can get PHP support ticketing system tutorial?????????????

Member Avatar for diafol
0
513
Member Avatar for debal

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 …

Member Avatar for debal
0
275
Member Avatar for bLuEmEzzy

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 …

Member Avatar for diafol
0
94
Member Avatar for accra

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 …

Member Avatar for pritaeas
0
110

The End.