logo-dw

Go Back   Dreamweaver Club Forums > Search Forums
Register FAQ Members List Search Today's Posts Mark Forums Read

Showing results 1 to 25 of 312
Search took 0.01 seconds.
Search: Posts Made By: lux
Forum: PHP 11-19-2008, 08:26 AM
Replies: 6
Views: 782
Posted By lux
this is untested code, but go through it and see...

this is untested code, but go through it and see how I have approached the situation:


<?php


//check to see if the pool value is available via GET method
if(isset($_GET['pool'])){
...
Forum: PHP 11-18-2008, 12:01 PM
Replies: 6
Views: 782
Posted By lux
there's are great set of video tutorials here...

there's are great set of video tutorials here under the tutorials and articles tab
Forum: PHP 11-18-2008, 09:01 AM
Replies: 6
Views: 782
Posted By lux
The aim of the third option is to say "hey I want...

The aim of the third option is to say "hey I want all the possible values for this column".

Therefore it is better to not search/filter on this database column because there is no point in looking...
Forum: PHP 11-05-2008, 10:07 AM
Replies: 2
Views: 500
Posted By lux
Use the htmlentities() function: $str =...

Use the htmlentities() function:


$str = "php code here";

echo htmlentities($str);
Forum: PHP 10-30-2008, 06:33 PM
Replies: 1
Views: 396
Posted By lux
Check out the PHP videos under the Tutorials and...

Check out the PHP videos under the Tutorials and Articles tab.

Post back if you have more questions.

Good luck and have fun!
Forum: PHP 10-30-2008, 04:16 PM
Replies: 13
Views: 1,103
Posted By lux
Install guidelines:...

Install guidelines: http://wiki.moxiecode.com/index.php/TinyMCE:Installation

Install refers to copying and pasting the files on your web server and pointing to the specified tinymce js file. Then...
Forum: PHP 10-27-2008, 02:46 PM
Replies: 6
Views: 660
Posted By lux
sorry, typo in my previous post; iisrest...

sorry, typo in my previous post;

iisrest /stop

should be

iisreset /stop
Forum: PHP 10-27-2008, 01:32 PM
Replies: 6
Views: 660
Posted By lux
if you have IIS running then you must stop the...

if you have IIS running then you must stop the service before you can start and use apache.

one way to stop IIS is to open a command prompt window and enter the following command:

iisrest /stop...
Forum: PHP 10-27-2008, 01:28 PM
Replies: 13
Views: 1,103
Posted By lux
so you pass the function the text (submitted by...

so you pass the function the text (submitted by the user) the function uses php's preg_replace function to search a string, look for a matching pattern and replace the pattern with a specified string...
Forum: PHP 10-27-2008, 10:52 AM
Replies: 5
Views: 3,437
Posted By lux
A php mail class for doing pretty much anything...

A php mail class for doing pretty much anything you want:

http://www.swiftmailer.org/
Forum: PHP 10-27-2008, 10:46 AM
Replies: 13
Views: 1,103
Posted By lux
function hyperlink($string){ $string =...

function hyperlink($string){

$string = preg_replace("/(http:\/\/)?([a-zA-Z0-9\-.]+\.[a-zA-Z0-9\-]+([\/]([a-zA-Z0-9_\/\-.?&%=+])*)*)/", '<a href="http://$2">$2</a>', $string);

return...
Forum: PHP 10-24-2008, 08:15 AM
Replies: 13
Views: 1,103
Posted By lux
Include a javascript WYSIWYG editor Using...

Include a javascript WYSIWYG editor

Using the tinymce (basic config) you can let your brother format text, links, images etc....

http://tinymce.moxiecode.com/

@edbr : same as what you...
Forum: PHP 10-02-2008, 01:14 PM
Replies: 2
Views: 2,219
Posted By lux
You'll need to use JS to rotate the images, as...

You'll need to use JS to rotate the images, as that part is happening client side (web browser).

As for random images from a directory again you can use JS to populate an array with the filenames...
Forum: PHP 10-01-2008, 06:40 PM
Replies: 6
Views: 1,426
Posted By lux
post your code and we can have a look

post your code and we can have a look
Forum: PHP 10-01-2008, 06:39 PM
Replies: 9
Views: 9,204
Posted By lux
no not really, sorry boss! (hehe)

no not really, sorry boss! (hehe)
Forum: PHP 10-01-2008, 03:12 PM
Replies: 9
Views: 9,204
Posted By lux
at size 12 (uk) thats a big pair of shoes! hehe ...

at size 12 (uk) thats a big pair of shoes! hehe

my best advice is use php.net as must as possible!
Forum: PHP 10-01-2008, 01:53 PM
Replies: 9
Views: 9,204
Posted By lux
Good effort, you need to check your if...

Good effort, you need to check your if statements.

Here's an example to work from:


if (isset($_POST['Submit'])){

//remove any whitespace and convert characters to lowercase
$email...
Forum: PHP 10-01-2008, 10:31 AM
Replies: 9
Views: 9,204
Posted By lux
1. capture the form data inputted by the user ...

1. capture the form data inputted by the user

2. query the database for all the existing emails of existing accounts (db rows)

3. loop through the results of the query and compare the stored...
Forum: PHP 09-30-2008, 06:21 AM
Replies: 6
Views: 1,426
Posted By lux
make sure you have session_start(); at the top of...

make sure you have session_start(); at the top of each page where sessions are used.
Forum: PHP 09-29-2008, 06:03 PM
Replies: 2
Views: 783
Posted By lux
Yes, that will work.

Yes, that will work.
Forum: PHP 09-26-2008, 07:07 PM
Replies: 13
Views: 1,539
Posted By lux
Ideal starting point to build a php calendar from...

Ideal starting point to build a php calendar from Zend:

Build a calendar: http://www.zend.com/zend/trick/tricks-Oct-2002.php

Add links for months:...
Forum: PHP 09-26-2008, 03:27 PM
Replies: 2
Views: 518
Posted By lux
<?php if($AccessLevel == 1){ ?> | item3 | item4...

<?php if($AccessLevel == 1){ ?> | item3 | item4 <?php } ?>
Forum: PHP 09-25-2008, 11:44 AM
Replies: 15
Views: 1,286
Posted By lux
its still available because the other conditions...

its still available because the other conditions are returning true

when you only test against one condition you will get the result you are looking for.


$item = "sport event";

$news =...
Forum: PHP 09-25-2008, 11:11 AM
Replies: 15
Views: 1,286
Posted By lux
i don't really know what your question/aim is??? ...

i don't really know what your question/aim is???

give me some more code and data and explain what it is you want to do.

when i get back from lunch i'll try to clear it up for up
Forum: PHP 09-25-2008, 10:58 AM
Replies: 15
Views: 1,286
Posted By lux
i think you need to use && instead of || if...

i think you need to use && instead of ||

if ('item' != $_GET['news'] && 'item' != $_GET['events'] && 'item' != $_GET['download']){
$path='uploads/file/';
}else{
$path='uploads';
}

...
Showing results 1 to 25 of 312

 
Forum Jump

All times are GMT. The time now is 04:22 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com