www.webdeveloper.com

Search:

Type: Posts; User: RJhawkes

Search: Search took 0.01 seconds.

  1. Thanks for your replies guys RHawkes

    Thanks for your replies guys

    RHawkes
  2. Reading PHP Objects Patterns and Practice: Acronym help

    Ok simple question.. Just trying to understand the acronym used here:


    // ...
    public static function getInstance( $id, PDO $pdo ) {
    $stmt = $pdo->prepare("select * from products where id=?");...
  3. Replies
    2
    Views
    1,032

    Ohh exact same problem I didn't realize I had to...

    Ohh exact same problem I didn't realize I had to upload it to my 127.0.0.1 thanks!
  4. Replies
    2
    Views
    1,032

    [RESOLVED]Basic Class problem

    Hey guys,

    Right here is my problem, This is so basic I really don't know why it is not working!

    Here is my code:


    <?php
    class ShopProduct{
    public $title = 'Default product name';
  5. Replies
    1
    Views
    3,990

    Notice: Undefined offset: 0 HELP please :)

    Hey guys! Don't know why I'm getting this error at all....

    here is the code:


    function mysql_ver() {
    $output = shell_exec('mysql -V');
    preg_match('@[0-9]+\.[0-9]+\.[0-9]+@', $output,...
  6. jQuery Ok so you want to display info from an XML file...

    Ok so you want to display info from an XML file using javascript?

    maybe this is what you are looking for:

    http://www.w3schools.com/XML/tryit.asp?filename=tryxml_parsertest
  7. jQuery I suggest that you start here: ...

    I suggest that you start here:

    http://www.w3schools.com/

    Great website with loads of great tutorials
  8. Replies
    6
    Views
    1,850

    resolved, It was working all along! Me being...

    resolved, It was working all along! Me being stupid and not realizing it :P

    Thanks for your help nogdog!
  9. Replies
    6
    Views
    1,850

    Ohh when I'm entering in the form I'm literally...

    Ohh when I'm entering in the form I'm literally typing

    ''something@something.com\n somethingelse@something.com"

    So if someone were to attempt to do a e-mail injection they would just press...
  10. Replies
    6
    Views
    1,850

    Ok the above code doesn't work but if i put the...

    Ok the above code doesn't work but if i put the input as ''something@something.com\n somethingelse@something.com" it finds the match
    If I run this code it works and finds the match:


    <?php
    ...
  11. Replies
    6
    Views
    1,850

    Ok thanks! The only thing that doesn't seem...

    Ok thanks!

    The only thing that doesn't seem to work, Is when I try to test my e-mail area, when I type in something@something.com \n CC: Somethingelse@something.com

    It says it is fine, Which...
  12. Replies
    6
    Views
    1,850

    Really need help! Form validation!

    Ok guys please help me :)

    I've been going mad over this, I just can't see why it is not working.. I know the PHP validation is not complete, I'm taking one step at a time and trying to figure out...
  13. Replies
    6
    Views
    1,871

    ignore me, didn't check website first :)

    ignore me, didn't check website first :)
  14. Replies
    6
    Views
    1,871

    If it was me, I would use folder directories...

    If it was me, I would use folder directories more. Instead of publicizing what languages you are using etc, Why not use directories?

    So create a folder called portfolio, and place your...
  15. is this any clearer?...

    is this any clearer? http://www.tizag.com/javascriptT/javascriptarray.php
  16. Replies
    7
    Views
    2,325

    google ''HTML and PHP Forms''

    google ''HTML and PHP Forms''
  17. Replies
    12
    Views
    2,443

    Ok thanks for the info, as i said i am still...

    Ok thanks for the info, as i said i am still quite new to this :)
  18. Replies
    12
    Views
    2,443

    Ok sure, what would you use instead of the...

    Ok sure, what would you use instead of the foreach? and i thought ''echo'' was needed to display the info
  19. Replies
    12
    Views
    2,443

    if (!mysqli_select_db($connect, 'Persons')) { ...

    if (!mysqli_select_db($connect, 'Persons'))
    {
    $error = 'Unable to locate the Persons database.';
    include 'error.html.php';
    exit();
    }
    $result = mysqli_query($link, 'SELECT * FROM...
  20. Replies
    12
    Views
    2,443

    mysql_select_db("Persons", $connect); $result =...

    mysql_select_db("Persons", $connect);
    $result = mysql_query("SELECT * FROM Persons");

    while ($row = mysql_fetch_array($result))
    {
    echo $row['FirstName'] . " " . $row['LastName'] . " is " ....
Results 1 to 20 of 20
HTML5 Development Center



Recent Articles