473,749 Members | 2,513 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Gallery Pagination Result Problem

ste
Hi there,

Further to my recent posts where I've received excellent help from Rik and
Jerry, I've ended up with an image gallery on my website that displays
images in a table, 3 images per row. This works great and opens all images
in the database when I open the url mywebsite/gallery.php, or I can choose
certain images (by category) by going to url's like
mywebsite/gallery.php?cat egory=landscape

Although the above worked perfectly with 15 images in the database, I've
realised that as I add more images to the database (I will probably have a
few hundred images in total before long), I'm going to need to sort out the
gallery pages so that instead of displaying, say, 100 images in a big long
page, it instead displays 12 images per page, and then has links to Next,
Previous, First, Last, etc.

After spending an hour going through Google searches, I've found some code
which enables pagination from this website tutorial:
http://www.tonymarston.co.uk/php-mysql/pagination.html

I've inserted this code into my existing code, yet have came across a small
problem. The pagination now works when I go to mywebsite/gallery.php and
it's great. However, when I go to mygallery/gallery.php?cat egory=landscape ,
instead of showing the paginated Landscape gallery, it instead shows all
images from the database in paginated format, which is basically the same as
the mywebsite/gallery.php page

In adding the above pagination code, I've somehow messed something up when
wanting to open galleries based on categories. I've copied the code below -
can anyone see anything obvious I've done wrong? Through trial and error,
I've tried to adjust the queries in the code, but to no avail.

Thanks for any help,

Stephen

<?php
include("databa sepasswords");

