html – How to choose a good name for my web development “company”?

I’m a self-taught web developer who also designs logos as well as stuff for RedBubble (stickers, t-shirts, etc.) I’m getting ready to deploy my personal site that showcases my work and I’d like to create a company name for myself, any ideas as to what my company name could end in so people have an idea of what I do? I was thinking design, but I feel like that excludes that coding aspect of what I do (I know HTML, CSS, and Javascript and I’m currently working on improving my Javascript skills so I can learn more programming languages)
Thanks! ^-^

website design – Looking for HTML and CSS generating software

Apologies if this isn’t the right SE forum for my question, but it doesn’t seem to fit anywhere.

I’m creating a web app and am trying to find a drag-and-drop editor that generates HTML and CSS so I can copy the code, which would save a lot of time. I had a look round google and there seem to be a lot of codeless website builders, and a lot of web design and mockup tools, but nothing in between.

I need something that enables creating pages with HTML, importing CSS libraries (preferably Bootstrap), and copying the generated code to be included in my source code, no javascript or backend functionality needed. If anyone’s come across software like this I’d love to know.

(I know that SE isn’t the place for asking opinions on software, but this is a question on whether any software actually exists rather than if it’s good.)

html – Realizar una validacion a la base de datos react mongodb

Hola estoy tratando de crear un usuario nuevo pero no quiero que haya duplicados entonces en el evento onsubmit quiero que primero vea si en la base de datos hay un dato igual ya sea email o usuario y si lo hay que me de un msj diciendo email actualmente registrado o nombre de usuario existente si me puedieran ayudar por favor

onSubmit = async e => {
e.preventDefault();

       await axios.get('http://localhost:4000/api/users', {params: {username: this.state.username}})
       .then(response=>{
           alert('Username already exist.')
       })

       await axios.get('http://localhost:4000/api/users', {params: {useremail: this.state.useremail}})
       .then(response=>{
           alert('Email already exist.')
       })
   
  
        await axios.post('http://localhost:4000/api/users', {
        useremail: this.state.useremail,
        username: this.state.username,
        userpassword: this.state.userpassword

     })
     
      this.setState({ useremail: '' , username: '', userpassword: ''});
      this.getUsers();
      
    }

html – Website not responsive even after adding the “meta” tag?

I am a beginner web developer. I tried to see up my website which can be found in the following link:

https://github.com/oishika10/oishika10.github.io

But, for some reason, the website does not resize to the size of the mobile or the tablet and only works correctly on desktop applications. Can someone explain why I am facing this problem?

problema tabla php y html

hola amigos me encontraba realizando un trabajo y resulta que la tabla me sale con un espacios entre cada dato y se que el problema esta en los <?php o algo por el estilo, llevo horas y no he podido se los agradecería mucho si me ayudan

