Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 33
Search took 0.17 seconds.
Search: Posts Made By: Strider64
Forum: PHP 05-21-2013, 08:23 PM
Replies: 1
Views: 109
Posted By Strider64
If you want the ability to associate categories...

If you want the ability to associate categories or tags with pages (or posts), you will need to create a categories (tags) table. Then you would need a create a pages_categories table that will act...
Forum: PHP 05-18-2013, 03:44 AM
Replies: 0
Views: 123
Posted By Strider64
Is this a secure way of doing things?

I using Object-Oriented Programing and I think I'm finally getting the hang of things (I hope). However, I'm far from being a guru, but I just want to make sure I'm going in the right direction...
Forum: PHP 05-12-2013, 04:58 AM
Replies: 4
Views: 149
Posted By Strider64
Most people lean towards using PDO because it...

Most people lean towards using PDO because it offers better flexibility when it comes having the flexibility of using different database over mysqli (obviously) and the prepared statements can be...
Forum: PHP 05-11-2013, 10:17 PM
Replies: 3
Views: 124
Posted By Strider64
OOPs... I didn't see you were trying to get a...

OOPs... I didn't see you were trying to get a value from a form...sorry me bad. I'll get back to you (that is if someone else doesn't beat me to the punch :D )
Forum: PHP 05-09-2013, 03:53 PM
Replies: 5
Views: 235
Posted By Strider64
Here's how to get it to look exactly on screen...

Here's how to get it to look exactly on screen what you want (I know it just aesthetics:D):
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Star Triangle</title>
</head>
<body>...
Forum: Post a PHP snippet 04-25-2013, 05:03 PM
Replies: 4
Views: 340
Posted By Strider64
I just want to follow up on this, I can't say...

I just want to follow up on this, I can't say Thank You enough. I made the modifications and while it's a little more code it sure does bring the flexibility, ease of modification and vastly improves...
Forum: Post a PHP snippet 04-24-2013, 04:46 PM
Replies: 4
Views: 340
Posted By Strider64
Thanks, that helps out a lot for I was looking at...

Thanks, that helps out a lot for I was looking at finding a way of protecting (or giving it integrity to the data), I would have never in a million years of thought of doing something like that....
Forum: PHP 04-23-2013, 02:03 PM
Replies: 6
Views: 213
Posted By Strider64
This is what I do---> Suppose you have a...

This is what I do--->
Suppose you have a Column in your database called post_date in one table and update in another table? Instead of writing a whole bunch of if statements, simply create a...
Forum: PHP 04-22-2013, 10:35 PM
Replies: 9
Views: 215
Posted By Strider64
You don't need to use stripslashes() when getting...

You don't need to use stripslashes() when getting the string back. Do however use htmlspecialhars() when displaying any text to the user that you don't compose yourself (such as those obtained from...
Forum: PHP 04-22-2013, 12:45 PM
Replies: 9
Views: 175
Posted By Strider64
<?php $orig = "–"; $a =...

<?php
$orig = "–";

$a = htmlentities($orig);

$b = html_entity_decode($a);

echo $a;
echo '<br>';
echo $b;
Forum: PHP 04-22-2013, 02:57 AM
Replies: 12
Views: 313
Posted By Strider64
In this case I find using the ternary operator...

In this case I find using the ternary operator easier to use

echo ( $fields['price'] ) ? '<li><span class="bold-text">' . $fields['pricetext'] . ': </span></li>' : '';
Forum: PHP 04-21-2013, 08:05 PM
Replies: 1
Views: 125
Posted By Strider64
I'm just getting the grasp of OOP myself and my...

I'm just getting the grasp of OOP myself and my answer is if you are comfortable writing PHP the procedure style then start slow with OOP. Don't try to do everything at once with OOP, take it in...
Forum: Post a PHP snippet 04-21-2013, 12:53 PM
Replies: 4
Views: 340
Posted By Strider64
Retrieve Data from an Array the OOP Way

This is a fairly simple Constructor class, but I think will save people who are developing a forum or a blog some time.

Suppose you have a Column in your database called post_date in one table and...
Forum: HTML & CSS 04-21-2013, 04:36 AM
Replies: 5
Views: 178
Posted By Strider64
I took a college HTML/CSS a few years ago,...

I took a college HTML/CSS a few years ago, Notepad(+) was the only thing we used. However, if you feel comfortable with HTML/CSS then Dreamweaver is a great time saver like already stated for coding...
Forum: HTML & CSS 04-21-2013, 04:31 AM
Replies: 2
Views: 151
Posted By Strider64
FYI - For dummy text this is a great website to...

FYI - For dummy text this is a great website to go to: http://www.lipsum.com/
Forum: Site reviews 04-16-2013, 11:29 AM
Replies: 6
Views: 529
Posted By Strider64
never mind.....

never mind.....
Forum: PHP 04-07-2013, 02:53 PM
Replies: 3
Views: 226
Posted By Strider64
$login_error = "Account must be activated before...

$login_error = "Account must be activated before logging in.";
Forum: PHP 04-02-2013, 12:19 PM
Replies: 6
Views: 248
Posted By Strider64
First I would suggest using mysqli or PDO for...

First I would suggest using mysqli or PDO for mysql has been depreciated.

The following is how you would do it in mysqli (The code hasn't been tested....if you need more help you can easily get...
Forum: PHP 03-17-2013, 05:56 AM
Replies: 9
Views: 577
Posted By Strider64
You're not testing anything, $valid is set to...

You're not testing anything, $valid is set to true because you have it set as true in the function.

Here maybe this will help:

<?php
function validate($people, $conditions, $value) {

...
Forum: HTML & CSS 03-10-2013, 12:40 PM
Replies: 2
Views: 190
Posted By Strider64
<div id="nav"> <ul> <li><a...

<div id="nav">
<ul>
<li><a href="#">Link 1</a>
<ul>
<li><a href="#">Sub_Link 1</a></li>
</ul>
<li>
<li><a...
Forum: PHP 03-10-2013, 12:18 AM
Replies: 12
Views: 385
Posted By Strider64
When I started out I used Notepad+ (I'm on a...

When I started out I used Notepad+ (I'm on a Windows computer), but you could use Dreamweaver. Just don't use of any of their fancy automated do-dads...use it as text editor until you are...
Forum: HTML & CSS 01-28-2013, 04:52 PM
Replies: 3
Views: 353
Posted By Strider64
First I think you are tackling your logo wrong,...

First I think you are tackling your logo wrong, by that I mean your logic. Why don't you do something like the following:
Example of CSS Code
body {
font-size: 76%;
background-color: #f9f9f9;...
Forum: Site reviews 06-22-2012, 08:48 PM
Replies: 7
Views: 1,921
Posted By Strider64
"The Best Information For Learning To Golf And...

"The Best Information For Learning To Golf And Break 80" is a little hard to read and there is a word Search hanging in the header. I would tighten the header/nav so more of the body is seen. I...
Forum: DOM and JSON scripting 03-21-2012, 06:05 AM
Replies: 4
Views: 1,176
Posted By Strider64
Sorry I'm a little tired and it didn't actually...

Sorry I'm a little tired and it didn't actually occur to me to look in IE for the error code(s) for I mainly use Firefox.

Thanks again for you help, I just need to be pointed in the right...
Forum: DOM and JSON scripting 03-21-2012, 05:16 AM
Replies: 4
Views: 1,176
Posted By Strider64
If using innerHTML elements is not recommended to...

If using innerHTML elements is not recommended to create html elements, could you steer me in the direction of a different way in getting the look? I know how to do it css, but I really don't want to...
Showing results 1 to 25 of 33

 
Forum Jump

All times are GMT +1. The time now is 12:03 PM.