$connection = mysql_connect($ host,$user,$pas sword) or die ("couldn't
connect to server");
$db = mysql_select_db ($database,$con nection) or die ("Couldn't select
database");

if (isset($_GET['pageno'])) {
$pageno = $_GET['pageno'];
} else {
$pageno = 1;
} // if

$query = "SELECT count(*) FROM images ".$where;
$result = mysql_query($qu ery) or trigger_error(" SQL", E_USER_ERROR);
$query_data = mysql_fetch_row ($result);
$numrows = $query_data[0];

$rows_per_page = 12;
$lastpage = ceil($numrows/$rows_per_page) ;

$pageno = (int)$pageno;
if ($pageno < 1) {
$pageno = 1;
} elseif ($pageno > $lastpage) {
$pageno = $lastpage;
} // if

$limit = 'LIMIT ' .($pageno - 1) * $rows_per_page .',' .$rows_per_page ;
$query = "SELECT * FROM images ORDER BY dateadded, datetaken DESC $limit
".$where ;
$result = mysql_query($qu ery) or trigger_error(" SQL", E_USER_ERROR);

if(get_magic_qu otes_gpc()){
$_GET['category'] = stripslashes($_ GET['category']);
}
$category = mysql_real_esca pe_string( $_GET['category'], $connection);
$category = ucfirst($catego ry);
$where = (isset($_GET['category'])&&$_GET['category']!='') ? "WHERE category
= '".$category."' ":'';
$result = mysql_query($qu ery) or die ("Couldn't execute query.");

echo "\n<div id=\"content\"> ";
echo "\n<h2>$categor y Gallery</h2>";

if ($pageno == 1) {
echo " FIRST PREV ";
} else {
echo " <a href='{$_SERVER['PHP_SELF']}?pageno=1'>FIR ST</a> ";
$prevpage = $pageno-1;
echo " <a href='{$_SERVER['PHP_SELF']}?pageno=$prevp age'>PREV</a> ";
} // if

echo " ( Page $pageno of $lastpage ) ";

if ($pageno == $lastpage) {
echo " NEXT LAST ";
} else {
$nextpage = $pageno+1;
echo " <a href='{$_SERVER['PHP_SELF']}?pageno=$nextp age'>NEXT</a> ";
echo " <a href='{$_SERVER['PHP_SELF']}?pageno=$lastp age'>LAST</a> ";
} // if

echo "\n<table id=\"thumbgalle ry\" cellSpacing=\"0 \" cellPadding=\"1 0\"
width=\"400\" border=\"0\">";
echo "\n<tbody>" ;
$i = 3;
while ($row = mysql_fetch_ass oc($result))
{
if($i==3) echo "\n\t<tr>";
echo "\n\t\t<td valign=\"top\" width=\"113\" id=\"thumbs\"
align=\"center\ "><a
href=\"/image_viewer.ph p?imageid=".$ro w['imageid']."\"><img
src=\"/images/gallery/t".$row['imageid'].".jpg\" border=\"0\"
alt=\"".$row['caption']."\" /></a><p class=\"caption ref\">Ref:
".$row['imageid']."</p><p class=\"caption \">".$row['caption']."</p></td>";
$i--;
if($i==0) {
echo "\n\t<tr>";
$i = 3;
}
}
if($i!=3) echo "\n\t\t<td colspan=\"$i\"> </td>\n\t</tr>";
echo "\n</tbody>";
echo "\n</table>";

?>
May 5 '06 #1
11 2778
ste wrote:
Hi there,

Further to my recent posts where I've received excellent help from Rik and
Jerry, I've ended up with an image gallery on my website that displays
images in a table, 3 images per row. This works great and opens all images
in the database when I open the url mywebsite/gallery.php, or I can choose
certain images (by category) by going to url's like
mywebsite/gallery.php?cat egory=landscape

Although the above worked perfectly with 15 images in the database, I've
realised that as I add more images to the database (I will probably have a
few hundred images in total before long), I'm going to need to sort out the
gallery pages so that instead of displaying, say, 100 images in a big long
page, it instead displays 12 images per page, and then has links to Next,
Previous, First, Last, etc.

After spending an hour going through Google searches, I've found some code
which enables pagination from this website tutorial:
http://www.tonymarston.co.uk/php-mysql/pagination.html

I've inserted this code into my existing code, yet have came across a small
problem. The pagination now works when I go to mywebsite/gallery.php and
it's great. However, when I go to mygallery/gallery.php?cat egory=landscape ,
instead of showing the paginated Landscape gallery, it instead shows all
images from the database in paginated format, which is basically the same as
the mywebsite/gallery.php page

In adding the above pagination code, I've somehow messed something up when
wanting to open galleries based on categories. I've copied the code below -
can anyone see anything obvious I've done wrong? Through trial and error,
I've tried to adjust the queries in the code, but to no avail.

Thanks for any help,

Stephen

<?php
include("databa sepasswords");

$connection = mysql_connect($ host,$user,$pas sword) or die ("couldn't
connect to server");
$db = mysql_select_db ($database,$con nection) or die ("Couldn't select
database");

if (isset($_GET['pageno'])) {
$pageno = $_GET['pageno'];
} else {
$pageno = 1;
} // if

$query = "SELECT count(*) FROM images ".$where;
$result = mysql_query($qu ery) or trigger_error(" SQL", E_USER_ERROR);
$query_data = mysql_fetch_row ($result);
$numrows = $query_data[0];

$rows_per_page = 12;
$lastpage = ceil($numrows/$rows_per_page) ;

$pageno = (int)$pageno;
if ($pageno < 1) {
$pageno = 1;
} elseif ($pageno > $lastpage) {
$pageno = $lastpage;
} // if

$limit = 'LIMIT ' .($pageno - 1) * $rows_per_page .',' .$rows_per_page ;
$query = "SELECT * FROM images ORDER BY dateadded, datetaken DESC $limit
".$where ;
$result = mysql_query($qu ery) or trigger_error(" SQL", E_USER_ERROR);

if(get_magic_qu otes_gpc()){
$_GET['category'] = stripslashes($_ GET['category']);
}
$category = mysql_real_esca pe_string( $_GET['category'], $connection);
$category = ucfirst($catego ry);
$where = (isset($_GET['category'])&&$_GET['category']!='') ? "WHERE category
= '".$category."' ":'';
$result = mysql_query($qu ery) or die ("Couldn't execute query.");

echo "\n<div id=\"content\"> ";
echo "\n<h2>$categor y Gallery</h2>";

if ($pageno == 1) {
echo " FIRST PREV ";
} else {
echo " <a href='{$_SERVER['PHP_SELF']}?pageno=1'>FIR ST</a> ";
$prevpage = $pageno-1;
echo " <a href='{$_SERVER['PHP_SELF']}?pageno=$prevp age'>PREV</a> ";
} // if

echo " ( Page $pageno of $lastpage ) ";

if ($pageno == $lastpage) {
echo " NEXT LAST ";
} else {
$nextpage = $pageno+1;
echo " <a href='{$_SERVER['PHP_SELF']}?pageno=$nextp age'>NEXT</a> ";
echo " <a href='{$_SERVER['PHP_SELF']}?pageno=$lastp age'>LAST</a> ";
} // if

echo "\n<table id=\"thumbgalle ry\" cellSpacing=\"0 \" cellPadding=\"1 0\"
width=\"400\" border=\"0\">";
echo "\n<tbody>" ;
$i = 3;
while ($row = mysql_fetch_ass oc($result))
{
if($i==3) echo "\n\t<tr>";
echo "\n\t\t<td valign=\"top\" width=\"113\" id=\"thumbs\"
align=\"center\ "><a
href=\"/image_viewer.ph p?imageid=".$ro w['imageid']."\"><img
src=\"/images/gallery/t".$row['imageid'].".jpg\" border=\"0\"
alt=\"".$row['caption']."\" /></a><p class=\"caption ref\">Ref:
".$row['imageid']."</p><p class=\"caption \">".$row['caption']."</p></td>";
$i--;
if($i==0) {
echo "\n\t<tr>";
$i = 3;
}
}
if($i!=3) echo "\n\t\t<td colspan=\"$i\"> </td>\n\t</tr>";
echo "\n</tbody>";
echo "\n</table>";

?>


Howdy.

One thing I see - you use $where before you set it. What happens if you move
the code which sets $where earlier in your routine?

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
May 5 '06 #2
ste

"Jerry Stuckle" <js*******@attg lobal.net> wrote in message
news:SN******** *************** *******@comcast .com...
<snip>
Howdy.

One thing I see - you use $where before you set it. What happens if you
move the code which sets $where earlier in your routine?

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===


Hi Jerry,

When I moved the code which set's $where to above the first $where, I found
that although gallery.php worked fine, gallery.php?cat egory=landscape failed
to run and I got an error message.

Do you have any more ideas at all?

I feel like the problem is to do with the $query values and I'm just not
setting them correcly with the new piece of code, or not in the right order.

To add to this, I've just noticed that when I load the landscape gallery,
not only does it display all images now (albeit in a paginated format)
instead of just the landscape images, but if I click the paginated result
for page 2, it changes the page title back to just Gallery, instead of the
main page of Landscape gallery.

This looks like it's more involved than I thought it would be! :-(

Again, if you or anyone else spot anything else obvious, please let me know.

Thanks,

Stephen
May 6 '06 #3
ste wrote:
"Jerry Stuckle" <js*******@attg lobal.net> wrote in message
news:SN******** *************** *******@comcast .com...
<snip>
Howdy.

One thing I see - you use $where before you set it. What happens if you
move the code which sets $where earlier in your routine?

--
============= =====
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@att global.net
============= =====

Hi Jerry,

When I moved the code which set's $where to above the first $where, I found
that although gallery.php worked fine, gallery.php?cat egory=landscape failed
to run and I got an error message.

Do you have any more ideas at all?

I feel like the problem is to do with the $query values and I'm just not
setting them correcly with the new piece of code, or not in the right order.

To add to this, I've just noticed that when I load the landscape gallery,
not only does it display all images now (albeit in a paginated format)
instead of just the landscape images, but if I click the paginated result
for page 2, it changes the page title back to just Gallery, instead of the
main page of Landscape gallery.

This looks like it's more involved than I thought it would be! :-(

Again, if you or anyone else spot anything else obvious, please let me know.

Thanks,

Stephen


Stephen,

Sounds like you need to study the code and understand it a little more.

I've never found it productive to change code (or even implement someone else's
code as part of mine) until I understood just what it was doing.
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
May 6 '06 #4
ste

"Jerry Stuckle" <js*******@attg lobal.net> wrote in message
news:mM******** *************** *******@comcast .com...
ste wrote:
"Jerry Stuckle" <js*******@attg lobal.net> wrote in message
news:SN******** *************** *******@comcast .com...
<snip>
Howdy.

One thing I see - you use $where before you set it. What happens if you
move the code which sets $where earlier in your routine?

--
============ ======
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@at tglobal.net
============ ======

Hi Jerry,

When I moved the code which set's $where to above the first $where, I
found that although gallery.php worked fine,
gallery.php?cat egory=landscape failed to run and I got an error message.

Do you have any more ideas at all?

I feel like the problem is to do with the $query values and I'm just not
setting them correcly with the new piece of code, or not in the right
order.

To add to this, I've just noticed that when I load the landscape gallery,
not only does it display all images now (albeit in a paginated format)
instead of just the landscape images, but if I click the paginated result
for page 2, it changes the page title back to just Gallery, instead of
the main page of Landscape gallery.

This looks like it's more involved than I thought it would be! :-(

Again, if you or anyone else spot anything else obvious, please let me
know.

Thanks,

Stephen


Stephen,

Sounds like you need to study the code and understand it a little more.

I've never found it productive to change code (or even implement someone
else's code as part of mine) until I understood just what it was doing.
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===


Hi Jerry,

I am doing this too. I've got PHP and My SQL for Dummies, and PHP and MySQL
Web Development. Although I know HTML inside out, I'm finding PHP very
though going.

By the time I fully understand the code, it could be months and months down
the line. I seem quite close with my limited understanding and help from
the group, so was just wondering if there was anything quick and obvious
that someone could spot that would make it all work.

I'll keep plugging away at it, though I'm still open to suggestions! ;-)

Thanks,

Stephen
May 6 '06 #5
ste wrote:
"Jerry Stuckle" <js*******@attg lobal.net> wrote in message
news:mM******** *************** *******@comcast .com...
ste wrote:
"Jerry Stuckle" <js*******@attg lobal.net> wrote in message
news:SN***** *************** **********@comc ast.com...
<snip>

Howdy.

One thing I see - you use $where before you set it. What happens if you
move the code which sets $where earlier in your routine?

--
=========== =======
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@a ttglobal.net
=========== =======
Hi Jerry,

When I moved the code which set's $where to above the first $where, I
found that although gallery.php worked fine,
gallery.php? category=landsc ape failed to run and I got an error message.

Do you have any more ideas at all?

I feel like the problem is to do with the $query values and I'm just not
setting them correcly with the new piece of code, or not in the right
order.

To add to this, I've just noticed that when I load the landscape gallery,
not only does it display all images now (albeit in a paginated format)
instead of just the landscape images, but if I click the paginated result
for page 2, it changes the page title back to just Gallery, instead of
the main page of Landscape gallery.

This looks like it's more involved than I thought it would be! :-(

Again, if you or anyone else spot anything else obvious, please let me
know.

Thanks,

Stephen


Stephen,

Sounds like you need to study the code and understand it a little more.

I've never found it productive to change code (or even implement someone
else's code as part of mine) until I understood just what it was doing.
--
============= =====
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@att global.net
============= =====

Hi Jerry,

I am doing this too. I've got PHP and My SQL for Dummies, and PHP and MySQL
Web Development. Although I know HTML inside out, I'm finding PHP very
though going.

By the time I fully understand the code, it could be months and months down
the line. I seem quite close with my limited understanding and help from
the group, so was just wondering if there was anything quick and obvious
that someone could spot that would make it all work.

I'll keep plugging away at it, though I'm still open to suggestions! ;-)

Thanks,

Stephen


Stephen,

Not really at this point. Obvious problems are resolved, but anyone would have
to look through a lot more code to understand your latest problems.

Welcome to the world of programming! :-)
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
May 6 '06 #6
ste

