Unlock the Power of Open Source! The " Linux New " SWAYAM Plus Course is live now and about 2,500 learners have already registered for it.

If you are a registered learner, the forum page is now active. Visit the page and get all your questions answered.

MySQL Part 5 - Punjabi

880 visits



Outline:

MySQL ( Part 5 ) mysql_fetch_assoc — ਸੰਬੰਧਿਤ ARRAY ਦੀ ਤਰਾਂ ਇੱਕ RESULT ROW ਕੱਢਣਾ । array mysql_fetch_assoc ( resource $ result ) / / ਸੰਬੰਧਿਤ ARRAY ਨੂੰ ਰਿਟਰਨ ਕਰਦਾ ਹੈ ਜੋ ਕੱਢੀ ਹੋਈ row ਨਾਲ ਸੰਬੰਧ ਰੱਖਦਾ ਹੈ ਅਤੇ ਇੰਟਰਨਲ ਡਾਟਾ ਸੂਚਕ ਨੂੰ ਅੱਗੇ ਮੂਵ ਕਰਾਉਂਦਾ ਹੈ । mysql_fetch_assoc ( ) , ਵਿਕਲਪਿਕ ਦੂੱਜੇ ਪੈਰਾਮੀਟਰ ਲਈ MYSQL_ASSOC ਦੇ ਨਾਲ mysql_fetch_array ( ) ਕਾਲ ਕਰਨ ਦੇ ਬਰਾਬਰ ਹੈ । ਇਹ ਕੇਵਲ ਇੱਕ ਸੰਬੰਧਿਤ ARRAY ਰਿਟਰਨ ਕਰਦਾ ਹੈ ।