Register
FAQ
Calendar
Search
Today's Posts
Rules
Guidelines
SMS enable your application
via Clickatell’s fast, simple and reliable API's, built to integrate with any system.
Click here
to learn more.
Flash Website Builder
- Trendy Site Builder is a Flash Site Building tool that helps users build stunning websites.
Check Out Custom
Custom Logo Design
by LogoBee. Website Design and Free Logo Templates available.
CodingForums.com
>
Search Forums
Search Results
User Name
Remember Me?
Password
Before you post, read our:
Rules
&
Posting Guidelines
Page 1 of 2
1
2
>
Showing results 1 to 25 of 47
Search took
0.21
seconds.
Search:
Posts Made By:
er4o
Forum:
PHP
05-24-2011, 10:22 AM
Replies:
4
adding 2 hours to now()??
Views:
605
Posted By
er4o
Try like this: $currentTime =...
Try like this:
$currentTime = time($msg->getCreatedAt());
$timeAfterOneHour = $currentTime+(60*60*2);
$date=date("Y-m-d H:i:s",$timeAfterOneHour);
Forum:
PHP
07-09-2010, 10:47 AM
Replies:
1
Merge 3+ images with GD
Views:
511
Posted By
er4o
Did you see the imagecopymerge...
Did you see the imagecopymerge (http://php.net/imagecopymerge) function?
There are some easy examples which may help you.
Forum:
PHP
05-21-2010, 09:28 PM
Replies:
9
Show php in a (dot)html file?
Views:
1,265
Posted By
er4o
You can do it by making a .htaccess file, example...
You can do it by making a .htaccess file, example - http://corz.org/serv/tricks/htaccess2.php
Forum:
PHP
04-06-2010, 05:38 PM
Replies:
1
How to use multiple arrays for different image rotations
Views:
530
Posted By
er4o
What about using multi-dimensional arrays? Here...
What about using multi-dimensional arrays?
Here is an example:
http://php.net/manual/en/language.types.array.php
at
Example #7 Recursive and multi-dimensional arrays
Forum:
PHP
04-05-2010, 06:02 PM
Replies:
4
How to generate a comma separated value file of emails from a database
Views:
708
Posted By
er4o
Change this echo $row['email'].","; to ...
Change this
echo $row['email'].",";
to
$emails .= $row['email'].",";
and then the file creation
Forum:
PHP
04-04-2010, 06:56 PM
Replies:
2
How do I calculate the next month from today ?
Views:
1,135
Posted By
er4o
This have to work ;) $next_month = date("F",...
This have to work ;)
$next_month = date("F", strtotime("+1 month"));
echo $next_month;
Forum:
PHP
04-02-2010, 04:50 AM
Replies:
10
$_POST not working!
Views:
1,176
Posted By
er4o
Edited my post ^^
Edited my post ^^
Forum:
PHP
04-02-2010, 04:42 AM
Replies:
10
$_POST not working!
Views:
1,176
Posted By
er4o
Just test it with only this code inside...
Just test it with only this code inside UsageResult.php
echo $_POST['cat'];
You may try to change usageResult.php to UsageResult.php
Forum:
PHP
02-03-2010, 10:14 AM
Replies:
6
Undefined variable?
Views:
648
Posted By
er4o
Set the $abc into the function <?php ...
Set the $abc into the function
<?php
function xyz() {
$abc = 'hello';
return $abc;
}
echo xyz();
?>
Forum:
Design templates and graphics for sale
01-09-2010, 10:19 AM
Replies:
0
Business template (coded)
Views:
3,814
Posted By
er4o
Business template (coded)
1) Design for sale (post a direct link to the design, or screenshot):
http://er4o.org/templates/template1/pic1-thumb.png (http://er4o.org/templates/template1/pic1.png)
...
Forum:
PHP
01-01-2010, 09:24 PM
Replies:
5
What does this operator do?
Views:
718
Posted By
er4o
Maybe this will be helpful -...
Maybe this will be helpful - http://www.php.net/manual/en/language.references.whatdo.php
Forum:
PHP
12-07-2009, 09:39 AM
Replies:
4
delete two ids from two tabels with one click
Views:
867
Posted By
er4o
Ahh yes, just tested it at my local host. Got...
Ahh yes, just tested it at my local host. Got working query:
if ($_GET['id']) {
$id = intval($_GET['id']);
$sql = "DELETE "._TABLE1.".*, "._TABLE2.".* FROM "._TABLE1.", "._TABLE2." WHERE...
Forum:
PHP
12-07-2009, 06:58 AM
Replies:
4
delete two ids from two tabels with one click
Views:
867
Posted By
er4o
Try like this: $sql = "DELETE FROM...
Try like this:
$sql = "DELETE FROM "._TABLE1.", "._TABLE2." WHERE "._TABLE1.".id1 = '" . intval($_GET['id']) . "' AND "._TABLE2.".id2 = '" . intval($_GET['id']) . "'";
Forum:
PHP
12-06-2009, 06:42 AM
Replies:
1
Complete Ip To Country Database
Views:
596
Posted By
er4o
I am using this one -...
I am using this one - http://ip-to-country.webhosting.info/node/view/6
Forum:
PHP
12-04-2009, 03:59 PM
Replies:
1
PHP Array Validation for registration
Views:
541
Posted By
er4o
What about using Cookies/Sessions? ...
What about using Cookies/Sessions?
http://www.php.net/manual/en/features.cookies.php
http://www.php.net/manual/en/features.sessions.php
Forum:
PHP
12-02-2009, 04:45 PM
Replies:
2
Count down timer from now to a specific time
Views:
909
Posted By
er4o
Hey I tryed to do something but I don't know if...
Hey I tryed to do something but I don't know if this is what you want.
$start = strtotime("2009-12-02 15:34:58");
$now = time();
$end = strtotime("2009-12-02 19:34:58");
echo "Start: " ....
Forum:
PHP
12-01-2009, 07:08 PM
Replies:
2
timestamp
Views:
398
Posted By
er4o
Well with this example the date() function gets...
Well with this example the date() function gets the time by the old timestamp.
Try like this
$new_date = date('Y-m-d H:i:s');
print $new_date;
Forum:
PHP
11-30-2009, 11:18 AM
Replies:
6
Putting an array into order
Views:
544
Posted By
er4o
Did you try with this function? -...
Did you try with this function? - http://php.net/manual/en/function.sort.php
Forum:
PHP
11-15-2009, 05:40 AM
Replies:
1
Require_once
Views:
456
Posted By
er4o
I think you forgot the ) bracket - if...
I think you forgot the ) bracket -
if (isset($settings)) {
Forum:
PHP
11-12-2009, 06:44 AM
Replies:
11
Php image crop not working
Views:
1,102
Posted By
er4o
Try to place the ob_start(); function line after...
Try to place the ob_start(); function line after the <?php tag.
Forum:
PHP
11-08-2009, 06:23 PM
Replies:
1
Changing é into html entities without touching the html elements ?
Views:
797
Posted By
er4o
http://php.net/htmlspecialchars ...
http://php.net/htmlspecialchars
http://php.net/htmlspecialchars_decode
this may help?
Forum:
PHP
11-08-2009, 08:22 AM
Replies:
4
Limit text length
Views:
757
Posted By
er4o
Here is one function which can be helpful for...
Here is one function which can be helpful for you:
function textlimit($text, $len, $end_char = "...") {
if (strlen($text) > $len) { return substr($text, 0, $len) . $end_char; }
else { return...
Forum:
PHP
10-30-2009, 04:18 PM
Replies:
3
How do i add 5 hours to PHP Time Code
Views:
1,714
Posted By
er4o
Something like this, maybe? echo date("F d...
Something like this, maybe?
echo date("F d Y, H:i", strtotime("+5 hour"));
or
echo date("F d Y, H:i", (time() + (5 * 60 * 60)));
Forum:
PHP
10-27-2009, 04:52 AM
Replies:
5
PHP redirection
Views:
449
Posted By
er4o
header("refresh: 3; url=wheretoredirect"); ...
header("refresh: 3; url=wheretoredirect");
That will redirect you after 3 seconds, to wheretoredirect (change this to your page).
Forum:
PHP
10-26-2009, 10:22 PM
Replies:
3
Resolved
Echoing results with differing background colors?
Views:
390
Posted By
er4o
In your css: .color1 { background-color:...
In your css:
.color1 { background-color: #ffffff; }
.color2 { background-color: #e6e6e6; }
and the div's:
<div class='color1'>
Showing results 1 to 25 of 47
Page 1 of 2
1
2
>
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
:: Client side development
JavaScript programming
DOM and JSON scripting
Ajax and Design
JavaScript frameworks
Post a JavaScript
HTML & CSS
XML
Flash & ActionScript
Adobe Flex
Graphics and Multimedia discussions
General web building
Site reviews
Building for mobile devices
:: Server side development
Apache configuration
Perl/ CGI
PHP
Post a PHP snippet
MySQL
Other Databases
Ruby & Ruby On Rails
ASP
ASP.NET
Java and JSP
Other server side languages/ issues
ColdFusion
Python
:: Computing & Sciences
Computer Programming
Computer/PC discussions
Geek News and Humour
Web Projects and Services Marketplace
Web Projects
Small projects (quick fixes and changes)
Medium projects (new script, new features, etc)
Large Projects (new web application, complex features etc)
Unknown sized projects (request quote)
Vacant job positions
Looking for work/ for hire
Project collaboration/ partnership
Paid work offers and requests (Now CLOSED)
Career, job, and business ideas or advice
Domains, Sites, and Designs for sale
Domains for sale
Websites for sale
Design templates and graphics for sale
:: Other forums
Forum feedback and announcements
All times are GMT +1. The time now is
12:08 AM
.
Web Hosting UK
|
Dedicated Server Hosting
|
Shareware Junction
|
Software Geek
|
Flash file uploader
|
Cloud Server
|
Web Hosting Australia
Home
-
Contact Us
-
Archives
-
Link to CF
-
Resources
-
Top
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.