Any php experts here?

|
2021-12-24 15:23:55
2021-12-24 15:22:37
the error was that linux is case sensitive

I typed all the letters correctly

2021-12-24 15:24:14
How to Fix the 500 Internal Server Error

Reload the web page. …

Clear your browser’s cache. …

Delete your browser’s cookies. …

Troubleshoot as a 504 Gateway Timeout error instead. …

Contacting the website is another option. …

Come back later.

2021-12-24 15:24:25
2021-12-24 15:24:14
How to Fix the 500 Internal Server Error

Reload the web page. …

Clear your browser’s cache. …

Delete your browser’s cookies. …

Troubleshoot as a 504 Gateway Timeout error instead. …

Contacting the website is another option. …

Come back later.

Follow some steps

2021-12-24 17:16:53
Yes tell me
ecargsid_eht 2021-12-24 18:00:53
dreamasf 2021-12-24 09:40:18
i cannot login but i can register please help me please

Is the error solved?

Complexmp4 2021-12-24 18:55:01
[🇪🇦] Feliz navidad a todos, espero que estén bien, bastante bien, buenas vibras para todos ustedes. ✨

[🇺🇲] Merry Christmas everyone, I hope you are well, quite well, good vibes to all of you. ✨

.> Dante

TechnologyLuster 2021-12-24 23:11:20
After selecting the category, how to get the list of subcategories related to the same category in the dropdown of subcategory?
ecargsid_eht 2021-12-24 23:42:09
TechnologyLuster 2021-12-24 23:11:20
After selecting the category, how to get the list of subcategories related to the same category in the dropdown of subcategory?

If the subcategory is another table.. join both tables

TechnologyLuster 2021-12-24 23:42:52
Example code please 🙏
dogruadam 2021-12-24 23:58:41
TechnologyLuster 2021-12-24 23:11:20
After selecting the category, how to get the list of subcategories related to the same category in the dropdown of subcategory?

U can save categories with parent category id,then use that id in query to select releted sub categories

Awele11 2021-12-25 00:35:46
dogruadam 2021-12-24 23:58:41
U can save categories with parent category id,then use that id in query to select releted sub categories

That’s like using a foreign key of “id” on reference to category table in your sub categories table

dogruadam 2021-12-25 00:41:03
Awele11 2021-12-25 00:35:46
That’s like using a foreign key of “id” on reference to category table in your sub categories table

Yep that’s the common way of doing it

dogruadam 2021-12-25 00:43:06
codeslide-54140.jpg
Just like that 2 while loops first for the main category 2. For the sub
BindasBoyRishav 2021-12-25 17:44:07
Guys recommend me a laptop under 40000
dreamasf 2021-12-25 19:22:32
ecargsid_eht 2021-12-24 18:00:53
Is the error solved?

No

ecargsid_eht 2021-12-25 19:51:35
dreamasf 2021-12-25 19:22:32
No

Show me ur login php code

ecargsid_eht 2021-12-25 19:52:09
What is the logic that you’ve used .. specially after the user logs in.. maybe there’s a recurrsion happening
DeveloperBHavesh 2021-12-25 22:15:52
codeslide-54238.jpg

vivekhacks 2021-12-25 22:17:31
Why my msg deleted automatically
DeveloperBHavesh 2021-12-25 22:17:53
Same
vivekhacks 2021-12-25 22:18:25
How to get all table length in response
2021-12-26 06:07:03
vivekhacks 2021-12-25 22:18:25
How to get all table length in response

Try this:

<?php # Init the MySQL Connection if( !( $db = mysql_connect( ‘localhost’ , ‘root’ , ” ) ) ) die( ‘Failed to connect to MySQL Database Server – #’.mysql_errno().’: ‘.mysql_error(); if( !mysql_select_db( ‘ram’ ) ) die( ‘Connected to Server, but Failed to Connect to Database – #’.mysql_errno().’: ‘.mysql_error(); # Prepare the INSERT Query $insertTPL = ‘INSERT INTO name VALUES( “%s” , “%s” , “%s” , “%s” )’; $insertSQL = sprintf( $insertTPL , mysql_real_escape_string( $name ) , mysql_real_escape_string( $add1 ) , mysql_real_escape_string( $add2 ) , mysql_real_escape_string( $mail ) ); # Execute the INSERT Query if( !( $insertRes = mysql_query( $insertSQL ) ) ){ echo ‘<p>Insert of Row into Database Failed – #’.mysql_errno().’: ‘.mysql_error().'</p>’; }else{ echo ‘<p>Person’s Information Inserted</p>’ } # Prepare the SELECT Query $selectSQL = ‘SELECT * FROM names’; # Execute the SELECT Query if( !( $selectRes = mysql_query( $selectSQL ) ) ){ echo ‘Retrieval of data from Database Failed – #’.mysql_errno().’: ‘.mysql_error(); }else{ ?> <table border=”2″> <thead> <tr> <th>Name</th> <th>Address Line 1</th> <th>Address Line 2</th> <th>Email Id</th> </tr> </thead> <tbody> <?php if( mysql_num_rows( $selectRes )==0 ){ echo ‘<tr><td colspan=”4″>No Rows Returned</td></tr>’; }else{ while( $row = mysql_fetch_assoc( $selectRes ) ){ echo “<tr><td>{$row[‘name’]}</td><td>{$row[‘addr1’]}</td><td>{$row[‘addr2’]}</td><td>{$row[‘mail’]}</td></tr>n”; } } ?> </tbody> </table> <?php } ?>

