Search Results

Showing results 1 to 12 of 12
Search took 0.01 seconds.
Search: Posts Made By: sureronald ; Forum: PHP and child forums
Forum: PHP Nov 2nd, 2009
Replies: 2
Views: 249
Posted By sureronald
$query="SELECT * FROM products WHERE part LIKE \"%$pt%\""

This will match any string in the column `part` where the substring/string contained in $pt is found
Forum: PHP Oct 6th, 2009
Replies: 4
Views: 256
Posted By sureronald
How about adding a die statement to assist in debugging like so

$this->con=mysql_connect($server,$name,$pass) or die(mysql_error());


happy times!
Forum: PHP Oct 6th, 2009
Replies: 4
Views: 246
Posted By sureronald
What you need is simply DHTML. Just like Gmail's attach another file, you need something like that which when clicked will add two text fields for item code and another one for serial no.
So the...
Forum: PHP Oct 6th, 2009
Replies: 4
Views: 390
Posted By sureronald
Simply test using php if the checkbox was selected

if(isset($_POST['check-box-name'])){
//Do something

}

From there you can proceed with inserting the values to the database. Test for each...
Forum: PHP Sep 30th, 2009
Replies: 2
Views: 733
Posted By sureronald
As far as I know, PHP cant open a new window. What you can do is to have php print the relevant link in html which when clicked directs a user to the page where the pdf file will be viewed with the...
Forum: PHP Sep 28th, 2009
Replies: 5
Solved: Posting Issue
Views: 189
Posted By sureronald
Only the check box that is checked will be sent so you can check if it is set like below

if(isset($_POST['check-box-1'])){
//Do something
}

[/code]
Forum: PHP Aug 3rd, 2009
Replies: 2
Solved: another problem
Views: 189
Posted By sureronald
Have you established a valid connection to the database?
Forum: PHP Jul 28th, 2009
Replies: 4
Solved: Showing image
Views: 269
Posted By sureronald
<?php

$row_count = 0;
$columns = 3;

while ($row = mysql_fetch_assoc($result)) {

if ($row_count == $columns) {

echo "</tr><tr>";
Forum: PHP Jul 13th, 2009
Replies: 2
Views: 411
Posted By sureronald
I am afraid it's not possible to insert zipped files and songs to the database. What is normally done is simply copying them(songs,images,zipfiles) to the server and storing the details of the...
Forum: PHP Jul 2nd, 2009
Replies: 2
Views: 519
Posted By sureronald
Just to make it better add this lines to the calculate function above to be sure you are multiplying numbers only!

function calculate() {
if(isNan(document.form1.elements.productvalue.value) ||...
Forum: PHP May 11th, 2009
Replies: 17
Views: 1,273
Posted By sureronald
Hi Davewylie. Have you tried using css? You can easily format the submit buttons apart from using images
Forum: PHP Apr 28th, 2009
Replies: 10
Views: 1,981
Posted By sureronald
Please visit the daniweb javascript/dhtml/ajax forum
Showing results 1 to 12 of 12

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC