Search Results

Showing results 1 to 36 of 36
Search took 0.01 seconds.
Search: Posts Made By: FlashCreations
Forum: PHP 6 Days Ago
Replies: 2
Views: 184
Posted By FlashCreations
You can check for a search by the employee's name. Then you can check for a space. If there is a space you can split the two names with explode and then perform a query that matches first and last...
Forum: PHP 6 Days Ago
Replies: 9
Views: 372
Posted By FlashCreations
Alright then, have you replaced all your files (for this project) with one file called paycheck.php and added only my code to it. Line 10 is the end of the first if block. I tried it on my XAMPP and...
Forum: PHP 7 Days Ago
Replies: 9
Views: 372
Posted By FlashCreations
Try this, you were missing some semicolon's at the end of your lines:

paycheck.php:

<html>
<head>
<title>Paycheck Calculator</title>
</head>
<body>
<?php
Forum: PHP Sep 3rd, 2009
Replies: 11
Views: 372
Posted By FlashCreations
I've never heard of it before and like pritaeas, thought it was some kind of templating application, but assumed you weren't using one.


At first I though the same thing, as that seems very...
Forum: PHP Sep 3rd, 2009
Replies: 11
Views: 372
Posted By FlashCreations
Exactly..though it does need one minor fix! (But I'm sure you knew this!):

$link = array();
$result = mysql_query($sql); //<-- Semicolon
while ($row = mysql_fetch_array($res))
{
$link[] =...
Forum: PHP Sep 3rd, 2009
Replies: 11
Views: 372
Posted By FlashCreations
The proper use of this would be declaring the $link variable as an array before you start looping through the array results of the query. Your code should look like this:

$result =...
Forum: JavaScript / DHTML / AJAX Aug 31st, 2009
Replies: 5
Views: 1,306
Posted By FlashCreations
Very easily done!
Anyhow, if all of your problems have been solved and all questions answers I ask that you mark this thread as solved!! Thanks!
Forum: PHP Aug 24th, 2009
Replies: 7
Views: 501
Posted By FlashCreations
Since we have solved this issue, would you mark this thread as solved....
Forum: PHP Aug 17th, 2009
Replies: 7
Views: 501
Posted By FlashCreations
Ok this makes much more sense! I'll take a look and see if I can come up with something. One question: When you click submit, do you want PHP to show the background and text combined together into an...
Forum: JavaScript / DHTML / AJAX Aug 16th, 2009
Replies: 5
Views: 1,306
Posted By FlashCreations
Ahh....yes! I clumsily forgot to place .style before the .color or any other property. :D Wouldn't be the first time... ;)
Forum: JavaScript / DHTML / AJAX Aug 16th, 2009
Replies: 5
Views: 1,306
Posted By FlashCreations
You need to look into JavaScript and DOM. Give you DIV an id and then you can import the DIV as an object with:

div = document.getElementById('div_id');

Then you can change the styles with:
...
Forum: PHP Aug 16th, 2009
Replies: 4
Solved: How to...
Views: 368
Posted By FlashCreations
If you have no further questions, why not mark this thread as solved?
Forum: PHP Aug 16th, 2009
Replies: 7
Views: 501
Posted By FlashCreations
It would help if you could use some clear and exact English so that we can all understand your question. First off, why are you placing DIV's inside of a table? TR's belong in a table and TD inside...
Forum: PHP Aug 10th, 2009
Replies: 10
Views: 656
Posted By FlashCreations
Ok this makes much more sense now!! :D
Your problem is this: Everything is correct with the checkboxes. Your checkbox method does work, but your PHP script is not receiving these values correctly. I...
Forum: PHP Aug 10th, 2009
Replies: 10
Views: 656
Posted By FlashCreations
http://www.w3schools.com/php/func_http_header.asp
Forum: PHP Aug 10th, 2009
Replies: 10
Views: 656
Posted By FlashCreations
Matthewl beings up a good point. The only problem is that once you have placed content on a page (He has already echoed a table), neither the meta tag (which belongs in the head) nor the header()...
Forum: PHP Aug 10th, 2009
Replies: 10
Views: 656
Posted By FlashCreations
First off, Your Welcome! :D
About that line: I didn't realize that you used that result variable so here is the corrected version with explanation.

$result = mysql_query("DELETE FROM $tbl_name...
Forum: PHP Aug 10th, 2009
Replies: 10
Views: 656
Posted By FlashCreations
Here is your problem area:

$checkbox = $_POST[checkbox]; //Problem #1
if($_POST['delete']){ //Problem #2
echo "test"; //Nice Debugging But This Should Fix It So We'll Remove It...
Forum: JavaScript / DHTML / AJAX Jul 5th, 2009
Replies: 6
Views: 835
Posted By FlashCreations
That's great that you got it to work! If you don't have any more questions...would you please mark this thread as solved?
Forum: JavaScript / DHTML / AJAX Jul 4th, 2009
Replies: 6
Views: 835
Posted By FlashCreations
The problem is with the descriptions. It's just that IE will stop working on errors while most other browsers will try to continue. Specifically, the problem with your code is with line 248....
Forum: JavaScript / DHTML / AJAX Jul 3rd, 2009
Replies: 6
Views: 835
Posted By FlashCreations
Well at first glance it looks like your JS file contains some JQuery, so I would start by making sure you have the JQuery library included in your page. It would also help if you could give us the...
Forum: HTML and CSS Jul 3rd, 2009
Replies: 3
Views: 445
Posted By FlashCreations
You're welcome. You know you can also create your own contact form (In a language such as PHP or by using a free service) so that no one would know your email, but that is totally up to you. I ask...
Forum: PHP Jul 3rd, 2009
Replies: 6
Views: 619
Posted By FlashCreations
Ok I didn't realize that...whoops! Anyway I believe bgeisel meant for you to get the author name first and replace the ... with the_author(). So something like this:

<?php
if...
Forum: HTML and CSS Jul 3rd, 2009
Replies: 3
Views: 445
Posted By FlashCreations
Correct, unless these bots can register on your sites and access the page with your email. You can always protect your email simply by making it an image and putting that image on your page instead...
Forum: PHP Jul 2nd, 2009
Replies: 6
Views: 619
Posted By FlashCreations
If you use wp_list_authors(); it should by default exclude the admin account. If not you could try:

Posted By: <?php wp_list_authors('exclude_admin=true&hide_empty=true'); ?>


See The Codex...
Forum: PHP May 25th, 2009
Replies: 10
Views: 688
Posted By FlashCreations
Here is your code for the specific user variable. You must understand that for each user you need to create a new folder with an index.php containing the same code each time.
...
Forum: PHP May 25th, 2009
Replies: 13
Views: 436
Posted By FlashCreations
Have you started the session with session_start() elsewhere on this page?
Forum: PHP May 25th, 2009
Replies: 10
Views: 688
Posted By FlashCreations
That is true sDJh, but wouldn't this mean that spank would have to create a folder and index.php for every user the registers? Still though, I like your solution (My other plan was using almost...
Forum: PHP May 25th, 2009
Replies: 13
Views: 436
Posted By FlashCreations
Make sure that you have no html or other text written with echo before that or any html or text before the <?php tag. This could be something as simple as a space:

<?php //Notice the space here...
Forum: PHP May 25th, 2009
Replies: 10
Views: 688
Posted By FlashCreations
It looks like you need htaccess code. This will make a rule on your webserver to call a server file (I'll call it user.php) with details from your url.

RewriteEngine On
RewriteRule...
Forum: HTML and CSS Mar 8th, 2009
Replies: 11
Views: 1,955
Posted By FlashCreations
No I didn't say that. You can try AlmostBob's suggestion or my JavaScript solution.
Forum: HTML and CSS Mar 8th, 2009
Replies: 11
Views: 1,955
Posted By FlashCreations
And that's exactly what I'm saying. It could be done with JavaScript but it won't be compatible everywhere and there's no guarantee it will work. It would be something like this...

<html>...
Forum: HTML and CSS Mar 7th, 2009
Replies: 11
Views: 1,955
Posted By FlashCreations
Yes simply add the height property to the iframe like so:

<iframe src="http://externaldomain.com" height="50"></iframe>


Now that I think about it, there might be a JavaScript fix that could...
Forum: HTML and CSS Mar 7th, 2009
Replies: 11
Views: 1,955
Posted By FlashCreations
Probably not, there is no simple way (or any way at all for that matter) to determine content height unless it is a style on the page (Ex. something like maybe:

.myDivThatIWantTheHeightFrom {
...
Forum: Windows Vista and Windows 7 Feb 9th, 2009
Replies: 4
Views: 1,262
Posted By FlashCreations
It probably is a problem with a file being used for the installation while you are trying to run the installer. Make sure to only install one program at one time and close all other applications when...
Forum: PHP Feb 7th, 2009
Replies: 4
Views: 565
Posted By FlashCreations
Sure here's a suggestion. Find a host with MySQL (or ask your host to install it for you) and create a database for your site. Then create a table and call it years. In this table create three...
Showing results 1 to 36 of 36

 


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

©2003 - 2009 DaniWeb® LLC