-
Replied To a Post in Insert multiple records one query
It looks to me that your database is not structured properly. Take a look at [database normalization](http://www.studytonight.com/dbms/database-normalization.php) -
Began Watching login
Hello, I am trying to create a login box that processs the form to another file after login: index.php <form action="login.php" method="POST"> <input type="text" class="form" name="username"><br> <input type="password" class="form2" name="password"></div> … -
Replied To a Post in login
have you tryed: `if (isset($_POST['submit'])) {` -
Began Watching Send Email2
I have another send email program that I am trying to fix. It's different from the previous one: index.php <form action="contact.php" name="contactform" class="row" method="post"> <h4>Request a FREE TRIAL CLASS!</h4> <div … -
Replied To a Post in Send Email2
should it be : `$mail->Port = 465; //port secure ssl email` -
Began Watching how to post programatically
hello, im developing a mass mailing application in php...in lot places i see like post to this address... lik this one.. To upload your attachment do a HTTP PUT of … -
Replied To a Post in how to post programatically
have you checked out the php [mail](http://php.net/manual/en/function.mail.php) function? -
Began Watching Table wont output field from database
I cannot get this table to work even though i hav eit working PERFECTLY in 3 other instances, now what i dont get is it seems to be a connection … -
Replied To a Post in Table wont output field from database
do you get any error messages? -
Began Watching how to create a new page in wordpress admin panel
hi..all i want to create a new page in the wordpress admin panel to manage orders with file uploading and message sending option. please help me to do this... tnx … -
Replied To a Post in how to create a new page in wordpress admin panel
quite te project but to start: http://codex.wordpress.org/Function_Reference/add_menu_page -
Began Watching How to count max occurence of rating
Hi everyone...i have this table ie `Kra,Year,Max(Rating1),Max(Rating2),Tot_Rating`...the task is to display the max occurence of rating.There are 2 types of rating ie "good" or "problematic"..if Max(Rating1)="good" and Max(Rating2)="good", Tot_Rating="good".Below is … -
Replied To a Post in How to count max occurence of rating
You don't do a [query](http://php.net/manual/en/function.mysql-query.php) checkout [www.tizag.com](http://www.tizag.com/mysqlTutorial/mysqlquery.php), [www.w3schools.com](http://www.w3schools.com/php/php_mysql_select.asp) -
Began Watching File upload will not work in linux
I have this script that will NOT work no matter what i add to it, i have fopen not working and i believe that is the root of all my … -
Replied To a Post in File upload will not work in linux
have you checked out [move-uploaded-file](http://php.net/manual/en/function.move-uploaded-file.php)? take a look at the example -
Stopped Watching File upload will not work in linux
I have this script that will NOT work no matter what i add to it, i have fopen not working and i believe that is the root of all my … -
Began Watching File upload will not work in linux
I have this script that will NOT work no matter what i add to it, i have fopen not working and i believe that is the root of all my … -
Began Watching codeignitor: Invalid argument supplied for foreach()
view: <?phpforeach($row as $b):?> <?php echo $b->Product_Name ?></h3> <?php echo $b->Price ?></p> </div> <?php if ($b->Option_name):?> <?php echo form_label($b->Option_name, 'option_'.$b->Product_ID ); ?> <?php echo form_dropdown( $b->Option_name, $b->Option_value, NULL, 'Product_ID= " … -
Replied To a Post in codeignitor: Invalid argument supplied for foreach()
problably just a past error line 2: `<?phpforeach($row as $b):?>` must be `<?php foreach($row as $b):?>` but where is the `endforeach; ` -
Began Watching unexpected '&&' (T_BOOLEAN_AND)
Hello, I wonder why I get this error: Parse error: syntax error, unexpected '&&' (T_BOOLEAN_AND), expecting ')' in C:\xampp\htdocs\squprime\registration1.php on line 65 line 65: if(!empty($stu_fname && $stu_lname && $stu_email && … -
Replied To a Post in unexpected '&&' (T_BOOLEAN_AND)
if(!empty($stu_fname) && !empty($stu_lname) && !empty($stu_email) && !empty($stu_telp) && !empty($stu_skype) ) { -
Began Watching Delete from two tables at one time
Hi, I make a delete page with php to delete clients from clients table. With this page I try to delete images from gallery table. for example I wish to … -
Replied To a Post in Delete from two tables at one time
to cover the basics: make sure `$_GET["clientid"]` is not empty add: `else echo "no clientid"; ` -
Began Watching Error: No base was selected
<?php session_start(); mysql_connect("localhost","root",""); mysql_select_db("secure"); $name = $_POST['n']; $address = $_POST['x']; $order = "INSERT INTO user VALUES('$name','$address')"; if($result) { echo("Input data is succeed");} else { echo("Input data is fail");} ?> Error: … -
Replied To a Post in Error: No base was selected
don't you mean : no DATAbase selected? mysql_connect("localhost","root","") or die (mysql_error()); mysql_select_db("secure") or die (mysql_error()); also I don't see a `mysql_query();` also mysql is deprecated use [mysqli](http://www.phphaven.com/article.php?id=65%C2%A0) or [pdo](http://wiki.hashphp.org/PDO_Tutorial_for_MySQL_Developers) -
Began Watching Avoid tags from string
how to check whether string contains characters like <% or <? tags or mysql tags. for example `<% String eid = request.getParameter("eid"); %> ` `<?php ?>` or `<?` my page … -
Replied To a Post in Avoid tags from string
Why do you want to do this. To protect your server from mysql-injection? Than it's not save to rely upon javascript. Data can be sent directly to your server bypassing … -
Began Watching SQLSTATE[42000]: Syntax error or access violation: 1064
$stmt = $db->prepare('SELECT postID, postTitle, postSlug, postDesc, postDate FROM blog_posts WHERE postDate >= :from AND postDate <= :to ORDER BY postID DESC'.$pages->get_limit()); is there something wrong with my query? -
Replied To a Post in SQLSTATE[42000]: Syntax error or access violation: 1064
edit: nevermind -
Began Watching Update Database
Why is this code note updating the database???? <?php include '../connection.php'; $today = new DateTime('2014-7-14 20:10:10'); $appt = new DateTime('2014-8-15 20:10:10'); $days_until_appt = $appt->diff($today)->days; if ($days_until_appt>=30) { $sql = "SELECT … -
Replied To a Post in Update Database
You never execute the update query $s="UPDATE finance SET credit ='" . $r. "' WHERE payee = 'rw'"; $res = mysql_query($s) or die(mysql_error()); -
Began Watching e.currentTarget explained
hi guys, I am doing some tests on e.currentTarget vs $(this) to get things clear in my head. It is said that the two are equivalent, so I created a … -
Replied To a Post in e.currentTarget explained
e.currentTarget.html() should work html() retuns the html inside of the <div> not the <div> itself -
Began Watching web browser wont display my code
Pease I need your help! I am very new in Php programming,I just downloaded wampserver on my system and also komodo for text editor.I launched komodo to place my text … -
Replied To a Post in web browser wont display my code
make sure your browser points to http://localhost/ not c:/wamp/www/yourefile.php -
Began Watching how to pass id from one page to another page using get and post method in php
hello i m a student & new to php i want to pass id from one page to another page using get & post method but the id can not … -
Replied To a Post in how to pass id from one page to another page using get and post method in php
if(isset( $_GET['Product_id'])) $product = $_GET['Product_id']; else echo " no product id"; -
Replied To a Post in want to correct my coding
I didn't give you the solution because you already know it. `isset()` will test test if a var exists without giving an error. Simular as you do on line 1. … -
Replied To a Post in want to correct my coding
That just turns off any error message below E_PARSE level. It doesnot solve the error. -
Began Watching want to correct my coding
if(isset($_GET['Id'])){ $Id=$_GET['Id']; $query = mysql_query("SELECT * FROM page WHERE ID='$Id'"); $row = mysql_fetch_array($query); $PageId=$row['PageId']; $MenuName=$row['MenuName']; $ParentMenuId=$row['ParentMenuId']; $LinkWidth=$row['LinkWidth']; $OtherUrl=$row['OtherUrl']; $Status1=$row['Status']; $OnMainMenu=$row['OnMainMenu']; $FooterMenu=$row['FooterMenu']; } ?> <form style="width:100%" action="" method="post" id="form1"> <table class="viewjob" … -
Replied To a Post in want to correct my coding
if $_GET['Id'] (line 1) is not set, $row['PageId'] (line 27) will no exist -
Began Watching JSONReader code not working
Simple JSONReader code not working I am trying to use JSONReader (along with PHP & XPATH) to parse a very large JSON file, then display search results. A stream parser … -
Replied To a Post in JSONReader code not working
`JSONReader()` is not part of php -
Began Watching Find network type
How do I find the network type(EDGE, UTMS, HSPDA etc) of user accessing my site in php Thanks. -
Replied To a Post in Find network type
Why do you want to know? Or do you want to know the connection speed? -
Began Watching Can anyone give me code for website payment pro
Payment should be done with credit card . http://www.zenatdesign.com/PaypalProDemo/index.php -
Replied To a Post in Can anyone give me code for website payment pro
You have to pay zenatdesign.com $40 to be able to use that software. Gess they are happy to answer your questions. -
Began Watching Login Error message dosent display
I have the following code for a login page that is supposed to display an error when the user enters the wrong username and password combination. can anyone have a … -
Replied To a Post in Login Error message dosent display
in your function you use `loginsell` but your form is called `loginform` -
Began Watching selected value display for checkbox from dropdownlist
i have 2 tables, first is main category will display in dropdownlist, and second is subcategory chexboxes. i have a problem in this. need to display subcategory while selecting any …
The End.