"Jerry Stuckle" <js*******@attg lobal.net> wrote in message
news:QP******** ************@co mcast.com...
<snip>

Stephen,

Not really at this point. Obvious problems are resolved, but anyone would
have to look through a lot more code to understand your latest problems.

Welcome to the world of programming! :-)
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===


Hi Jerry,

Indeed! :-)

By the way, I've been writing the HTML / PHP etc using Notepad++ for the
syntax highlighting. I use Altova XML Spy Home Edition when writing simple
XML scripts, and it has the added benefit of validating the XML and pointing
out errors against the DTD.

Is there such a free program for writing PHP that has a good debugging mode
or validation?

Thanks,

Stephen
May 6 '06 #7
ste wrote:
"Jerry Stuckle" <js*******@attg lobal.net> wrote in message
news:QP******** ************@co mcast.com...
<snip>
Stephen,

Not really at this point. Obvious problems are resolved, but anyone would
have to look through a lot more code to understand your latest problems.

Welcome to the world of programming! :-)
--
============= =====
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@att global.net
============= =====

Hi Jerry,

Indeed! :-)

By the way, I've been writing the HTML / PHP etc using Notepad++ for the
syntax highlighting. I use Altova XML Spy Home Edition when writing simple
XML scripts, and it has the added benefit of validating the XML and pointing
out errors against the DTD.

