Welcome Guest, Not a member yet? Register   Sign In
trouble with the forum
#1

I am trying to search for an old response to one of my queries regarding using temporary files in SQL. The search feature on this forum seems to be broken. I think it was InsiteFX who sent me a link on how to use temporary files in SQL. But I can't get the search feature to work nor can I send a direct email to InsiteFX. Can anyone point me to the link he suggested?
proof that an old dog can learn new tricks
Reply
#2

It wasn't files it was tables, here's the link.

MySQL Temporary Table
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#3

(This post was last modified: 10-16-2020, 07:52 AM by richb201.)

thanks. Is anyone else having a problem with the forum search feature?

MySQL Error
proof that an old dog can learn new tricks
Reply
#4

Yep, it's doing the same here for me Search is not working.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#5

(This post was last modified: 10-16-2020, 03:22 PM by richb201.)

(10-16-2020, 01:22 PM)InsiteFX Wrote: Yep, it's doing the same here for me Search is not working.
Thnx Insite. I am starting my application by typing "localhost" at the browser command line. What I actually need to add a parameter so I would type either localhost?type=1 or localhost?type=2. This will cause a different logo to appear in my view. When I type http://localhost/1 I get a 404 error. I'd prefer to run the exact same code and just change the logo that displays. I see where in the template I can switch which logo gets used, but I am not sure a) how to get the 1 or 2 into the program b) how to get $logo1 or $logo2  to be used. 

 $logo1=<img src="<?php echo base_url(); ?>assets/themes/default/images/new_blue_logo_sub240x240.png" style="float:left;margin-top:5px;z-index:5" alt="logo"/>
 $logo2=<img src="<?php echo base_url(); ?>assets/themes/default/images/output-onlinepngtools (8).png" style="float:left;margin-top:5px;z-index:5alt="logo"/>

to run based on that parameter. 
proof that an old dog can learn new tricks
Reply
#6

You can try something like this not tested and I am not sure if it will work on the index method.

PHP Code:
$routes->get('/(:num)''Home::index/$1');
$routes->get('/''Home::index'); 
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#7

(10-15-2020, 02:20 PM)richb201 Wrote: thanks. Is anyone else having a problem with the forum search feature?

MySQL Error
Yups,,me too
Reply
#8

(This post was last modified: 10-16-2020, 10:48 PM by richb201.)

(10-16-2020, 03:24 PM)InsiteFX Wrote: You can try something like this not tested and I am not sure if it will work on the index method.

PHP Code:
$routes->get('/(:num)''Home::index/$1');
$routes->get('/''Home::index'); 
Thx. Where do I put such a thing? I tried dropping it in the top of index.php


$routes->get('/(:num)', 'Home::index/$1');

But $routes is not found, so I guess I need to put it after invoking the URL helper?

In looking at the docs I see "example.com/index.php/news/article/my_article".

So in my case localhost/index.php/1  
So I guess I am missing the method. Perhaps if I did it this way:
localhost/index.php/logo/1  and created a logo class? 

But where would I put the logo.php function? Perhaps I need to create a logo.php file with two functions

1{} and 2{}  ??
I sure am confused!
 
proof that an old dog can learn new tricks
Reply
#9

Is the logo an image or what?
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#10

yeah, it is a png
proof that an old dog can learn new tricks
Reply




Theme © iAndrew 2016 - Forum software by © MyBB