Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Recent content by MilesWeb

  1. MilesWeb

    HTML & CSS Gap between Nav Bar and <h1> text

    There may be several reasons for the gap you are seeing, you can fix it with below ways, Instead of floating <h1>, use Flexbox .header { display: flex; /* Enable Flexbox for the header */ align-items: center; /* Align contents vertically within the header */ justify-content...
  2. MilesWeb

    PHP How to post the value of an input on 2 differents pages ?

    1- HTML Form (A.php): <form action="B.php" method="post"> <label for="search">Search:</label> <input type="text" id="search" name="search"> <button type="submit">Submit</button> </form> 2- PHP Page (B.php): <?php if(isset($_POST['search'])) { $searchValue = $_POST['search']; // Now you can...
  3. MilesWeb

    C to js

    Both the language you mentioned does not have a direct connection, as they both are built in different environments. You can try out JSON format where you can follow mentioned steps, make use of C libraries to create/parse JSON objects understand that JSON.parse() and JSON.stringify() can...
  4. MilesWeb

    Best low code tool for both self-hosted and web hosted with limited number of users

    Most, but not all, low-code tools generate open-standard code. This means the code is written in languages like HTML, CSS, JavaScript, and PHP, which are universally understood and executable by servers regardless of the specific low-code tool used. This enables portability and avoids vendor...
  5. MilesWeb

    How do I change the black color to transparent so that it is see-through?

    Here is the way to achieve a transparent effect on a black color, depending on what you're working with: If you're dealing with web elements or images, you can use the opacity property in CSS to control the transparency level. A value of 0 represents completely transparent, while 1 is fully...
  6. MilesWeb

    Best low code tool for both self-hosted and web hosted with limited number of users

    Hi, AppSmith: Pros: Open-source, drag-and-drop interface, connects to various databases including MySQL, supports PHP actions. Cons: Limited customization compared to Tooljet, requires some Javascript/Python knowledge for complex logic. Editability: Yes, the generated code is accessible and...
  7. MilesWeb

    What's wrong with my code?

    There may be some issue with the code, 1. same variables $user_id, are being used for both the form input and the fetched user data. 2. when user register, make sure that the stored passwords in your database are hashed using password_hash() check below updated code for you, <?php // Connect...
  8. MilesWeb

    C++ Unraveling the Hidden Properties of Pointers and Arrays in C++

    Pointers and Arrays Basics: 1- Declaration and Initialization: Pointer Declaration: int* ptr; declares a pointer to an integer. Array Declaration: int arr[5]; declares an array of 5 integers. 2- Pointer Arithmetic: Pointers can be incremented and decremented. ptr++ moves the pointer to the...
  9. MilesWeb

    JavaScript Trying to have the X button work

    Current Functionality: Clicking the .close button triggers the exitClickHandler function. exitClickHandler shows the .blog-pager element and hides the .close element. This effectively hides the modal and video player. Improvements for Removing Player: Target the video player directly: Instead...
  10. MilesWeb

    Square thumbnails, object fit?

    The object-fit property specifies how the content of an element should be resized to fit within the container. You can use object-fit: cover; property to ensure that the image covers the entire container. ------------------------- .square-images.envira-gallery-wrap...
  11. MilesWeb

    C++ Activity.h is defined 2 times.

    The issue might have been encountered due to multiple inclusion of the header file Activity.h. This is a common problem in C++ when a header file is included in multiple files, causing the same declarations. You can include guards in your header files. Include guards are preprocessor...
Back
Top Bottom