Is there such a free program for writing PHP that has a good debugging mode
or validation?

Thanks,

Stephen


Stephen,

Sorry, I don't know about free - I don't use them. I do know Zend Studio, while
not free, is excellent, though. Well worth the price, IMHO. And if I'm not
using a debugger, I've found strategically placed echo statements do wonders for
debugging.

Disclaimer: And no, I have no relationship with the other than having used their
software. :-)

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
May 6 '06 #8
ste

"Jerry Stuckle" <js*******@attg lobal.net> wrote in message
news:TI******** ************@co mcast.com...
<snip>
Stephen,

Sorry, I don't know about free - I don't use them. I do know Zend Studio,
while not free, is excellent, though. Well worth the price, IMHO. And if
I'm not using a debugger, I've found strategically placed echo statements
do wonders for debugging.

Disclaimer: And no, I have no relationship with the other than having used
their software. :-)

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===


Thanks Jerry, I'll check it out.

So you won't even get a commission if I mention your name? ;-)

Stephen
May 6 '06 #9
Rik
ste wrote:
<?php
include("databa sepasswords");
if (isset($_GET['pageno'])) {
$pageno = $_GET['pageno'];
Tssk, if thought I told you to escape GET variables if used in queries :-).
$pageno = mysql_real_esca pe_string(_GET['pageno'],$connection);
$query = "SELECT count(*) FROM images ".$where;
$result = mysql_query($qu ery) or trigger_error(" SQL", E_USER_ERROR);
As said, $where whould be set BEFORE this query.
$query = "SELECT * FROM images ORDER BY dateadded,
datetaken DESC $limit ".$where ;


