learn programming language ||web design||
1 subscriber
123 photos
7 videos
142 links
Introduction to HTML, CSS, JavaScript, PHP and
Web webdesign Tutorials.
Download Telegram
Learning c programming language

1) c Program to Check Number is prime or Not prime
 
Output

enter a positive integer 133
133 is not the prime number

Click here to check the program

https://webdesigningtheory.blogspot.com/2025/02/c-program-to-check-number-is-prime-or.html

Visit the 🔗
C program to print the alphabet J start pattern

Code(program )

#include <stdio.h>

int main()
{
int a, b;
int n = 7;
// Height of the J pattern

for (a = 0; a < n; a++)
{
for (b = 0; b < n; b++)
{
// Print the vertical part of J

if (b == n / 2 && a != 0 ||
(a == n - 1 && b <= n / 2) ||
(a == n - 2 && b == 0))
printf("*");
else
printf(" ");
}
printf("\n");
}

return 0;
}

Visit the website bloggers link 🖇️🔗

https://webdesigningtheory.blogspot.com/2025/04/c-program-to-print-alphabet-j-star.html
Introduction to PHP

ஃ It was originally created by Danish-Canadian programmer Rasmus Lerdorf in 1993 and released in 1995.
1] PHP stands for Hypertext Preprocessor.

2] It is a widely-used open-source server-side scripting language.

3] primarily designed for web development and can be embedded into HTML.

4] PHP scripts are executed on the server, generating dynamic web page content.

5] PHP code can perform tasks such as collecting form data, interacting with databases,

managing sessions, and creating cookies.

6] It is commonly used alongside MySQL or other database management systems to
create dynamic websites and web applications.
8] php is powerful and flexible language supported by a large community of developers worldwide.
Why php use
1] platform independent
2] open source
3] runs multiple operating system
e.g :- window, linux, kill , dos
4] Free to download and edit.

Visit 🔗
https://webdesigningtheory.blogspot.com/2024/03/phpintroduction.html
Syntax PHP

. Php Syntax :-

<? php
.......
....
...

?>

PHP program

<?php

echo " hi";
?>

<?+php
echo "<marquee>learn php language </marquee>" ;
?>

Program output
hi

learn php language

💯🙂. Visit 🔗 https://webdesigningtheory.blogspot.com/2024/03/phpintroduction.html
PHP variable

variables are declared /represent with a dollar sign ($) by the variable name.
2] A variable is a container to store to add values() of

Type :-
1] int
2] float

3] string

4] boolean

5] array

6] object

7] resources etc.

3] Variable names must begin with a letter or underscore character, followed by any combination of letters, numbers, or underscores.

. Rules Variable Declaration

1] variable name must start with any Alphabet or symbol , variable name.

2] Can not start with a number.
eg :- $s1 = correct , $1s = wrong

3] PHP variable name are case sensitive .
EG- $a ,$A, are two different variables.


Link 🔗 https://webdesigningtheory.blogspot.com/2024/03/php-variable.html
Php please programming language (explain variables)

?php
$no1=10;
$no2=5;
echo $no1+$no2;
?>

Output. 15


Visit 🔗 bloggers
https://webdesigningtheory.blogspot.com/2024/03/php-variable.html
Logical Operators:

AND (&& or and)
OR (|| or or)
NOT (! or not)
XOR (exclusive OR) (xor)

PHP logical operators
Example :-

<?php
$a=10;
$b=5;
$c=20;
$d=20;
var_dump(($a<$c)&&($c==$d)&&($b<$c));//true
var_dump(!(($a<$c)&&($c==$d)&&($b<$c)));//false
var_dump(($a>$d)||($b<$c));//true
?>


logical operators php
Output
bool (true)bool(false)bool(true)

Additional Details 🔗
https://webdesigningtheory.blogspot.com/2024/03/logical-operators-php.html