Logo

Bulletin Board

Posts by PasserByGuy
> >>
Avatar
PasserByGuy (218)
In Website Help [b][color=black](DSi)[/b][/color]
15 Apr 2012 12:58
Webs.com=a n00bs paradise.

HTML5, CSS3, JS, PHP, SQL, jQuery, jSON, & ASP-Web developer candies.
Does this alter-ego make me look stupid?
Avatar
PasserByGuy (218)
In bug glitch
15 Apr 2012 12:54
I agree.

I dunno why, but this situation is an lolfail kinda moment.
Does this alter-ego make me look stupid?
Avatar
PasserByGuy (218)
In Main Menu Button
15 Apr 2012 12:52
Link, it's all about the design of the website.

As a web designer, Danny wants to do everything in his power to make his sites' users content, so navigation could be changed for the bulletin boards & blogs.
Does this alter-ego make me look stupid?
Avatar
PasserByGuy (218)
In More bulletin boards
15 Apr 2012 12:49
Hey, dum-dums,

Why not a Music bulletin board, eh?
Does this alter-ego make me look stupid?
Avatar
PasserByGuy (218)
In How to make a DSI/3DS/Wii Browser compatible game?
23 Mar 2012 01:13
Very well put, Limxzero.

But if you're game is going to be cross-platform, you could also use Java for systems that support it.

As for Java and it's browser buddy Java Script, they both can be very difficult; Java Script especially because you're constantly updating and manipulating elements on the web page itself.
Does this alter-ego make me look stupid?
Avatar
PasserByGuy (218)
In Quote Changer Mysql,Js,Php
11 Mar 2012 01:37
Use a JS to create a var of random quotes, print a quote randomly from the array, and use an interval to refresh the quotes.
Does this alter-ego make me look stupid?
Avatar
PasserByGuy (218)
In Subtract time help
11 Mar 2012 01:35
1. What is the point of setting $date as a form variable when you just re-write the variable the next line?

2. The time() function should NOT have any parameters.
Does this alter-ego make me look stupid?
Avatar
PasserByGuy (218)
In I need help.
11 Mar 2012 01:33
Chanishyy-You seem to be very ignorant in C++, because it is used with COMPUTERS, not websites.
Does this alter-ego make me look stupid?
Avatar
PasserByGuy (218)
In Online users help
12 Feb 2012 21:46
First off, you need to use the time() function and set the `online` column on your table equal to the output of that function.
Then, based off of the difference between the current time and what is stored, you can find (in seconds), how long a person has been online.
Does this alter-ego make me look stupid?
Avatar
PasserByGuy (218)
In Code for smilies PHP and MYSQL
12 Feb 2012 21:44
Chanishyy-It's a function.
It doesn't matter where you put it, but I would recommend that you learn more PHP if you honestly don't understand where a block of code "goes".
Does this alter-ego make me look stupid?
Avatar
PasserByGuy (218)
In PHP preg_replace - Print Variable Value Instead of Literal?
11 Feb 2012 18:29
Basically, I'm working with jSON.

Pretty cool, but I can't decode it on my web host with json_decode();

Here's my solution:
PHP Regular Expressions to dynamically update jSON files.

Here's what I have, for example:

The jSON txt File
{

"person": {
"firstname":"Ricky",
"lastname":"Yoder",
"location":"Wernersville",
"haslived""Pottsville","Pottstown"]
}

}


The PHTML Web Page
<?php
$f=file_get_contents("test.txt");
$newfname="Richard";
die(nl2br(preg_replace('/"firstname":"(.*?)"/','"firstname":"($newfname)"',$f)));
die(nl2br($f));
?>


You see, I am trying to replace "firstname":"Ricky" with "firstname":"Richard", but since I have to use ' to make the delimiter, it is parsed as a literal, string, which gives us the output "firstname":"$newfname" instead of the actual value of the variable.

Is there any way to escape double quotes while using them to start the delimiter?

Your help is appreciated to make a more dynamic web.
-Ricky
Does this alter-ego make me look stupid?
Avatar
PasserByGuy (218)
In Website Help [b][color=black](DSi)[/b][/color]
26 Jan 2012 23:07
The distinguished DarkGuy101 spake:
The distinguished Limxzero spake:
That pretty much was the example. The code that goes in is:
<br>
<br><head><meta name="viewport" content="width:device-width">
<br></head>

<br>
<br>Is this... simple code, gonna be the topic for this whole thread, or shall someone gonna change ''the topic''..?


Well, with a useless post like that that has nothing to do with the thread topic, you have successfully changed the subject to: unnecessary posting.
Does this alter-ego make me look stupid?
Avatar
PasserByGuy (218)
In DSi[color=orange]Buzz[/color]
03 Jan 2012 14:21
Meh. I think I'm done with DSi sites...
Does this alter-ego make me look stupid?
Avatar
PasserByGuy (218)
In Commenting
19 Dec 2011 20:59
De'Sean, click here for a reading of the SQL LEFT JOIN keyword.
Does this alter-ego make me look stupid?
Avatar
PasserByGuy (218)
In -- FULL profile system! --
18 Dec 2011 19:40
The distinguished Skittles spake:
Anytime you're dealing with $_GET values, I recommend trying to make them always be numeric. That way, you can check for a trickery simply by checking whether or not the $_GET value is numeric:
<br><span style="text-shadow:1px 0px 1px #888">
<br>if(isset(is_numeric($_GET[value]))){
<br>do_something();
<br>//$_GET value is numeric, do some stuff
<br>}
<br>else{
<br>do_something_else();
<br>//Not numeric, you so bad, you go bye-bye
<br>}
<br></span>


+1

ME GUSTA.
Does this alter-ego make me look stupid?
Avatar
PasserByGuy (218)
In What ever happened to DSUniverse?
18 Dec 2011 13:38
Tayler, I began to remake it a long while back ago (a year ago at least), but I realized that working on websites made for Nintendo's mobile Internet Browsers was a waste of time.

Try Snet, a new website made by me for the PC.
Does this alter-ego make me look stupid?
Avatar
PasserByGuy (218)
In -- FULL profile system! --
09 Dec 2011 02:32
Then just delete everything else. @jsa005
Does this alter-ego make me look stupid?
Avatar
PasserByGuy (218)
In Insert script
09 Dec 2011 02:31
PrincessChanny-Don't bother trying to program a MySQL database, just let phpMyAdmin do it for you.
Does this alter-ego make me look stupid?
Avatar
PasserByGuy (218)
In Register Script
09 Dec 2011 02:30
varchar(95) for `username`?

Think, PrincessChanny. Like you want someone running around with a username that's 95 characters long?

How's this?
Hithisisareallylongusername
Does this alter-ego make me look stupid?
Avatar
PasserByGuy (218)
In Check it fool
09 Dec 2011 02:26
1)mobile.web.tr sucks
2)It is not your site. They did all of the work
3)THIS is a REAL website: Snet.

4)The proper link to your site:
DSiPals.

Yer welcome.
Does this alter-ego make me look stupid?
> >>
Home Bulletin Boards Home
Advertisement
Wii, Nintendo DS, Nintendo DSi are ™ Nintendo Co. Ltd. Opera is a product of Opera Software ASA. This website is ©2009-2012 Daniel Gump. All rights reserved. Members are responsible for their own content. No account information will be given to third-parties.