Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 39
Search took 0.38 seconds.
Search: Posts Made By: shadowsai
Forum: MySQL 12-27-2012, 03:46 AM
Replies: 7
Views: 1,120
Posted By shadowsai
Sorry if I didn't make it clear, but I want to...

Sorry if I didn't make it clear, but I want to restore the database automatically at a certain time of day, without any user interaction.
Forum: MySQL 12-23-2012, 02:24 AM
Replies: 7
Views: 1,120
Posted By shadowsai
"Sandbox" or somehow restore database automatically?

Hello,
How would one restore the database to its original settings automatically, without any user interaction? Thus, all changes made to the database will be "undone", per say, and the original...
Forum: PHP 12-12-2012, 03:52 AM
Replies: 10
Views: 630
Posted By shadowsai
Thanks! I can't believe that one slipped my mind....

Thanks! I can't believe that one slipped my mind.

Yeah, I knew that it was the HTML that was causing the spaces to be collapsed, but couldn't think of something other than replacing everything...
Forum: PHP 12-11-2012, 07:21 AM
Replies: 10
Views: 630
Posted By shadowsai
Yes, I know that, however, I need to display all...

Yes, I know that, however, I need to display all those extra spaces to preserve the formatting in each line.



Well, the problem is, I need to retain (and display) the original amount of spaces...
Forum: PHP 12-10-2012, 07:02 AM
Replies: 10
Views: 630
Posted By shadowsai
PHP Whitespace Replacement

Hello All!
I need something that will allow me to replace each space character with   but only when the amount of space characters is greater than (or equal to) 2.

For example:
This had...
Forum: PHP 11-12-2012, 06:54 AM
Replies: 5
Views: 432
Posted By shadowsai
Yeah, shortly after I posted this thread, I...

Yeah, shortly after I posted this thread, I realized that I would have to use the while loop. My code was almost exactly like that, except I had each <td></td> in it's own echo. Is that a bad thing,...
Forum: PHP 11-11-2012, 05:52 AM
Replies: 5
Views: 432
Posted By shadowsai
Something different for the first item in each row of a foreach loop through an array

No idea how to do this. Help guys?

So I have this neat little loop that basically goes through my SQL search results (through an index of songs), and tabulates the results.

