TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Showing results 1 to 25 of 65
Search took 0.04 seconds.
Search: Posts Made By: Krik
Forum: Advanced PHP Programming 09-13-2010, 09:12 PM
Replies: 1
Views: 740
Posted By Krik
I can't make heads or tales of how the tables you...

I can't make heads or tales of how the tables you provided are constructed to give you an accurate query, but if you are looking to query 2 tables you usually use a LEFT JOIN.


$sql = "
SELECT...
Forum: General 09-13-2010, 08:51 PM
Replies: 1
Views: 562
Posted By Krik
That's an update query really doesn't tell us...

That's an update query really doesn't tell us much about your database.

What code do you have so far? Have you created the HTML form yet?

There are some basic parts you should be able to do...
Forum: Absolute Beginners 07-19-2010, 02:29 PM
Replies: 9
Views: 641
Posted By Krik
header("Location: $_SERVER['HTTP_REFERER']") I...

header("Location: $_SERVER['HTTP_REFERER']")


I am guessing that is it. Sorry about that just typed all right into the post. None of it was checked to see if it works.

If you keep getting the error...
Forum: Absolute Beginners 07-19-2010, 05:01 AM
Replies: 9
Views: 641
Posted By Krik
That is basically the same thing except they are...

That is basically the same thing except they are storing the Unique id in a file, which is usually referred to as a "flat database".

Also there system doesn't have the unique url expire. The problem...
Forum: Absolute Beginners 07-18-2010, 02:39 AM
Replies: 9
Views: 641
Posted By Krik
Writing up all the code and explaining it would...

Writing up all the code and explaining it would be a very long post. I would suspect through explanation would be up around 10 printed pages. Just the code alone looks to be a minimum of 50 lines....
Forum: Absolute Beginners 07-17-2010, 01:35 AM
Replies: 9
Views: 641
Posted By Krik
Create a unique id each time the banner is...

Create a unique id each time the banner is displayed. You store the id in a database with the time it was created. You then have the id appended to the url and if the time difference is greater than...
Forum: Absolute Beginners 11-06-2009, 07:52 AM
Replies: 1
Views: 716
Posted By Krik
I am more familiar with MySQL than MSSQL but I...

I am more familiar with MySQL than MSSQL but I have dabbled in several databases in PHP. So what I do know is that you can connect to multiple MySQL databases by using the link_identifier parameter...
Forum: Absolute Beginners 11-06-2009, 07:34 AM
Replies: 4
Views: 1,444
Posted By Krik
Thought I would throw your way some good...

Thought I would throw your way some good reference material. If you don't know about php.net look them up and then do a search for the date() time() mktime() and strtotime() functions. And as a...
Forum: The Lounge 04-07-2009, 06:15 AM
Replies: 22
Views: 986
Posted By Krik
That would be no. I contacted someone I knew of...

That would be no.

I contacted someone I knew of that knows someone over at blue host. Blue Host is small hosting company they rent their server space and bandwidth from a server farm. Basically they...
Forum: The Lounge 04-07-2009, 06:07 AM
Replies: 22
Views: 986
Posted By Krik
Google "stock art", yes it has grown that...

Google "stock art", yes it has grown that big.
Forum: The Lounge 04-06-2009, 10:47 PM
Replies: 22
Views: 986
Posted By Krik
Was trying to track down some contact info for...

