I have a db.php and inside it I filled out all the info needed:
<?php
define('DB_HOST', 'example.com');
define('DB_NAME', 'database_name');
define('DB_USERNAME', 'user_name');
define('DB_PASSWORD', '*******');
$odb = new PDO('mysql:host=' . DB_HOST . ';dbname=' . DB_NAME, DB_USERNAME, DB_PASSWORD);
?>
My problem is with the DB_HOST, is that my direct URL to the site? for example, google.com or is it like an IP?
If they're just images and not going to be like buttons or anything, just make all 4 images into one big image using Photoshop, then it will be more efficient and you will only need one div.
So I am a complete newb at PHP coding and need help.
Here is the form I am trying to modify...
http://i.gyazo.com/430a43e1de5629e2ccb8a386f177c23e.png
I am trying to make the black border fill most of the screen rather a little bit.
This is the code for the whole box.
<div id="app" class="col-md-5">
<div class="panel panel-default">
<div class="panel-heading">
<h1 class="panel-title">Search Box</h1>
</div>
<div class="panel-body">
<form id="search" data-validate="parsley" class="form-horizontal" role="form" />
<div class="form-group">
<label for="url" class="col-lg-2 control-label">URL</label>
</div>
</div>
<div class="error-container alert alert-danger">
</div>
<div class="form-group">
<div class="col-lg-offset-2 col-lg-10 text-right">
<button id="crawl" type="submit" class="btn btn-primary btn-lg">Search <span class="glyphicon glyphicon-search"></span></button>
</div>
</div>
</form>
</div>
</div>
</div>
Please tell me how.
Thanks!
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.