Forum: HTML and CSS May 18th, 2008 |
| Replies: 1 Views: 566 change table cellspacing="0"
add padding: 5px; to table#sample td |
Forum: PHP May 17th, 2008 |
| Replies: 10 Views: 995 |
Forum: PHP May 17th, 2008 |
| Replies: 10 Views: 995 :D i just noticed the limit 1 in original code. remove this and test original code or try one below.
<div id="news">
<div class="asnazzy">
<b class="atop"><b class="ab1"></b><b class="ab2... |
Forum: PHP May 17th, 2008 |
| Replies: 10 Views: 1,066 when i try it i get
ASAD
ASAD
ASAD
AsAD
Asad
Asad
asad
asad |
Forum: PHP May 17th, 2008 |
| Replies: 10 Views: 1,066 SELECT * FROM table_name ORDER BY column_name, BINARY column_name ASC |
Forum: PHP May 17th, 2008 |
| Replies: 10 Views: 1,066 try
SELECT * FROM table_name ORDER BY BINARY column_name ASC |
Forum: PHP May 17th, 2008 |
| Replies: 1 Views: 889 do a search in google on 'preload page' or post in javascript |
Forum: PHP May 17th, 2008 |
| Replies: 10 Views: 1,066 http://bugs.mysql.com/bug.php?id=30675
http://bugs.mysql.com/bug.php?id=29977 |
Forum: PHP May 17th, 2008 |
| Replies: 10 Views: 1,066 just a guess check for extra spaces |
Forum: PHP May 17th, 2008 |
| Replies: 10 Views: 995 your output result has to be in side the query loop. if outside only one result is done.
<div id="news">
<div class="asnazzy">
<b class="atop"><b class="ab1"></b><b class="ab2 color_c"></b><b... |
Forum: PHP May 17th, 2008 |
| Replies: 10 Views: 22,680 yeah the isset would of helped :$
nice rewrite Rockcreektech apart from $_SESSION['start'] needs to be $_SESSION['timeout']; |
Forum: PHP May 17th, 2008 |
| Replies: 3 Views: 596 the $info['$big_image'] is not from db it is a set varible so it should be echo $big_image and same with $info['ref'] - echo $ref;
the image and ref should go below db query to get info also
... |
Forum: PHP May 17th, 2008 |
| Replies: 10 Views: 22,680 session_start();
// 10 mins in seconds
$inactive = 600;
$session_life = time() - $_session['timeout'];
if($session_life > $inactive)
{ session_destroy(); header("Location:... |
Forum: PHP May 17th, 2008 |
| Replies: 3 Views: 596 merge thumb and url into image - colunm just contains name e.g 1.jpg
your ref seems to be primary key and date. if true, get rid of ref.
// images... |
Forum: PHP May 16th, 2008 |
| Replies: 1 Views: 771 what is the error?
what was u trying to do? |
Forum: PHP May 16th, 2008 |
| Replies: 2 Views: 409 <?php
$age = 21;
if ($age >61)
{
$age_score = '0.5'; |
Forum: PHP May 16th, 2008 |
| Replies: 19 Views: 3,245 the original code works ok apart from missing ;
u should use code tags code here [/CODE ]
[CODE]<!-- Navigation item -->
<?php
if (strrpos($_SERVER['SCRIPT_FILENAME'], "/bobo/index.php"))... |
Forum: PHP May 15th, 2008 |
| Replies: 19 Views: 3,245 it is because u have $style_home on all links therefore when $style_home is active for one link it will do it for all links. do $style_home1 $style_home2 or something
i tried no space thing... |
Forum: PHP May 15th, 2008 |
| Replies: 4 Views: 554 to see wat you get.
echo $path."/".$image_path; |
Forum: PHP May 15th, 2008 |
| Replies: 19 Views: 3,245 ok did u change index.php to other file names. u didn't say which one was working so i choose this. it will work on all files in bobo folder.
but i will also say that any folder combination will... |
Forum: PHP May 11th, 2008 |
| Replies: 3 Views: 976 look for post_max_size
<?php echo phpinfo(); ?> |
Forum: PHP May 11th, 2008 |
| Replies: 19 Views: 3,245 hmm for both $_SERVER['SCRIPT_NAME'] and $_SERVER['PHP_SELF'] not to work you might have a problem with your php.
$bobo = strrpos($_SERVER['SCRIPT_FILENAME'], "/bobo/index.php");
if ($bobo)
{... |
Forum: PHP May 11th, 2008 |
| Replies: 9 Views: 1,812 i don't know if it will work but you need to pass file vars to form 2 then on to form 3
you should have upload on form 2 or 3 for safety reason.
Page 2:
<form action="insert.php"... |
Forum: PHP May 11th, 2008 |
| Replies: 3 Views: 534 no its free just as long to have a email account with your domain and send mail/smtp enable which it should be. |
Forum: PHP May 11th, 2008 |
| Replies: 3 Views: 534 you might open yourself to spam.
http://www.w3schools.com/PHP/php_secure_mail.asp
http://uk3.php.net/manual/en/function.mail.php
http://uk3.php.net/manual/en/book.imap.php |
Forum: PHP May 11th, 2008 |
| Replies: 3 Views: 38,985 you could have different paths like
$nav='/website/home/templates/navigation/';
$temp_base='/website/home/templates/';
$base_url='/website/home/';
// ... |
Forum: PHP May 11th, 2008 |
| Replies: 19 Views: 3,245 comparing $_SERVER['SCRIPT_NAME'] == 'index.php' will not work for you as /bobo/index.php' and '/aktuelle seite/index.php' will give same style.
try below to see wat you get
echo... |
Forum: PHP May 11th, 2008 |
| Replies: 11 Views: 26,399 not sure it that is possible but you might be abled to run a vb script
http://uk3.php.net/manual/en/refs.utilspec.windows.php
http://uk3.php.net/manual/en/function.exec.php |
Forum: PHP May 11th, 2008 |
| Replies: 9 Views: 1,812 u could do it all in one page in stead of 3 pages. some info about restricting uploads
http://www.w3schools.com/php/php_file_upload.asp
use this on db inputs - mysql_real_escape_string... |
Forum: PHP May 11th, 2008 |
| Replies: 11 Views: 26,399 u will need a sms provider like clicktell. some info
http://www.clickatell.com/developers/php.php |
Forum: PHP May 11th, 2008 |
| Replies: 22 Views: 8,525 if you are viewing the message in a email and you have just changed the image then it will always point to the old image because it has been download and stored in inbox.
the code below will only... |
Forum: PHP May 11th, 2008 |
| Replies: 3 Views: 976 well depends on your max post memory. i think default is 8mb, which is for more than enought for your data needs. |
Forum: PHP May 6th, 2008 |
| Replies: 3 Views: 781 guessing this is wat you mean. fill in missing names.
echo "<table cellpadding=10 border=0>
<tr><td>first name</td><td>last name</td><td>a</td><td>b</td><td>c</td><td></td><td>d</td>";
... |
Forum: PHP May 6th, 2008 |
| Replies: 22 Views: 8,525 file_exists will not work on http://
$path_image_folder='mercury/image/thumbs';
foreach($exts as $ext) {
if (file_exists($path_image_folder.'/'.$image_name.'.'.$ext)) {
$image =... |
Forum: PHP May 2nd, 2008 |
| Replies: 1 Views: 706 http://uk3.php.net/manual/en/oci8.examples.php |
Forum: PHP May 2nd, 2008 |
| Replies: 11 Views: 1,390 clear your cache first.
// check to see if cookie is set
echo $_COOKIE['UserId'];
// check to see if any row have been updated. should be more than 0 if update
echo mysql_affected_rows(); |
Forum: PHP May 2nd, 2008 |
| Replies: 4 Views: 4,942 The current code does db insert on a 1 - 5 selection.
so i understand bettter.
so the max is 5. is there a minimum?
or are you saying the user has to select 5 minimum and 5 max.
if so... |
Forum: PHP May 2nd, 2008 |
| Replies: 4 Views: 4,942 if you have 5 colunms in db setup then forget for loop just input results as $mylist[0], $mylist[1], etc
if you have one field use implode(',',$mylist)
<?php
$mylist=$_POST['mylist'];
... |
Forum: PHP May 2nd, 2008 |
| Replies: 3 Views: 546 well i have not reviewed all your code but wat stood out was first bit in php.
when you set $firstField = $_POST['first'];
this should not be
First Name: $first
it should be
First Name:... |
Forum: PHP May 1st, 2008 |
| Replies: 11 Views: 1,390 it will work if you set a cookie. you can not set a session value then try and retrieve it as a cookie and vice virsa.
you have this at top session_start(); so i am guessing you are using session.... |