Echo this query and you'll see what's wrong. It should be

$query = "SELECT * FROM images ORDER BY `dateadded`, `datetaken` DESC $where
$limit";

Wether your code creates proper pages I'm not going to check.

For future reference:
Echoing variables after they are set or print_r() arrays will make a lot
more clear to you in debugging.
In this instance, echoing the query would have told you right away the query
was composed in the wrong order.

Grtz,
--
Rik Wasmus
May 6 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2327
by: Chris H | last post by:
I am having a problem with pagination, basically the problem is happening in the "PREV / NUMBERS / NEXT" links, it appears as if the reason is becasue the increment and decrement operators aren't functioning or the $page variable isnt working in that part of the code... Below is the link to the working but broken page.. as well as the main part of my code... Hopefully someone can explain why the operators arent working or maybe see what i...
0
1463
by: Sheau Wei | last post by:
I am using php version 4.3.3. The below was my pagination code. My problem is that when i run this code in my computer, i wall fail because of the hyperlink of the pagination not function when i click it. But when i run in other people computer, It was no problem at all. I wonder to know what wrong to my coding . Is it different version of php also reflect the output? <? //required file for database connection require("config.php");...
3
2133
by: assgar | last post by:
Hello I have a search page where you select the letter of the alphabet and the person's information who's name beginning with that letter is displayed. This function is placed on the web page to search and display the information. Everything works except one thing. The problem is if there are 3 pages page one is OK, but when you select next to go to page two the information on page two is no displaying.
1
3381
by: assgar | last post by:
Hi I was using a schroll bar to display multiple rows of dynamically created from database records. The scrolling was not displaying the data properly so I have decided to use pagination. The problem I am having is, if I select one item on page #1 and another on page #5 only the last item selected on page #5 is stored in the array. How can I store selections from multiple pages into one array?
3
7238
by: ishkur88 | last post by:
Hello, I'm a starting out web designer, and a client of mine wants a gallery of their products to be displayed. What I have so far works beautifully. Basically what it does is reads the contents of a directory and displays them in a list. That list is then vertically wrapped to be made into a table type display. Resulting in a basic grid pattern of images. This was great when they only had 20 or so images, but now they have over 50. I...
3
1586
by: raaman rai | last post by:
Please help me with the following code. I have used this pagination script from the net and customized it but unfortunately it doesnt work as expected. The problem is, for the trial purpose i have 3 records in the table and i have set the limit value to 2 only for now (for trial). So it is expected that i have 2 records displayed in the first page and 1 record in the second page. The first two records are displayed normally with the NEXT link....
16
2776
by: gnawz | last post by:
I have a pagination function I am using in a file called functions.php as below<? //Pagination functions function getPagingQuery($sql, $itemPerPage = 10) { if (isset($_GET) && (int)$_GET > 0) { $page = (int)$_GET; } else { $page = 1; } // start fetching from this row number $offset = ($page - 1) * $itemPerPage; return $sql . " LIMIT $offset, $itemPerPage"; } /* Get the links to navigate between...
4
3574
by: ArizonaJohn | last post by:
Hello, The code below works great. The user enters a name into an HTML form, the code looks up a table with that name, and then that table is displayed. I am trying to use pagination with it, and the pagination almost works. The first page of the pagination works fine, but when I click on one of the links for one of the next pages, the page is blank. I have seen people mention this problem, and they have been told that a variable is...
2
2593
by: kkshansid | last post by:
this is my search page on which i am getting two parameters from previous page but the problem is that as soon as i click any other next pages my sql query fails as it doesnt get these two parameters kindly help <?php session_start(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title>
0
8833
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9335
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9256
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8257
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6801
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6079
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4881
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3320
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2218
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.