if ($v_tabla=="cliente"){
?>
 <section>
     <h2>CLIENTE</h2>
     <div class="tbl-header">
         <table cellpadding="0" cellspacing="0" border="0">
             <thead>
                 <tr>
                     <th>CODIGO CLIENTE</th>
                     <th>NOMBRE CLIENTE</th>
                     <th>TELEFONO CLIENTE</th>
                 </tr>
             </thead>
         </table>
     </div>
     <?php 
      $sql="select *from $v_tabla ";
      $resultado_set=pg_Exec($conexion, $sql);
             while($row=pg_fetch_array($resultado_set)){
               ?>
     <div class="tbl-content">
         <table cellpadding="0" cellspacing="0">
             <tbody>
                 <tr>
                     <td><?php echo $row("cod_cliente")?></td>
                     <td><?php echo $row("nom_cliente")?></td>
                     <td><?php echo $row("tel_cliente")?></td>
                 </tr>
                 <?php } ?>
                 <?php } ?>
             </tbody>
         </table>
     </div>
 </section>```

html – Favicon no carga

Estimados tengo el siguiente problema estoy intentando mostrar un FavIcon en mi pagina, pero este se muestra de la siguiente forma
introducir la descripción de la imagen aquí

Lo estoy integrando de la siguiente forma

<link rel="icon" type="image/png" href="<?php echo $raiz;?>imagenes/icono.png">   

Lo curioso es que si entro como localhost/ecuservi que es el nombre del proyecto el icono se muestra como en la imagen, pero si entro atraves de de la IP/ecuservi, el icono se muestra correctamente. Además en otros proyectos al ingresar como localhost si se muestran los iconos.

Que puede estar mal ?

javascript – Handle multiple buttons with different API IDs in a HTML table

Ok, so my scenario goes like this: I am building an API of financial transactions. Backend does not matter for this problem, the only thing is that the API has a route /users/:userid/transactions/:transactionid. On the frontend (PHP and pure JavaScript, no NodeJS BFF or anyhing like that, just plain old client side JS with axios library) I have a page with a HTML table showing all transactions. Each row of the table (each transaction) has two options: Approve or Cancel. I then created two buttons for each row with the corresponding actions. However I am having some trouble dealing with these buttons because the buttons should call the API using the corresponding transactionid.

I have defined all the <button>´s with the id of the HTML element being the ID of the transaction to be used when POSTing on the route mentioned above. The button onclick attribute is used to call the JS function that will execute the POST and the id of the HTML button is passed to the function to be used as the transactionid. Like this:

<button id="EG202090283" onclick="Transactions.cancel(this.id)">Cancel</button>

In this case, the POST request is sent to /users/:userid/transactions/EG202090283. Of course this is not secure because the user can simply change the button id and POST to another route. But I don’t know another alternative and I’m looking for best practices about this.

The question is: how to link these two buttons (Approve and Cancel) to the desired transaction only and how to that in such way that is difficult for the user to change the transaction ID? Is it using sessions, do I need a BFF pattern for this?

html – Preventing robots from crawling specific part of a page

This is easy.

Before you serve your page you need to know whether it is to a bot, a computer or a phone. You then need to set the content accordingly. This is standard practice in this day and age and core functionality of some CMS’s.

There are plenty of solutions on SE for doing redirection based on USER AGENT that can be put in your htaccess. If this suits your forum software then you can run different code off the same DB to deliver what Google needs without the chaff and trimmings.

Alternatively you can put a little line in your PHP code that does a ‘if USER AGENT == Googlebot then don’t show signatures’.

If you really cannot do that then you can get mod_proxy to serve to the bot and use it to strip out anything your php code generates that the bot not need to see.

Technically Google do not approve of their search engine being shown a different page to what the normal site visitor sees, however, to date, they have not taken the BBC and others that provide browser/IP/visitor-specific content off their search engine results. They also have limited means to see if their bot has been ‘conned’.

The alternative solution of hiding content with CSS for it to be re-enabled by a script is also a bit of a grey area. According to their own Webmaster Tools guidelines of 20/6/11 this is not a good idea:

http://www.google.com/support/webmasters/bin/answer.py?answer=66353

That may not be a tablet cast in stone, but it is up to date and by Google.

The hide the content trick will not work with the minority of people that do not have javascript, this may not be a huge concern, however, waiting for the document to load and then showing the signatures will not be a satisfactory viewing experience as you will think the page has loaded, then it will jump about as the hidden signatures show up to then push the content down the page. This type of page load can be irritating if you have a low-end net-top but may not be noticeable if you have a fast developers machine on a fast internet connection.

Is it possible to save HTML source code as it is with indentation etc.?

Is it possible to save HTML coding on Full HTML content as it is? I would want to save all the indentations, line breaks and spaces.

html – Select multiple, insertar varios datos en un solo campo (Postgresql php) 1 a N

Lo que sucede es que yo le pongo la información de la tabla cursos a el select múltiple,ahora lo que quiero hacer es que los cursos que se seleccionen se inserten en la tabla de los estudiantes, es decir, que es una relación de 1 a N

Estas son las dos tablas que tengo.

CREATE TABLE Cursos (
cod_cur varchar(6),
nomb_cur varchar(30),
cod_doc varchar(10));
ALTER TABLE Cursos ADD CONSTRAINT rk_cursos PRIMARY KEY(cod_cur);
CREATE TABLE Estudiantes (
cod_est varchar(10),
nomb_est varchar(30),
telefono varchar(10),
email varchar(50),
cod_programa varchar(10),
cod_cur varchar(10));
ALTER TABLE Estudiantes ADD CONSTRAINT ek_estudiantes PRIMARY KEY(cod_est);
ALTER TABLE Estudiantes ADD CONSTRAINT PERTENECE FOREIGN KEY (cod_programa) REFERENCES 
Programas(cod_programa) ON DELETE NO ACTION ON UPDATE NO ACTION;
ALTER TABLE Estudiantes ADD CONSTRAINT PERTENECE FOREIGN KEY (cod_cur) REFERENCES 
Programas(cod_cur) ON DELETE NO ACTION ON UPDATE NO ACTION;`

