www.webdeveloper.com

Search:

Type: Posts; User: fideltfg

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    13
    Views
    14,111

    AJAX I think I get what your after. Do you want to...

    I think I get what your after. Do you want to stop for submission if there is a problem with the check boxes? ( none selected ) and use java to display errors before the form is submited or are you...
  2. Replies
    13
    Views
    14,111

    AJAX If you mean the PHP script that the...

    If you mean the PHP script that the javascript/ajax function sends the data to (URL in the code in my last post), then that can be any php file. You just collect the data from the POST/GET or...
  3. Replies
    2
    Views
    554

    sweet thanks. I turn my brain off now. Thats just...

    sweet thanks. I turn my brain off now. Thats just about the point I'm at now with my efforts, thank you very much. I actualy wrote a solution in PHP, but really wanted it in sql and you saved me...
  4. Replies
    2
    Views
    554

    recursive query across tables

    hi all.

    I'm trying to write a stored proceedure that will given a singal int value search within one table (categories) to find all its child categries then repeat the process untill it has all...
  5. Replies
    1
    Views
    1,362

    need translation please

    I'm trying to convert a Python script in to PHP. Although I know nothing about python, so its proving a bit harder than expected.

    Anyways I have the following in python and need to convert it in...
  6. Replies
    23
    Views
    2,614

    Ah sorry I missed a bit of your post. Dalecosp...

    Ah sorry I missed a bit of your post. Dalecosp hit on one method of doing it,
    I would rather include the required files instead like this,



    if (isset ( $_REQUEST ['submit'] )) {
    if (isset (...
  7. Replies
    23
    Views
    2,614

    the idea is good, but try it like this.... ...

    the idea is good, but try it like this....

    <?php

    if ($_POST ['Utility'] == "all") {
    if ($_POST ['JobCategory'] == "all") {
    $includeFileName = 'resultsall.php';
    } else {...
  8. Replies
    5
    Views
    1,110

    NogDog is correct you can declare the db to use...

    NogDog is correct you can declare the db to use by prefixing it to the table name in the query.


    however the code you have above is missing the assignment for $query

    try this

    ...
  9. Replies
    23
    Views
    2,614

    replace $jobCatArray = (with $jobCatArray =...

    replace
    $jobCatArray = (with
    $jobCatArray = array(
  10. Replies
    2
    Views
    1,021

    your going to need another table to store a...

    your going to need another table to store a record of all views for all videos before for can collect the data your after. with the table you described your only keeping a total count of views.
  11. Correction: You can collect them from the post,...

    Correction: You can collect them from the post, get or request arrays
  12. you can set up toy html for the default list in a...

    you can set up toy html for the default list in a php var and insert tags to replace with the id/name of the list......like this for example



    $listCode = "<select id='<ID>' name='<ID>'><option...
  13. Replies
    5
    Views
    1,110

    if both DB's are on the same server and the...

    if both DB's are on the same server and the credentials are the same you do not need to create two connections. I think you are just over writing your first set of connection commands with the second...
  14. Replies
    2
    Views
    868

    you are referancing the $childcat elements...

    you are referancing the $childcat elements without the array name i think, try this


    foreach($child as $childcat){
    ?><li><a...
  15. Replies
    2
    Views
    868

    hi, I'm not sure how to fix your code, but I find...

    hi, I'm not sure how to fix your code, but I find myself working on a similar problem and here is my solution, I hope this helps get you moving.



    $parentsArray = array ();
    $pid =...
  16. Replies
    23
    Views
    2,614

    two ways: 1 : use a switch instead of all...

    two ways:


    1 : use a switch instead of all the if else's statements. this works better if you need process some thing if the case is true and allows you to assign any number of cases to the same...
  17. Replies
    0
    Views
    588

    thread tree view idea need help

    hi all

    I have an idea for my site and would like to know if its possible. Sorry if this is in the wrong forum, ( point me to the right one if it is please )

    I have a threaded blog system that...
  18. Replies
    1
    Views
    802

    solved, thanks anyway

    solved, thanks anyway
  19. Replies
    1
    Views
    802

    page will not scroll anymore

    Hi all. I made some changes to the layout of my site, but now it will not scroll.

    Can some one please take a look at http://modplod.com and tell me what I have done wrong. I was half the night...
  20. Replies
    1
    Views
    658

    save php as post in mysql db

    Hi all, can someone please tell me the best way to save php code as part of a larger string, in to a mysql db? or at least point me to a tutorial or the likes.

    thanks
  21. you use it when adding a string to a query to...

    you use it when adding a string to a query to clean up the string and stop errors or hacks in the query
  22. I think your looking for an ajxa solution here....

    I think your looking for an ajxa solution here. try asking in the javascript forum, but I would do something like

    on the month list entries add an onfocus and call a php script via that to display...
  23. Replies
    2
    Views
    637

    I'm not sure this is going to work. the yz...

    I'm not sure this is going to work. the <x>yz</x> may some times be <x>abc</x>, an unknown value, so it needs to find , processes and replace what is between the <x> tags , will this do that or does...
  24. Replies
    2
    Views
    845

    replace elseif($arate == "N/A") with } else...

    replace elseif($arate == "N/A") with } else if($arate == "N/A"){
  25. ok so after your foreach statement $imageNames...

    ok so after your foreach statement $imageNames will contain an array of all the image file names

    you can then create a query like this with it


    $c = count ( $imageNames );
    $query = "INSERT...
Results 1 to 25 of 62
Page 1 of 3 1 2 3
HTML5 Development Center



Recent Articles