Search Results

Showing results 1 to 40 of 45
Search took 0.02 seconds.
Search: Posts Made By: Daedal
Forum: PHP Feb 19th, 2009
Replies: 3
Views: 346
Posted By Daedal
Either one, whichever you are comfortable with.
Forum: PHP Dec 2nd, 2008
Replies: 3
Views: 516
Posted By Daedal
I am pretty sure you can have only one image to submit.
Here is a workaround:
http://blogs.translucentcode.org/mick/2006/06/19/multiple-image-submit-buttons-and-ie/
Forum: PHP Jun 27th, 2008
Replies: 3
Views: 566
Posted By Daedal
I always recommend books by www.sitepoint.com (http://www.sitepoint.com)
Forum: PHP May 30th, 2008
Replies: 2
Views: 2,288
Posted By Daedal
One was to pass this variable without sessions is to use the $_GET vars... like this:


header("Location: userhomepage.php?passit=$passit");


Then on the userhomepage.php have some code like...
Forum: PHP May 29th, 2008
Replies: 16
Views: 2,307
Posted By Daedal
Just make sure when you access the site use the secure prefix -- https://www.webcarpenter.com (http://www.webcarpenter.com) instead of http://www.webcarpenter.com

Note the S in HTTPS://
Forum: PHP May 29th, 2008
Replies: 11
Views: 7,129
Posted By Daedal
No no, you're fine... maybe start a new thread about handling PHP file uploads.
Forum: PHP May 28th, 2008
Replies: 11
Views: 7,129
Posted By Daedal
niek_e provided a good example. Use what he has provided, and then implement an upload script. Just substitute the 'infile.csv' for the file that has been uploaded. You're asking for a lot, eh?...
Forum: PHP May 28th, 2008
Replies: 11
Views: 7,129
Posted By Daedal
Have you tried phpmyadmin (http://www.phpmyadmin.net/home_page/index.php)?
Forum: IT Professionals' Lounge May 25th, 2008
Replies: 19
Views: 3,008
Posted By Daedal
Depending on the quality of the site... and the experience of the person/firm designing and implementing the site. It may cost anywhere from $500 to $5,000+, in addition to a monthly/yearly fee for...
Forum: IT Professionals' Lounge May 25th, 2008
Replies: 7
Views: 1,191
Posted By Daedal
Some basics that most clients request are...
- Add pages easily
- add/update parent menu/child menu/grandchild menu
- Edit page conent (flash and html) with WYSIWIG editor OR HTML
- Add/mange...
Forum: PHP May 25th, 2008
Replies: 16
Views: 1,537
Posted By Daedal
One way to do that is:


if (file_exists($imagesFolder.$row['intLodgeNumber'].".jpg")) {
echo "<img src='" . $imagesFolder . $row['intLodgeNumber'] . ".jpg' /></p>";
} else { //just because it...
Forum: PHP May 25th, 2008
Replies: 16
Views: 1,537
Posted By Daedal
For date fields such as that try:


echo ($variable21 > 0 '') ? "<p><b>Meetings:</b> $variable21</p>" : '';
Forum: PHP May 24th, 2008
Replies: 16
Views: 1,537
Posted By Daedal
What is the output that it does give you? Just a sample of it would be nice.
Forum: PHP May 24th, 2008
Replies: 2
Views: 477
Posted By Daedal
PHP might be confused by the comparison operator you are using. You could be comparing a string to an integer.
1 !== "1" true
but
1 != "1" false

You might try changing this comparison operator:...
Forum: PHP May 24th, 2008
Replies: 16
Views: 1,537
Posted By Daedal
This

echo ($variable21 != '') ? "<p><b>Meetings:</b> $variable21</p>" : '';

is basically saying:


if ($variable21 != '') { //if $variable21 is NOT blank/empty/null... it has something in it...
Forum: PHP May 23rd, 2008
Replies: 9
Views: 769
Posted By Daedal
Here's another method. Check to be sure that the query is working in the database first... that you get results when using an email address and the SQL statement.


if (preg_match("/@/i",...
Forum: PHP May 23rd, 2008
Replies: 16
Views: 1,537
Posted By Daedal
Another way to do the same thing:
This should be in a loop when you are querying the database for each "row" of data.


echo ($variable21 != '') ? "<p><b>Meetings:</b> $variable21</p>" : '';
;
Forum: PHP May 23rd, 2008
Replies: 9
Views: 769
Posted By Daedal
Make sure you are using the right database field name. Is it named 'email' in your database?
Forum: PHP May 23rd, 2008
Replies: 1
Views: 371
Posted By Daedal
Well, post the code. That's the point.
Forum: PHP May 23rd, 2008
Replies: 9
Views: 769
Posted By Daedal
You could do this, make a new field on the form that is submitting to this page.


$email=$_POST['email'];

$query = "SELECT * FROM customers WHERE job_number='$jobnumber' OR email='$email'";
...
Forum: HTML and CSS May 23rd, 2008
Replies: 1
Views: 629
Posted By Daedal
Were you planning on using JavaScript, Frames, or something else?

If it's just plain HTML and CSS here is one method:

For musings.html
1. Copy what you have.
2. Save it as musings.html
3....
Forum: PHP May 23rd, 2008
Replies: 2
Views: 646
Posted By Daedal
original koneksi.php


A couple changes are needed in your koneksi.php:


$connected = mysql_connect('localhost', 'root', 'password');
if( !$connected ) {
die ("Connect to MySQL Server...
Forum: PHP May 23rd, 2008
Replies: 2
Views: 1,275
Posted By Daedal
Assuming you have the code in place to set up the username and password vars from your form:

//connect to database
dbConnect();
//query the database
$query = mysql_query("SELECT * FROM users...
Forum: PHP May 23rd, 2008
Replies: 1
Views: 412
Posted By Daedal
Change this:



To this:



if(!$result)
$error["result"] = "There was an error moving the uploaded file.";
Forum: MySQL May 21st, 2008
Replies: 6
SQL
Views: 857
Posted By Daedal
People have their own way of doing/saying things... I always say, My-ESS-QUE-ELL (MySQL), but some other people I know insist on MySEQUEL (MySQL).
Forum: JavaScript / DHTML / AJAX May 20th, 2008
Replies: 4
Views: 1,827
Posted By Daedal
If you want that variable to be "refreshed" every time you call that function, then place it in the function. Solved?
Forum: JavaScript / DHTML / AJAX May 20th, 2008
Replies: 4
Views: 1,827
Posted By Daedal
Try this:


<script type="text/javascript">
var txtaReceipt;
var txtName;

function ProcessOrder()
{
var txtName=document.frmMain.txtName.value;
Forum: MySQL May 20th, 2008
Replies: 1
Views: 899
Posted By Daedal
If you want it to stop after 10 add LIMIT 10 to the end of your SQL query. Otherwise it will loop through all the records.
Forum: MySQL May 20th, 2008
Replies: 4
Views: 1,795
Posted By Daedal
Here is an example... could you try to be more specific?

This will select records with an in_date of '%-03-18' or out_date of '%-04-20':


SELECT *
FROM table
WHERE in_date LIKE '%-03-18'...
Forum: MySQL May 20th, 2008
Replies: 6
SQL
Views: 857
Posted By Daedal
Structured Query Language (SQL), pronounced "sequel", is a language that provides an interface to relational database systems.
Forum: PHP May 20th, 2008
Replies: 1
Views: 548
Posted By Daedal
Please post code so we can see where the problem is. You can probably use a meta refresh or header redirect.
Forum: MySQL May 6th, 2008
Replies: 2
Views: 1,416
Posted By Daedal
Depending on the SMS messages you are sending, it could be free. If you are sending to cell phone carriers you only need to know their CELL NUMBER and the CELL PHONE CARRIER to determine the...
Forum: PHP May 6th, 2008
Replies: 16
Views: 5,575
Posted By Daedal
Make sure they are in your http doc root folder, and then load them into your browser.
Example:
http://localhost/first.php
Forum: PHP May 6th, 2008
Replies: 4
Views: 596
Posted By Daedal
Just a tip:

If you are going to use the checkboxes on each record, you cannot use another form with in that table.

Start the <form> at the top and insert a checkbox on each row... then add a...
Forum: PHP May 6th, 2008
Replies: 2
Views: 595
Posted By Daedal
Change your code to have the From: at the top of the $headers like this.
Also, removed the To: in the $headers, as it is entered in another variable in the mail() function.


// To send HTML...
Forum: PHP Apr 23rd, 2008
Replies: 1
Views: 375
Posted By Daedal
If you are just trying to view the source, use Notepad, Ultraedit, Dreamweaver or any other text editor.

If you want to run the file...
You can set up a PHP server on your own computer/box and...
Forum: PHP Apr 23rd, 2008
Replies: 2
Solved: warning problem
Views: 519
Posted By Daedal
You may also want to check if you have an auto-prepend file set on your server.
Forum: PHP Apr 22nd, 2008
Replies: 5
Views: 1,950
Posted By Daedal
I guess I misunderstood the question. You need to create an Adobe Flash FLV player... which would be a SWF file that has controls (play pause rewind) You could create this file to use a FLASHVAR to...
Forum: PHP Apr 9th, 2008
Replies: 5
Views: 1,950
Posted By Daedal
Here is code from a previous project of mine. Use as much or as little as you want. The function I have included really only uses 5 fields:
videoID
status
title
caption
embed_code

MySQL...
Forum: PHP Apr 9th, 2008
Replies: 3
Views: 716
Posted By Daedal
Here is one solution:


I Have Some Problem with my PHP Searching Code...
I Want to Create Hyperlink of Multipul Data for Ex. :- a user Found example if this query have maney data this show as...
Showing results 1 to 40 of 45

 


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

©2003 - 2009 DaniWeb® LLC