Aquí esta el código en donde inserto los datos,lo que me esta insertado es la palabra “array” en la columna cod_cur en la tabla docentes,no entiendo muy bien porque sucede esto.

<?php
include("conexion.php");
$con=conectar();


$cod_est=$_POST('cod_est');
$nomb_est=$_POST('nomb_est');
$telefono=$_POST('telefono');
$email=$_POST('email');
$cod_programa=$_POST('cod_programa');
$cod_cur=$_POST('cod_cur');
print_r ($cod_cur);

if ($cod_programa=="Seleccione el programa...") {
    $cod_programa="na";
} else{
$i=0;
$cod_programa_aux="";
while ($cod_programa($i)!=" ") {
$cod_programa_aux.=$cod_programa($i);
$i++;
}
$cod_programa=$cod_programa_aux;
}

$query="SELECT insertar_estudiante('$cod_est','$nomb_est','$telefono','$email','$cod_programa','$cod_cur');";
$ejecutar=pg_query($con,$query);

if(!$ejecutar){
    echo"Error";
}else{
    if ($cod_programa=="na") {
            header("Status: 301 Moved Permanently");
            header("Location: /ProyectoNOTAS/registrar_estudiante.php");        }
            else {
                header("Status: 301 Moved Permanently");
                header("Location: /ProyectoNOTAS/info_estudiante.php");}
}

?>

Y este es el select multiple en donde estan los cursos de los cuales se seleccionan algunos para asignarlos al estudiante

  <?php
          $query2 = 'select cod_cur, nomb_cur from cursos order by cod_cur asc';
          $resultado = pg_query($con, $query2) or die("Error en la consulta sql");
          $numReg = pg_num_rows($resultado);
          if ($numReg > 0) {
          ?>
          <select id="ms" multiple="multiple" class="control" width="80" type="cod_cur" name="cod_cur()" >
          <?php
            while ($fila = pg_fetch_array($resultado)) {
              ?>
            <option><?php echo $fila('cod_cur'), " - ", $fila('nomb_cur') ?> </option>;
          <?php
            }
            ?>
          </select>
          <br>
          <?php
          } else {
          ?>
          <h1 align="center"> <?php echo "No hay registros"; ?> </h1>
          <?php
          }
          pg_close($con);
          ?>
          <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
          <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js" integrity="sha384-cs/chFZiN24E4KMATLdqdvsezGxaGsi4hLGOzlXwp5UZB1LY//20VyM2taTB4QvJ" crossorigin="anonymous"></script>
          <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js" integrity="sha384-uefMccjFJAIv6A+rW+L4AHf99KvxDjWSu1z9VI8SKNVmz4sk7buKt/6v9KI65qnm" crossorigin="anonymous"></script>
          <script src="CSS/multiple-select.js"></script>
          <script>
          $(function() {
          $('#ms').change(function() {
              console.log($(this).val());
          }).multipleSelect({
              width: '100%'
          });
          });
          </script>