Go Back   vb.org Archive > Search Forums
FAQ Community Calendar Today's Posts Search

Showing results 1 to 25 of 34
Search took 0.00 seconds.
Search: Posts Made By: GSHelpBoy
Forum: vB3 Programming Discussions 02-12-2003, 06:14 PM
Replies: 1
Views: 951
Posted By GSHelpBoy
$sql = 'SELECT * FROM `calendar` WHERE `date` >...

$sql = 'SELECT * FROM `calendar` WHERE `date` > UNIX_TIMESTAMP()';
Forum: vB3 Programming Discussions 02-11-2003, 06:47 PM
Replies: 3
Views: 1,276
Posted By GSHelpBoy
<?php $prev_page = 'page.php'; $disc_page =...

<?php
$prev_page = 'page.php';
$disc_page = 'disclaimer.php';

if (strstr($_SERVER['HTTP_REFERER'], $prev_page)) {
// display page
} else {
// forward to disclaimer
...
Forum: vB3 Programming Discussions 02-07-2003, 04:04 PM
Replies: 1
Views: 858
Posted By GSHelpBoy
Try replacing the * with %

Try replacing the * with %
Forum: vB3 Programming Discussions 02-03-2003, 07:57 PM
Replies: 1
Views: 916
Posted By GSHelpBoy
Check the Apache documentation on Apache.org...

Check the Apache documentation on Apache.org (http://www.apache.org/), it you are using Apache.
Forum: vB3 Programming Discussions 02-01-2003, 10:34 PM
Replies: 2
Views: 832
Posted By GSHelpBoy
I think something like this would work:$sql =...

I think something like this would work:$sql = "DELETE FROM `table` WHERE `name` LIKE 'rpg_%'";But don't quote me on it.
Forum: vB3 Programming Discussions 01-31-2003, 06:31 PM
Replies: 3
Views: 969
Posted By GSHelpBoy
Your code looks fine, but the only problems I can...

Your code looks fine, but the only problems I can assume are you are running a version that does not support $_*, or your mail() function is not working.

Add this line to the top of the...
Forum: vB3 Programming Discussions 01-22-2003, 12:46 AM
Replies: 2
Views: 1,038
Posted By GSHelpBoy
You could use a regular expression instead.<?php ...

You could use a regular expression instead.<?php
if (preg_match('/^[.]+(forum\\.hostareus\\.com)$/', $_SERVER['HTTP_REFERER'])) {
$bbuserinfo['styleid'] = 1;
}
?>Be sure to escape the periods...
Forum: vB3 Programming Discussions 01-02-2003, 03:58 AM
Replies: 4
Views: 971
Posted By GSHelpBoy
The PHP manual really is the best place to learn...

The PHP manual really is the best place to learn PHP.

If you find it "too strange," just search with Google or another search engine.
Forum: vB3 Programming Discussions 01-02-2003, 12:57 AM
Replies: 6
Views: 1,394
Posted By GSHelpBoy
Does config.php connect to the database, because...

Does config.php connect to the database, because otherwises, you will not get any result.
Forum: vB3 Programming Discussions 01-01-2003, 04:36 PM
Replies: 6
Views: 1,394
Posted By GSHelpBoy
Sure.<?php // connect // select db // sql...

Sure.<?php
// connect
// select db
// sql query
$query = mysql_query($sql);
$i = 0;
while ($row = mysql_fetch_array($query)) {
print('<option value="' . $row[$i] . "'>' . $row[$i] ....
Forum: vB3 Programming Discussions 12-24-2002, 01:41 AM
Replies: 7
Views: 1,149
Posted By GSHelpBoy
The second code has an extra '}', I believe.

The second code has an extra '}', I believe.
Forum: vB3 Programming Discussions 12-20-2002, 09:49 PM
Replies: 18
Views: 2,189
Posted By GSHelpBoy
I thought you already had the donation table...

I thought you already had the donation table created...
Forum: vB3 Programming Discussions 12-20-2002, 07:28 PM
Replies: 5
Views: 1,207
Posted By GSHelpBoy
If you wish, thought it is not recommended, you...

If you wish, thought it is not recommended, you can set output_buffering to 'On' in your PHP INI file.
Forum: vB3 Programming Discussions 12-20-2002, 07:27 PM
Replies: 18
Views: 2,189
Posted By GSHelpBoy
Use this code:<?php $query =...

Use this code:<?php
$query = $DB_site->query('SELECT `user`, `amount`, SUM(`amount`) AS `total` FROM `donation` ORDER BY `amount` DESC LIMIT 10');

print('<table>');...
Forum: vB3 Programming Discussions 12-19-2002, 01:05 AM
Replies: 18
Views: 2,189
Posted By GSHelpBoy
$sql = 'SELECT `user`, `amount`, SUM(`amount`)...

$sql = 'SELECT `user`, `amount`, SUM(`amount`) FROM `donation` ORDER BY `amount`';That would select the user, the amount donated by that user, and the sum of all the donations.
Forum: vB3 Programming Discussions 12-14-2002, 10:19 PM
Replies: 4
Views: 1,415
Posted By GSHelpBoy
The only parameter needed in the function...

The only parameter needed in the function mysql_fetch_row() is the query resource, so get rid of ', $db'.

Also, why do you have a semicolon (;) at the end of the line with the mysql_fetch_row...
Forum: vB3 Programming Discussions 12-14-2002, 07:25 PM
Replies: 2
Views: 1,196
Posted By GSHelpBoy
You could most likely use the gettempate()...

You could most likely use the gettempate() function, if you can find the users online template.
Forum: vB3 Programming Discussions 12-14-2002, 07:23 PM
Replies: 4
Views: 1,415
Posted By GSHelpBoy
The valid function is mysql_fetch_row($result).

The valid function is mysql_fetch_row($result).
Forum: vB3 Programming Discussions 12-14-2002, 07:21 PM
Replies: 4
Views: 1,325
Posted By GSHelpBoy
No.

No.
Forum: vB3 Programming Discussions 08-15-2002, 05:41 PM
Replies: 2
Views: 884
Posted By GSHelpBoy
Did you add a require() to the global.php file...

Did you add a require() to the global.php file for audio.inc?
Forum: vB3 Programming Discussions 08-15-2002, 05:40 PM
Replies: 6
Views: 1,006
Posted By GSHelpBoy
Members with \ and " would also return an error,...

Members with \ and " would also return an error, unless you use addslashes()
Forum: vB3 Programming Discussions 08-15-2002, 05:39 PM
Replies: 3
Views: 1,069
Posted By GSHelpBoy
If you have phpMyAdmin, I suggest using that. ...

If you have phpMyAdmin, I suggest using that.

Otherwise, I can help you with installing it on the new server, if you feel comfortable with that.
Forum: vB3 Programming Discussions 08-14-2002, 11:44 PM
Replies: 3
Views: 1,069
Posted By GSHelpBoy
Go to your Admin center, and back up the MySQL...

Go to your Admin center, and back up the MySQL database.

Then save that file, and use phpMyAdmin on your new server to execute the query.
Forum: vB3 Programming Discussions 08-14-2002, 11:42 PM
Replies: 6
Views: 1,006
Posted By GSHelpBoy
The reason you received that error was because...

The reason you received that error was because the ' character was already being used to get the username, and when it found the O', it stopped reading that field, and attempted to move on to the...
Forum: vB3 Programming Discussions 08-14-2002, 12:47 PM
Replies: 5
Views: 1,081
Posted By GSHelpBoy
http://www.php.net/manual/ ...

http://www.php.net/manual/

http://www.mysql.com/documentation/mysql/bychapter/
Showing results 1 to 25 of 34

 
Forum Jump

All times are GMT. The time now is 03:05 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01551 seconds
  • Memory Usage 2,020KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)forumjump
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (2)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)search_results
  • (25)search_results_postbit
  • (1)spacer_close
  • (1)spacer_open
  • (6)threadbit_pagelink 

Phrase Groups Available:
  • global
  • inlinemod
  • prefix
  • search
Included Files:
  • ./search.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_search.php
  • ./includes/functions_databuild.php
  • ./includes/functions_forumlist.php
  • ./includes/functions_misc.php
  • ./includes/functions_forumdisplay.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • search_before_process
  • search_start
  • search_results_start
  • search_results_query_posts
  • search_results_prebits
  • threadbit_process
  • search_results_postbit
  • pagenav_page
  • pagenav_complete
  • forumjump
  • search_complete
  • navbits
  • navbits_complete