Tutorials

General Tutorials on Installation, Configurations, plugins and community building.

34
0
I have made a page in non-wordpress website which is showing the post from blog of wordpress website, it is working properly. I have added some PHP code in my page. Now I want that every time I refresh the page it will show different different post every time.

<?php
define('WP_USE_THEMES', false);
require('blog/wp-load.php');
query_posts('showposts=4');
?>

<ul style="margin-t
80
0
Hallo CF Community,

I came across an excellent little script on the internet that is open source and anyone can freely use it even for commercial purposes.

With this script, the Codoforum "Pages" feature and some knowledge of HTML, you can get in only a few steps a complete shop with a shopping card and a checkout with paypal express, google checkout, and amazon payments.

Even webma
24
1
Bhaskar posted May 25 at 12:24 pm
$conn=mysqli_connect('localhost:8080', 'root', ' ','user_accounts' );
$sql="INSERT INTO users
(name,Lastname,Email_ID,Phonenumber,Password)
VALUES($firstname,$lastname,$email,$phonenumber,$password)";


if($is_query_run=mysqli_query($conn,$sql))
{
echo 'Query successfully executed';
//$query_execute=mysqli_fetch_assoc($is_query_run)
}
Why am i unable to insert data into the databa
recent by admin  ·  May 26 at 3:33 pm
5
28
1
Actions
Hide topic messages
Enable infinite scrolling
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft