User Profile

Collapse

Profile Sidebar

Collapse
simbarashe
simbarashe
Last Activity: Jun 5 '07, 02:22 PM
Joined: Nov 27 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • simbarashe
    started a topic Making a BACK buntton work
    in PHP

    Making a BACK buntton work

    Hie

    Could someone please help me I'm trying to make a back button and I'm trying not to make the button a submit button. The action or the redirection to another page is done using php and my code is as follows:

    [code=html]
    <link href="css/jobSheet.css" rel="stylesheet " type="text/css" />
    <?php
    session_start() ;
    ?>

    <html>
    ...
    See more | Go to post

  • simbarashe
    replied to php regular expressions
    in PHP
    I tried that script but it didnt do the trick, thanks for it though maybe I needed to twist and turn a little bit to make it suitable for my use. I managed to use the script that i had made before but however I have encountered and even bigger problem and it is as follows:

    Could someone please help me with my regular expresssions because my script is behaving in a rather wierd way when I implement the regular expressions. I am checking...
    See more | Go to post
    Last edited by pbmods; May 21 '07, 07:38 PM. Reason: Added code tags.

    Leave a comment:


  • simbarashe
    started a topic php regular expressions
    in PHP

    php regular expressions

    Hie

    could someone please help me> I'm trying to use a regular expression to validate and address and it is as follows.

    eregi('(^[a-zA-Z0-9 \\\.,-]+)$',$value4)

    $value4 = 10/54 kent street;

    I want to allow the users to put in slashes as part of their addresses so I'm looking 4 a simple regular expression to do that.

    Thank you
    See more | Go to post

  • simbarashe
    started a topic Getting and using current page URL
    in PHP

    Getting and using current page URL

    Hie

    could someone please help me with getting and using the current page url. I have a function that gets the url, I want to use it with header(location : XXX) but it wont work. The code is as follows:

    The code below is for the first page:session_st art is in line 3

    <link href="css/jobSheet.css" rel="stylesheet " type="text/css" />
    [php]
    session_start() ;...
    See more | Go to post

  • Help with 'failed to open stream: No such file or directory in ...'

    Hie

    I'm trying to pass variables between pages using URLs however I am encountering the following error when I do so:

    Warning: main(jobSheetDi splay.php?id=20 071403PB136CoA) [function.main]: failed to open stream: No such file or directory in /home/computio/public_html/gto/index.php on line 43

    Warning: main() [function.includ e]: Failed opening 'jobSheetDispla y.php?id=200714 03PB136CoA' for inclusion (include_path=' .:/usr/lib/php:/usr/local/lib/php')...
    See more | Go to post

  • simbarashe
    started a topic How does the INSERT statement work

    How does the INSERT statement work

    This command will not insert data into this table. Is it worng coz it looks fine to me and it inserts data into other tables but just not this one, what could be the problem. This table was also created after I had used my database for sometime

    mysql_query("IN SERT INTO SAMPLE VALUES( NULL, last_insert_id, '$contactname', '$siteaddress', '$phonenumber', NULL, '$website', '$code', '$postaladress' ,...
    See more | Go to post

  • simbarashe
    started a topic Problems with last_insert_id()

    Problems with last_insert_id()

    I am trying to insert an auto_increment value into multiple tables but its seems to lose its value after the the second insert statement and my code is as follows can any1 please help. The auto_increment value that i want to use is the one from the client table and it will insert in the CONTACTS table but it will not in the JOBSHEET and KNOWLEDGE table. last_insert_id( ) has not worked because i have auto increment fields in all the tables pliz pliz...
    See more | Go to post
No activity results to display
Show More
Working...