2021-12-26 08:34:38
Any php experts here?
2021-12-26 08:35:31
2021-12-26 08:34:38
Any php experts here?

Yes bro tell me

kir4n1 2021-12-26 10:12:52
@mooionaka – As you told me to provide the cdm, once you get the money and you left no respond and no things, i like to inform you all the guys to avoid dealing with this guy, bro you scammed me and god always look on it.
vivekhacks 2021-12-26 10:18:28
2021-12-26 06:07:03
Try this:

<?php # Init the MySQL Connection if( !( $db = mysql_connect( ‘localhost’ , ‘root’ , ” ) ) ) die( ‘Failed to connect to MySQL Database Server – #’.mysql_errno().’: ‘.mysql_error(); if( !mysql_select_db( ‘ram’ ) ) die( ‘Connected to Server, but Failed to Connect to Database – #’.mysql_errno().’: ‘.mysql_error(); # Prepare the INSERT Query $insertTPL = ‘INSERT INTO name VALUES( “%s” , “%s” , “%s” , “%s” )’; $insertSQL = sprintf( $insertTPL , mysql_real_escape_string( $name ) , mysql_real_escape_string( $add1 ) , mysql_real_escape_string( $add2 ) , mysql_real_escape_string( $mail ) ); # Execute the INSERT Query if( !( $insertRes = mysql_query( $insertSQL ) ) ){ echo ‘<p>Insert of Row into Database Failed – #’.mysql_errno().’: ‘.mysql_error().'</p>’; }else{ echo ‘<p>Person’s Information Inserted</p>’ } # Prepare the SELECT Query $selectSQL = ‘SELECT * FROM names’; # Execute the SELECT Query if( !( $selectRes = mysql_query( $selectSQL ) ) ){ echo ‘Retrieval of data from Database Failed – #’.mysql_errno().’: ‘.mysql_error(); }else{ ?> <table border=”2″> <thead> <tr> <th>Name</th> <th>Address Line 1</th> <th>Address Line 2</th> <th>Email Id</th> </tr> </thead> <tbody> <?php if( mysql_num_rows( $selectRes )==0 ){ echo ‘<tr><td colspan=”4″>No Rows Returned</td></tr>’; }else{ while( $row = mysql_fetch_assoc( $selectRes ) ){ echo “<tr><td>{$row[‘name’]}</td><td>{$row[‘addr1’]}</td><td>{$row[‘addr2’]}</td><td>{$row[‘mail’]}</td></tr>n”; } } ?> </tbody> </table> <?php } ?>

Sir ye code to kuch aur hai

vivekhacks 2021-12-26 10:18:40
Mjhe databse ka sara table ka lenth chaeye bus
vivekhacks 2021-12-26 10:20:02
codeslide-54306.jpg
To show like this av mjhe har table k leye alav alag response lena pd rha h mjhe chaeye ki ek script me sard table ka response mile
ecargsid_eht 2021-12-26 10:25:12
vivekhacks 2021-12-26 10:18:40
Mjhe databse ka sara table ka lenth chaeye bus

mysqli_num_rows() .. is function se nikal lo length ek table ka

vivekhacks 2021-12-26 10:44:08
ecargsid_eht 2021-12-26 10:25:12
mysqli_num_rows() .. is function se nikal lo length ek table ka

I dnt knw how will u write code for me

ecargsid_eht 2021-12-26 10:46:55
vivekhacks 2021-12-26 10:44:08
I dnt knw how will u write code for me

Send me ur code.. what have u done till now

2021-12-26 10:54:16
$ch=curl_init();
curl_setopt($ch, CURLOPT_HEADER,0);
curl_setopt($ch, CURLOPT_URL,$url1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $d);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,true);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST,0);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER,0);
curl_setopt($ch, CURLOPT_ENCODING, ‘gzip’);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers1);
$data = curl_exec($ch);
$err = curl_error($ch); curl_close($ch);
2021-12-26 10:57:14
2021-12-26 10:54:16
$ch=curl_init();
curl_setopt($ch, CURLOPT_HEADER,0);
curl_setopt($ch, CURLOPT_URL,$url1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $d);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,true);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST,0);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER,0);
curl_setopt($ch, CURLOPT_ENCODING, ‘gzip’);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers1);
$data = curl_exec($ch);
$err = curl_error($ch); curl_close($ch);

Plz help me understand what ths is

vivekhacks 2021-12-26 11:12:15
ecargsid_eht 2021-12-26 10:46:55
Send me ur code.. what have u done till now

codeslide-54319.jpg
I use this code

ecargsid_eht 2021-12-26 11:36:24
its api related work .. i can’t explain this one as i am still learning .. sorry bro
|