Search Results

Showing results 1 to 22 of 22
Search took 0.01 seconds.
Search: Posts Made By: death_oclock ; Forum: PHP and child forums
Forum: PHP Feb 26th, 2009
Replies: 10
Views: 1,098
Posted By death_oclock
Do you already have the part of the query that matches the site? Add to that (with an AND clause) a MATCH(field) AGAINST('value') as demonstrated in the link I gave you.
Forum: PHP Feb 26th, 2009
Replies: 10
Views: 1,098
Posted By death_oclock
Try looking at this page (http://hudzilla.org/phpwiki/index.php?title=Advanced_text_searching).
Forum: PHP Feb 26th, 2009
Replies: 18
Views: 3,451
Posted By death_oclock
Oh wow, how did I miss that part? Sorry 'bout that one.
Forum: PHP Feb 26th, 2009
Replies: 18
Views: 3,451
Posted By death_oclock
Honestly, you have been given the proper solutions. Sending (and therefore, reading) your forms with the POST method sends variables through the headers sent. For this purpose, however, I would...
Forum: PHP Feb 16th, 2009
Replies: 7
Views: 474
Posted By death_oclock
Are you familiar with databases? Databases contain tables, tables contain records, or "rows". Each row has multiple "columns" of data. I am saying that each record should have information stored for...
Forum: PHP Feb 16th, 2009
Replies: 7
Views: 474
Posted By death_oclock
Each mysql record is one message, contains the message body, title, time etc. and the users it is to and from. The user fields would optimally be references to the ids inside a user table. You can...
Forum: PHP Feb 16th, 2009
Replies: 2
Views: 570
Posted By death_oclock
I learned so much from this (http://hudzilla.org/phpwiki/index.php?title=Main_Page) tutorial.
Forum: PHP Feb 13th, 2009
Replies: 4
Solved: Help please!
Views: 309
Posted By death_oclock
No hard feelings. You should mark this as solved, however. It makes a difference.
Forum: PHP Feb 13th, 2009
Replies: 4
Solved: Help please!
Views: 309
Posted By death_oclock
I hope you mean "can't save .php files"! And I hope you're lying, because you can save a file with any file type you want :\
Forum: PHP Feb 13th, 2009
Replies: 4
Views: 421
Posted By death_oclock
Alignment like notepad, add styles? Your question is way too vague for anyone to know how to help you. Some details would be quite useful!
Forum: PHP Feb 12th, 2009
Replies: 9
Views: 448
Posted By death_oclock
If you go back to the origional code you posted, a quick fix would be to quit program execution after outputting that message. So you could change that section to:
//Let the user know everything...
Forum: PHP Feb 11th, 2009
Replies: 24
Views: 954
Posted By death_oclock
<td width=""><p><?php echo wordwrap($message, 75, "<br />", true); ?></p></td> Change 75 to whatever width you want.
Forum: PHP Feb 8th, 2009
Replies: 15
Views: 887
Posted By death_oclock
TommyBs is right. You don't need 's around your field names, and definitely don't use `. Is there in fact a field named status? And try doing this query directly in MySQL (via phpMyAdmin if you have...
Forum: PHP Feb 8th, 2009
Replies: 3
Views: 465
Posted By death_oclock
Hmmm, so you look for records with the user's selected year in it, thats where I would have started. But if we don't find any such rows, then it must already exist? I think not. Try $total > 0.
Forum: PHP Feb 8th, 2009
Replies: 15
Views: 887
Posted By death_oclock
Backticks are not the same as single quotes. read (http://us.php.net/language.operators.execution)
Forum: PHP Feb 6th, 2009
Replies: 24
Views: 954
Posted By death_oclock
Does the text overflow the width of the paragraph? Let me know if there is any CSS that would affect the <td> or the <p>.
Forum: PHP Feb 6th, 2009
Replies: 24
Views: 954
Posted By death_oclock
Have you tried setting the width of <td> to an actual value? <p> tags should word wrap automatically if the width is specified.
Forum: PHP Feb 6th, 2009
Replies: 24
Views: 954
Posted By death_oclock
In here:
<td width=""><p><?php echo nl2br($message); ?></p></td>
Forum: PHP Feb 3rd, 2009
Replies: 4
Views: 565
Posted By death_oclock
Learn database functions for whatever db server your client uses (MySQL, whatever). A tutorial on SQL statements and the php manual (http://us2.php.net/manual/en/) will help you with this.
Forum: PHP Feb 2nd, 2009
Replies: 9
Views: 428
Posted By death_oclock
Put this:
if (!$user_check) {
die('Invalid query: ' . mysql_error());
}
in between this:
$user_check = mysql_query("SELECT userdb_user_name FROM default_userdb WHERE...
Forum: PHP Jan 31st, 2009
Replies: 4
Views: 338
Posted By death_oclock
mysql_fetch_array (http://us2.php.net/mysql_fetch_array) returns an array, just a the name implies, so this statement:
$new_Number_value = $query_results_Number++; is trying to increment an array?...
Forum: PHP Jan 29th, 2009
Replies: 5
Views: 2,513
Posted By death_oclock
Where exactly are you calling session_start()? And that error just means you have some sort of output (check for spaces, newlines before your <?php tags) before you have called session_start(). If...
Showing results 1 to 22 of 22

 


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

©2003 - 2009 DaniWeb® LLC