while($row =...
Forum: JavaScript programming 11-05-2012, 06:33 AM
Replies: 7
Views: 539
Posted By shadowsai
So right now, based on that, I have this ...

So right now, based on that, I have this
<script language="javascript">
window.onkeydown = function(e) {
if(e.keyCode == 49) // if 1 (top row) is pressed
document.location.hash="1"; //...
Forum: JavaScript programming 11-04-2012, 07:52 AM
Replies: 7
Views: 539
Posted By shadowsai
function document.onkeydown()

Well, I'm trying to program something so that when I press down a key, it'll jump down to that respective anchor bookmark. This Javascript seems to work fine in IE (WOAH, I KNOW), but doesn't do...
Forum: MySQL 08-22-2012, 06:39 AM
Replies: 6
Views: 924
Posted By shadowsai
You just forgot to close the split function....

You just forgot to close the split function. :cool: Everything else is good.

I replaced that line with $var = explode(" ", $_GET['q']);, as it seems like split is deprecated. Is that an...
Forum: MySQL 08-21-2012, 11:06 PM
Replies: 6
Views: 924
Posted By shadowsai
Same in the record of the DB. For example,...

Same in the record of the DB.

For example, if the record has the following "automatically parse links in text", and I search "automatically text", it'll bring up that record.
Forum: MySQL 08-21-2012, 05:10 AM
Replies: 6
Views: 924
Posted By shadowsai
Actually, nevermind. Took a look at the PHP...

Actually, nevermind. Took a look at the PHP documentation, and found that I was to use $var = @$_GET['q']

I feel kind of stupid. Anyways, is it possible for me to run a search to find two words...
Forum: MySQL 08-21-2012, 01:36 AM
Replies: 6
Views: 924
Posted By shadowsai
How to use data generated from form?

Hello, I'm somewhat new to PHP, so perhaps what I'm trying to accomplish is a little too over the top of my head. I'm trying to create a form to search through the respective fields, as selected....
Forum: Computer/PC discussions 01-09-2012, 02:11 AM
Replies: 9
Views: 1,430
Posted By shadowsai
Or you could just do a complete...

Or you could just do a complete reinstall/reformat.
Forum: PHP 01-03-2012, 04:50 AM
Replies: 6
Views: 466
Posted By shadowsai
Currently I'm using the code below to limit it to...

Currently I'm using the code below to limit it to 10 entries.:

$files = scandir($dir, 1);
if (sizeof($files)-2< 10)
$limit = sizeof($files) - 2;
else $limit = 10;

But I'm not sure how I can...
Forum: PHP 12-28-2011, 01:01 AM
Replies: 6
Views: 466
Posted By shadowsai
Sorry, I forgot to mention that MySQL support is...

Sorry, I forgot to mention that MySQL support is not enabled on the host. That's why I'm calling files.

And Inigoesdr, your code uses foreach, which results in all the files being listed right?...
Forum: PHP 12-28-2011, 12:23 AM
Replies: 6
Views: 466
Posted By shadowsai
Using PHP to generate news page

I've been trying to figure out how to make a somewhat-dynamically update-able news page, which will grab the data from individual text files (00001.txt, 00002.txt, 00003.txt, ... etc) and place the 5...
Forum: HTML & CSS 12-24-2011, 10:23 PM
Replies: 4
Views: 450
Posted By shadowsai
Thanks for the shortened version! So I'm...

Thanks for the shortened version!

So I'm guessing the problem I was having is a limitation of the 960.gs system then? I decided to use it because I thought it would help with the horizontal...
Forum: HTML & CSS 12-24-2011, 12:41 AM
Replies: 4
Views: 450
Posted By shadowsai
960.gs Problems

I was working with the 960.gs framework before I ran into some issues.

I want the layout to look like how it shows up in the attachment, but the contact box won't cooperate and stay in the right...
Forum: General web building 12-04-2011, 05:29 AM
Replies: 0
Views: 869
Posted By shadowsai
Unify Alternative

So I was browsing the web today and stumbled upon Unify (http://unify.unitinteractive.com). It looks appealing in terms of allowing others to edit the completed website with no prior HTML knowledge. ...
Forum: HTML & CSS 05-07-2011, 08:33 PM
Replies: 16
Views: 1,494
Posted By shadowsai
I'm not sure I understand what you mean by using...

I'm not sure I understand what you mean by using h1. Anyways, I just got around uploading my images, see if this helps at all. Here's the link:...
Forum: HTML & CSS 05-01-2011, 04:09 AM
Replies: 16
Views: 1,494
Posted By shadowsai
It's not actually a background image, it's just a...

It's not actually a background image, it's just a logo on the left side. I know Aerospace's code isn't perfect, I just have to change the margin for #text (which I've done).

I'll upload my images...
Forum: HTML & CSS 04-30-2011, 08:21 PM
Replies: 16
Views: 1,494
Posted By shadowsai
Nope, that won't work since the image...

Nope, that won't work since the image "footer.jpg" is on top of the footer color. It's an 8x17px image (stripes).

Edit: By the way, if I need to ask a question about getting one of those web 2.0...
Forum: HTML & CSS 04-22-2011, 06:34 AM
Replies: 16
Views: 1,494
Posted By shadowsai
Thank you so much! However, how would I make it...

Thank you so much!
However, how would I make it so that the border cuts off where the footer begins?
Forum: HTML & CSS 04-19-2011, 12:02 AM
Replies: 16
Views: 1,494
Posted By shadowsai
Well, there's nav.css and import.css. I just...

Well, there's nav.css and import.css. I just didn't think you'd need them. Anyways, I guess I'll post it here:

nav.css
@charset "utf-8";
/* CSS Document */

#nav {
width: 100%;
...
Showing results 1 to 25 of 39

 
Forum Jump

All times are GMT +1. The time now is 02:41 PM.