Jump to content

alapimba

Members
  • Posts

    83
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

alapimba's Achievements

Member

Member (2/5)

0

Reputation

  1. Hello, i'm using the plugin recipe card. https://pt.wordpress.org/plugins/recipe-card/ Unfortunly the plugin stopped working because the servers of the owner company seems to have closed of something like that. I'd like to keep using the plugin but this way i can't add or edit recipes as it allways try to connect to the server of the company... Anyone can help me modify this to send only to my own server and keep using the plugin? i have a lot of recipes on my site and it's not a great idea to change plugin and insert all again... The link to the plugin is here: https://pt.wordpress.org/plugins/recipe-card/ Here is the php of the plugin : https://endbox.com/yumprint-recipe.zip Can anyone please help me? yumprint-recipe.php
  2. Hello and thanks for your interest in helping me out. Let me explain a bit better what i need. i'll have 3 computers. computer number 1 will show a diferent image everyday (365 images/year) computer number 2 will show a diferent image every minute (1440 images / day) computer number 3 will show a diferent image every second during one minute (60 images / minute) This needs to be synchonized so when the computer returns to the 0 second is the moment that the computer 2 show the image for the next minute, Does it make sense?
  3. Hello I need to have 3 computers refreshing content every minute at the exact same time. how can i do that? i don't want to use the tag <meta http-equiv="refresh" content="60; URL=http://www.yourdomain.com/yoursite.html"> because it will not refresh syncronized with the computer clock and has i'll have 3 computers side by side it has to be at the exact same time. so i thougth about the refresh be based with the computer clock. Anyone can help?
  4. Hello I have a mysql table like this: id | user | car 1 | 1 | fiat 500 2 | 2 | vw polo 3 | 2 | vw golf 4 | 3 | renault clio 5 | 2 | fiat panda 6 | 3 | seat ibiza From this table how can i get a query that the result be like: user 2 - 3 cars user 3 - 2 cars user 1 - 1 cars Thanks
  5. everything worked perfect for my needs. Thanks a lot for your help
  6. nice seems simple. i'll try to use on my real data that it's a bit more complex. the array can be generated on a while($row = mysql_fetch_assoc($result)) loop?
  7. Hi I just realized that my example was too simple for my final needs :-\ i understand that example above. but in my work i need it a bit more complex.. imagine that instead of phone numbers only i have area code and phone numbers (in separate columns). How can i print it like: name<br> area code - phone number <br> area code - phone number2 <br> area code - phone number3 <br> e-mail In my real example this tables have books and authors. some books have more then 1 author.. and i need to print it like this: <div id="contentdiv"> <?php $i = 0; do { ?> <?php $i = $i + 1; ?> <div id="contentdiv<?php echo $row_rs_livros2['id_li']; ?>" <?php if ($i <= 1) { echo "style='display: block;'"; } else { echo "style='display: none;'"; }?>> <a href="livros.php?id_li=<?php echo $row_rs_livros2['id_li']; ?>" class="titulos_vermelho_livros"><?php echo $row_rs_livros2['livro']; ?></a><br/><br/> <?php //here i'll have more then 1 author sometimes ?> <span class="texto"><a href="autores.php?id=<?php echo $row_rs_livros2['id']; ?>" class="titulos_livros"><?php echo $row_rs_livros2['nome']; ?><?php echo $row_rs_livros2['apelido']; ?></a><br> <?php mb_internal_encoding("UTF-8"); $str = $row_rs_livros2['texto']; $limit = 300; //Specify the length of the new substring if (substr($str, $limit, 1) != ' ' && ($l = mb_strrpos(mb_substr($str, 0, $limit), ' '))) { echo mb_substr($str, 0, $l); } else { echo mb_substr($str, 0, $limit); } ?>(...)<br /> <a href="livros.php?id_li=<?php echo $row_rs_livros2['id_li']; ?>" class="style3">ver mais »</a></span></div> <?php } while ($row_rs_livros2 = mysql_fetch_assoc($rs_livros2)); ?> </div> </div> at the moment my query is still this: SELECT autores.id, autores.nome, autores.apelido, livros.id_li, livros.texto, livros.pdfs, livros.foto, livros.foto_grande, livros.livro, livros.ordem, ids.id_livro FROM autores INNER JOIN ids ON autores.id=ids.id_autores INNER JOIN livros ON ids.id_livro=livros.id_li WHERE estado = 'on' ORDER BY livros.ordem
  8. I understand a bit what you said but at the moment my tables are already so big that it will mess with other stuff on the site if i decided to change it now. (it's not a 3 column table as the example that i show...) in reallity it's 3 tables with inner joins that gives that kind of output. i have one table with id_username and e-mail i have another with id_username_phone and phone number and then i have a 3rd table with id_username and id_username_phone to connect everything. the query that i use gives that kind of result. Now i need to organize it with php... theres no way?
  9. Hello I have a mysql database that looks like this: id_name - phone number - email 1 - 927567348 - lalala@gmail.com 1 - 965437823 - lalala@gmail.com 1 - 963423495 - lalala@gmail.com 2 - 4357986345 - bubu@hotmail.com 2 - 4395874355 - bubu@hotmail.com 3 - 3459875234 - ghjfgh@mail.com and now i want to print it like this: 1 927567348 965437823 963423495 lalala@gmail.com 2 4357986345 4395874355 bubu@hotmail.com 3 3459875234 ghjfgh@mail.com I don't know how do this. if i didn't needed to print the email in the end it would be "simple" like this: <?php $id_name = $row_rs_livros['id_name']; while ($row_rs_livros = mysql_fetch_assoc($rs_livros)) { if ($iddolivro != $row_rs_livros['id_name']) { echo $row_rs_livros['id_name']; } echo $row_rs_livros['phonenumber']; $iddolivro = $row_rs_livros['id_li']; } ?> But in this case i'm lost. Anyone can help me please? Thanks
  10. i'm making some test and at the moment with a change that i did it kinda fixed but i had to remove the css styles for the font. please try again as the problem is back on
  11. in firefox 15.0.1 for windows it don't appear that way :/
  12. Hello I'm doing a site with wordpress and i'm having problem with... i guess divs It only happends with firefox, with IE and chrome is fine. but i want it fixed on firefox too. take a look here: http://r2com.pt/wordpress/about/ The content can only be read until 2008/2009 and i have text until 2012. I can't understand what is wrong. anyone can help? Thanks
  13. Hello I did this site for a client and he is happy with that. but he reported that the site is not working in 3 diferent pc's of 3 diferent people. can you find any problem with the site? the url is http://tinyurl.com/62jjdr9 Regards
  14. this is what i did so far http://endbox.com/clientes/teste_360/ But i wanted instead of drag the image to if i'm with the mouse on the right side it goes to the right, if it's on the left the image moves to the left..
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.