Was trying to track down some contact info for this guy and it looks like blue host has has his site, Relevant Studio (http://www.relevantstudio.com/), shutdown even the ICANN information is no...
Forum: The Lounge 04-06-2009, 10:27 PM
Replies: 2
Views: 553
Posted By Krik
The advanced coders secret weapon, php.net and...

The advanced coders secret weapon, php.net and google. We don't know it all but we can certainly fake it with php.net and google. 8-)
Forum: The Lounge 04-06-2009, 06:02 PM
Replies: 22
Views: 986
Posted By Krik
I hope that is at least partially my fault. Not...

I hope that is at least partially my fault. Not that I want the site inaccessible. I did the research and decided his case has merit. So I made the case known to several much larger communities that...
Forum: MySQL & Databases 04-05-2009, 02:07 AM
Replies: 10
Views: 962
Posted By Krik
I am not sure what you mean by "visual". Data...

I am not sure what you mean by "visual". Data usually is visible.

Now if your talking about a database manager, that allows you to manage your data in tables. Then phpmyadmin is my database manager...
Forum: Javascript, AJAX, E4X 04-04-2009, 10:10 PM
Replies: 19
Views: 741
Posted By Krik
You have no idea the entertainment you have...

You have no idea the entertainment you have provided.

From my post today at 1:06PM

I am laughing so hard I am crying.

I was siting here screaming at the monitor "you need a number" and everyone...
Forum: Javascript, AJAX, E4X 04-04-2009, 09:53 PM
Replies: 19
Views: 741
Posted By Krik
You are call them correctly bu the <div>'s are...

You are call them correctly bu the <div>'s are all blank. So blank minus 1 or '' -1 equals (=) what?

Blank.

Put a number in those divs, and only a number.
Forum: Javascript, AJAX, E4X 04-04-2009, 09:47 PM
Replies: 19
Views: 741
Posted By Krik
Here is the entire sample code I have been...

Here is the entire sample code I have been testing with. I used your original post and made the javascript work with it.


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
Forum: Javascript, AJAX, E4X 04-04-2009, 09:26 PM
Replies: 19
Views: 741
Posted By Krik
The "innerHTML" of the "mycount1" div is <span...

The "innerHTML" of the "mycount1" div is
<span class="style6"><span class="style8"><span class="style9"></span></span></span>

So "<span class="style6"><span class="style8"><span...
Forum: Javascript, AJAX, E4X 04-04-2009, 07:58 PM
Replies: 19
Views: 741
Posted By Krik
I thought I should give you some code that has...

I thought I should give you some code that has some performance improvement.

You may want to ignore this till you get the above working.

In my previous code for some dumb reason I made the function...
Forum: Javascript, AJAX, E4X 04-04-2009, 07:06 PM
Replies: 19
Views: 741
Posted By Krik
Ok this is a case of needing to walk through a...

Ok this is a case of needing to walk through a couple things

First merge the two <script> sections

<script type="text/javascript">
var rowcount = <?php echo $rowcount; ?>;
var nextrow = 1;
var...
Forum: Javascript, AJAX, E4X 04-04-2009, 06:31 AM
Replies: 19
Views: 741
Posted By Krik
Now here is were having good programing skills...

Now here is were having good programing skills will come into play.

The first issue of counting down instead of up. While I do not wish to be coy in my answer the solution to that is the same as if...
Forum: Javascript, AJAX, E4X 04-03-2009, 09:20 PM
Replies: 19
Views: 741
Posted By Krik
Try this <html...

Try this

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>

<script...
Forum: Javascript, AJAX, E4X 04-03-2009, 06:32 AM
Replies: 19
Views: 741
Posted By Krik
setTimeout("myfunc();", 1000); that code with...

setTimeout("myfunc();", 1000);

that code with after 1 second run the "mufunc" function. If I have that inside of the "myfunc" function it will every second run the "myfunc" function in an indefinite...
Forum: The Lounge 04-02-2009, 10:11 PM
Replies: 10
Views: 856
Posted By Krik
LOL I don't use ASP, but it's a simple if/else...

LOL

I don't use ASP, but it's a simple if/else and very funny.

So 9 lines of code to set the bTemplateUpdate variable to true. So if the that sample hold true for the rest of the code 3/4 of the...
Forum: XHTML, HTML, CSS 04-01-2009, 01:00 AM
Replies: 39
Views: 3,434
Posted By Krik
Sorry to resurrect this thread but ran into...

Sorry to resurrect this thread but ran into something that I thought would be a very note worthy addition to the discussion.

Several years ago I worked on a project that was very graphic intensive...
Showing results 1 to 25 of 65

 

All times are GMT. The time now is 06:21 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design