www.webdeveloper.com

Search:

Type: Posts; User: phpnewbie34

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    1,007

    Changing Mysqli to PDO connect

    I have been reading and have been told that prepared statements are one way to prevent SQL injections.

    My mysqli conect works, but my new PDO statement doesn't connect

    $username = "root";...
  2. Replies
    3
    Views
    1,409

    Re:

    That doesn't work as I am trying to create a header and a footer for my website.

    How do I put a DIV inside of a DIV ... or can use something else like DIV and put it inside a DIV?
  3. Replies
    3
    Views
    1,409

    Creating identical header and footer

    Hey there friends.

    I am looking to add an identical repeat image to both the very top and bottom of the page.

    I added the image to the body {} tag and also the html {} tag.

    The problem is...
  4. Replies
    2
    Views
    1,023

    Is Joomla worth using?

    I apologize if this seems like a silly question...

    But is Joomla worth using?

    I have read it works great with PHP sites, but I'm wondering if it has any real value.

    Thanks
  5. Re:

    Amazing., thanks

    I'm still trying to make it work with what I had in mind though
  6. Re:

    Does that method work with Pagination as well?

    My script looks something like

    <script>
    var form = document.getElementById('keywordForm');
    ...
  7. Replies
    4
    Views
    2,365

    I appreciate the help but I don't know how to use...

    I appreciate the help but I don't know how to use the JSON command. How do you turn the JSON array into something in PHP / HTML?
  8. Ned help generating simple Javascript application to refine searches

    Hello friends and programmers ..

    I am trying to have a button that instantly refines my searches

    Something like

    Onclick("SELECT * FROM TBL WHERE Description LIKE $value")

    Is this...
  9. Replies
    4
    Views
    2,365

    Re:

    How do you execute the AJAX function?

    Also do I need to use XML? as currently I do not
  10. Replies
    4
    Views
    2,365

    Live Keyword Search

    Good morning programmers,

    I'm looking to create a live keyword search using PHP, MySQL, and Javascript.

    I have a pagination script which works fine.

    How would one create a form that allows...
  11. What can I replace these variables with?

    $query = "SELECT COUNT(*) FROM pixs";
    $total_pages = mysql_fetch_array(mysql_query($query));
    $total_pages = $total_pages[num];



    I'm having trouble entering these into my php editor...
    ...
  12. Replies
    0
    Views
    1,574

    Javascript question

    This is my JS code to validate a form.

    How do I validate more than one variable at a time?

    <script>
    function validateForm()
    {
    var x=document.forms["myForm"]["title"].value;
    if (x===null ||...
  13. Replies
    1
    Views
    1,032

    Creating multiple pages with DB info

    Good afternoon fellow programmers,

    I've been reading my reference book but I can't figure out to create more than one page for my list.

    I want to create a simple list from my DB.

    Then once I...
  14. Replies
    2
    Views
    1,021

    Using $_SESSION properly

    I'm having problems with the $_SESSION code.
    I can't retrieve the info on the next page.

    After looking at the manual (which I think lacks enough examples / explanation) I came to this:

    <?php...
  15. Re:

    Wow thanks. I'll test it soon and let you know.
  16. Re:

    So I let the user submit the text and picture?

    Then once they send it I double check before uploading it into the database?

    Some websites will not let you even click the button to submit unless...
  17. Check to see if file uploaded is actually a picture

    <form enctype="multipart/form-data" method="POST" action="ads.php" />
    Name:<input type="text" name ="name" /><br />
    Book:<input type="text" name ="book" /><br />
    Subject:<input type="text" name...
  18. Replies
    0
    Views
    865

    Advanced PHP Question

    Good morning friends and programmers,

    I'm looking to create something similar to this link: http://toronto.en.craigslist.ca/tor/zip/3763209705.html

    What I need is 2 pages.

    One page I...
  19. Do you know what the code for that is? like...

    Do you know what the code for that is?
    like SELECT * from db

    ...then echo ...?

    Thanks for your help
  20. How do I use PHP to write how many records are in the database?

    How do I use PHP to write "There are 10 records, etc" on my website.

    For example, if I have 10 records in one database, how do I transfer the number to HTML??
  21. Still not working

    Thanks for the reply but I'm still stuck.

    What I'm actually trying to do is retrieve the images from $_FILES, put in my current directory, store it in a variable, then send the code to the MySQL...
  22. Quick question about storing image NAMES in MySQL

    Good morning programmers,

    How do you insert an image name into a MySQL database?

    For example - car.jpeg, bike.png

    What is the code for storing a name with a decimal (.) in it?

    Do I use...
  23. Need Help inserting / retrieving images from MySQL Database

    Good morning programmers,

    How do you insert an image name into a MySQL database?

    For example - car.jpeg, bike.png

    What is the code for storing a name with a decimal (.) in it?

    Do I use...
Results 1 to 23 of 23
HTML5 Development Center



Recent Articles