Search found 17 matches

by wasabi
Wed Sep 08, 2004 9:34 pm
Forum: General Discussion
Topic: The Developer Attitude
Replies: 20
Views: 2963

Yes totally agree with you.

I have made an effort to learn what I know and sometimes I get stuck. But I never give up trying.
by wasabi
Wed Sep 08, 2004 9:28 pm
Forum: General Discussion
Topic: The Developer Attitude
Replies: 20
Views: 2963

The Developer Attitude

Some people need more then just "try searching the forum"or read this and read that. I have noticed some people need to be reminded that not everyone has the natural ability to write code. I'm one of those people. I'm a visual person by nature and think differently to programmers. I'm a qa...
by wasabi
Wed Sep 08, 2004 9:13 pm
Forum: PHP - Code
Topic: Undefined offset:
Replies: 12
Views: 1861

Gee whats with the attitude?
by wasabi
Tue Sep 07, 2004 8:15 am
Forum: PHP - Code
Topic: Undefined offset:
Replies: 12
Views: 1861

Anyone else

Any help would be greatly appreciated.
by wasabi
Mon Sep 06, 2004 8:49 am
Forum: PHP - Code
Topic: Undefined offset:
Replies: 12
Views: 1861

Array

Is there any example code I could look at or read about?
by wasabi
Mon Sep 06, 2004 7:36 am
Forum: PHP - Code
Topic: Undefined offset:
Replies: 12
Views: 1861

Problem SOLVED

Thx for the input. I ended up doing comma delimited cvs file. All works sweet as now.

Although I still want to print 100 records at a time. Does anyone know if this is possible using a text file?
by wasabi
Mon Sep 06, 2004 5:31 am
Forum: PHP - Code
Topic: best option : login
Replies: 9
Views: 1492

Sessions

I use session. Once you have one written the rest is history. If you want my code just message me.
by wasabi
Mon Sep 06, 2004 5:28 am
Forum: PHP - Code
Topic: [SOLVED] My search script doesn't work!
Replies: 3
Views: 1054

Search Script

Hack at this script. Search, print results and split results into units of 10. <?php $searchresults = 5; trim($searchterm); if (!isset($start)) $start = 0; $searchtype = addslashes($searchtype); $searchterm = addslashes($searchterm); if ($searchterm == "") { exit; } $SQL = "SELECT * F...
by wasabi
Sun Sep 05, 2004 12:49 am
Forum: PHP - Code
Topic: Undefined offset:
Replies: 12
Views: 1861

yeah I've shown the results. I'm using csv file instead text. Is there anyway i can included commas in the text file without having to manual enter them in. There is over 1600 entries. At the moment I have the entries in excel and saved as csv but still get undefined offset errors. Any help would be...
by wasabi
Sat Sep 04, 2004 9:39 pm
Forum: PHP - Code
Topic: [SOLVED] Need help with loop
Replies: 6
Views: 1131

what is row doing? where did $row come from? try changing $row to $key even better $key to $num example: $num replaces $row. $room replaces $value. <?php $roomCheck = array (0 => 'P0','P1', 'P2', 'P3', 'P4', 'P5', 'P6', 'P7'); foreach ($roomCheck as $num => $room) { if ($num["$room"] < 1) ...
by wasabi
Sat Sep 04, 2004 8:46 pm
Forum: Job Hunt
Topic: $400 for php programming
Replies: 9
Views: 3450

$400 for 3 weeks? Is this a joke?
by wasabi
Sat Sep 04, 2004 8:41 pm
Forum: PHP - Code
Topic: Streams and Errors
Replies: 10
Views: 1356

Slap me if I'm wrong

Code: Select all

<?php
$content = file_get_contents($_POST[url]); 
?>
Isn't file_get_contents($_POST[url]); Drawing the data?

if yes shouldn't it be?

Code: Select all

<?php
$content = file_get_contents($_GET[url]);
?>
by wasabi
Sat Sep 04, 2004 8:14 pm
Forum: PHP - Code
Topic: Undefined offset:
Replies: 12
Views: 1861

spit()

Code: Select all

<?php

// Delimiters may be slash, dot, or hyphen
$date = "04/30/1973";
list($month, $day, $year) = split('[/.-]', $date);
echo "Month: $month; Day: $day; Year: $year<br />\n";

?>
what about the split? Is there something I'm missing? I can't see anything wrong.
by wasabi
Sat Sep 04, 2004 11:05 am
Forum: PHP - Code
Topic: While loop question
Replies: 6
Views: 3515

Wasabi, I fail to see how your solution applies to gjb79's problem.. :? gjb 79's These variables are not in an array, they are all listed seperately, unfortunately they are sent from a form and cannot be sent as an array. There isn't any need for a while loop, using the foreach loop is the better o...
by wasabi
Sat Sep 04, 2004 10:33 am
Forum: PHP - Code
Topic: While loop question
Replies: 6
Views: 3515

Foreach is the best way.

Use the foreach($_POST) Form should look something like this: <form name="whateveryouwant" method="post" action="confirm.php"> <select name="Accessory_Kit_accessories" id="Accessories" style="background:#FFF; color: #666;"> <option value=&q...