User Profile

Collapse

Profile Sidebar

Collapse
lisa007
lisa007
Last Activity: Sep 9 '10, 03:05 PM
Joined: Apr 13 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • if u mean like this it sets the date back into 0000/00/00
    Code:
     $query = "UPDATE news SET news_date='$news_date', subject='$subject', news_artical='$news_artical' WHERE news_id = '$news_id'";
    See more | Go to post

    Leave a comment:


  • whats wrong with my update query it resets date to 0000/00/00

    hi i'm trying to update my data from my database but it keeps reset the date back to 0000/00/00

    and now it says error

    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' DATE_FORMAT(new s_date, '%Y/%m/%d') as new_date FROM news SET new_date='', subj' at line 1

    this what i got help please

    Code:
    $query = "UPDATE,
    ...
    See more | Go to post

  • Hi the code meant to upload the details to mYSQL and add image to image folder but it just says error uploading file
    See more | Go to post

    Leave a comment:


  • the addalbum.php is unable to upload the image any idea what i'm doing wrong please

    Hi i have this form which meant to upload the create an album but some how doesnt not work can some1 help please i use 3 files here they are addalbum.php is where is not working the other files are just the database config and functions.php the error messages from the addalbum.php functions


    addalbum.php
    Code:
     require_once '../library/config.php';
    require_once '../library/functions.php';
    
    if(isset($_POST['txtName']))
    ...
    See more | Go to post

  • lisa007
    replied to Word filter by length of the word??
    this what i had using your code but as soon you load the page it simples pop up alert box saying terror then it no longer works

    Code:
    <HTML>
    <HEAD>
    <TITLE>Test Input </TITLE>
    
    
    <!--BEGIN WORD FILTER JAVASCRIPT-->
    <script language="JavaScript1.2">
    
    
    
    
     var specialWords = {
           "cheer": 1, 
        "bloody":
    ...
    See more | Go to post

    Leave a comment:


  • lisa007
    started a topic Word filter by length of the word??

    Word filter by length of the word??

    i have a word filter script but the problem is that it can be overpassed easy what i want is to count exacly the letter of the word cz for example the word cheer is banned but not the word cheerleader but the filter validates cheerleader as if it was cheer how can i get to count the words exacly


    Code:
    <HTML>
    
    <HEAD>
    
    <TITLE>Test Input </TITLE>
    ...
    See more | Go to post

  • lisa007
    replied to How to send email with from data in headers
    in PHP
    Thank you very much. It works beautifully now I will try my best to understand better the email concept form the php manual.
    See more | Go to post
    Last edited by Niheel; May 21 '10, 01:23 AM. Reason: Spelling, grammar and punctuation. Once again, post questions properly so people can read them.

    Leave a comment:


  • lisa007
    replied to How to send email with from data in headers
    in PHP
    I looked at it and it seems that my thick head can't get way around it. With email you need the form, to, subject, and body. I don't understand the extra parameters for the header.
    See more | Go to post
    Last edited by Niheel; May 21 '10, 01:19 AM. Reason: lisa007, Please use proper grammar, punctuation and spelling. If we can't understand your posts, we can't answer them.

    Leave a comment:


  • lisa007
    started a topic How to send email with from data in headers
    in PHP

    How to send email with from data in headers

    The following email code is sending the values but is not sending all the values from the form.
    Code:
    $subject = $_POST["subject"];
    $message = $_POST["message"];
    $name = $_POST["name"];
    $from = $_POST["from"];
    mail('xxxx@hotmail.co.uk', 'My Subject', $message, $from);
    I tried to just insert the values ($name $subject) on that line but on the email it will only post...
    See more | Go to post

  • lisa007
    replied to stop resending data when click refresh
    in PHP
    that was just the php validation the actual form is on a different page which is this one basicaly this is the form and the other is the validation php wich include the email.

    Code:
    !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    ...
    See more | Go to post

    Leave a comment:


  • lisa007
    started a topic stop resending data when click refresh
    in PHP

    stop resending data when click refresh

    I have a contact form that send goes tru this validation page if everything corrct this php page will echo the form sumited succefully but the problem is evrytime the user clicks submit the data gets resend how can i stop the user frm doing that
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <html>
    <head>
    <meta
    ...
    See more | Go to post

  • lisa007
    replied to link works on firefox but not on explorer
    i tried i tried and i tried i still couldnt get the same effect as with the button i tried using the <a> like u said bt the effect still wasnt the same i replace button on the css with the <a> and many other ways bt still got nothing

    i used this html
    Code:
    <a href="resume.html" class="rounded">
    	  <span>Save</span>	</a>
    and replaced all the button on the css with...
    See more | Go to post

    Leave a comment:


  • lisa007
    replied to link works on firefox but not on explorer
    how do i change cz now evrytime i delete the button name on the css all the effects goes away like

    Code:
    button.rounded {
    background: transparent url( btn_right.png ) no-repeat scroll right top;
    clear: left;
    font-size: 0.8em;
    }
    if i delet the button the effects is erased...
    See more | Go to post
    Last edited by Dormilich; May 10 '10, 07:10 PM. Reason: Please use [code] tags when posting code

    Leave a comment:


  • lisa007
    started a topic link works on firefox but not on explorer

    link works on firefox but not on explorer

    this link works on firefox but not on explorer help please cant seem to see whats wrong with it

    Code:
     	<li>
    		<a href="resume.html">
    	<button class="rounded">
    	  <span>Contact</span>
    	</button>
    	</a>
    </li>
    and this is the CSS

    Code:
    button {
    border: 0 none;
    cursor: pointer;
    font-weight:
    ...
    See more | Go to post

  • lisa007
    replied to how can i change this from insert to modify
    in PHP
    i did try but the proble is that the part wher it says copy image to the images folders doesnt get to copy no longer do i change copy with uptdate too or something

    Code:
    	$image=$_FILES['image']['name'];
    	//if it is not empty
    	if (strlen($image) >= 1)  //////////////////////////////////////////////////////// CHANGED
    	{
    		//get the original name of the file from the clients machine
    		$filename = stripslashes($_FILES['image']['name']);
    ...
    See more | Go to post

    Leave a comment:


  • lisa007
    started a topic how can i change this from insert to modify
    in PHP

    how can i change this from insert to modify

    how can i change this which insert into the database to display and modify i then resave back into the database


    Code:
    if(!empty($_POST['select1']) && $_POST['select1'] != 'default')
    $value = mysql_real_escape_string($_POST['select1']);
    elseif(!empty($_POST['select2']) && $_POST['select2'] != 'default')
    $value = mysql_real_escape_string($_POST['select2']);
    elseif(!empty($_POST['select3'])
    ...
    See more | Go to post

  • Warning: mail() [function.mail]: SMTP server response: 503 valid RCPT command must pr

    Warning: mail() [function.mail]: SMTP server response: 503 valid RCPT command must precede DATA on

    whenever user click on to get new password but doesnt fill in the username field it shows that message i have set up the server because if user put username the form works but if left blanck this error message keeps coming up




    Code:
     function procForgotPass(){
    
          global
    ...
    See more | Go to post

  • lisa007
    started a topic forgot password email works but registeration doesnt
    in PHP

    forgot password email works but registeration doesnt

    i have a form if user forgot password it send the new password to the user email but now i'm trying to is to also send when user register but is not wrking

    this is the forgot password which works perfectlty

    Code:
     header("Location: ".$session->referrer);
    	  
    	  {
             /* Generate new password */
             $newpass = $session->generateRandStr(8);
    ...
    See more | Go to post

  • lisa007
    started a topic repeat password doesnt work
    in PHP

    repeat password doesnt work

    Hi i'm trying to create a form wher user has a fields to enter password and then repeat password if password and repeat password doenst match echo error password doesnt match

    this is my password and repeat validation code

    Code:
     $field = "pass";  //Use field name for password
          if(!$subpass){
             $form->setError($field, "* Password not entered");
          }
    ...
    See more | Go to post

  • where can i get good tutorial to create preview edit buttom

    I have created a form wher admin will insert data into database that includes image now i need a preview buttom just like the one this forum use before submit a topic then if user satisfied with it submit or edit

    what i thought of doing is create a preview buttom but what will actually do is insert data into a temporary database if user decide to submit it will then delete from temporary database and insert into permanent database....
    See more | Go to post
No activity results to display
Show More
Working...