|
I have an enquiry form where once the user click the submit button the form mailhandler.php and sends the email to myself. I have tried doing this through php but its not fully working as I do not recieve any emails. Here is my mail handler.php <?php if(isset($_POST['buttonSubmit'])){ $to = … |
Hello all, I am new into this webdesign industry. How to do website design so that my website contnet will show differnt in desktop and in mobile different ? This is my website adress http://www.cheapwebsitedesign4u.org.uk. You can have a visit and give me some ideas. Thanks In advance. |
|
I have several databases located over the world, this all have the same structure, with the same tables and triggers. For clarification purposes: Site 1: database_1 (with all its tables same as other sites) Site 2: database_1 (with all its tables same as other sites) Site 3: database_1 (with all … |
|
Hello there, Responsive websites are developed to deliver the content and appearance based on screen dimensions that can be handled by all the devices like desktop, mobile, iPhone, tablet etc. |
|
Hello I want to make a button autoclick itself. JQuery? Whats the best way? Tried trigger click but nothing Thanks |
|
I have a div that has an image as its background. But the image only covers up about 80% of the screen. I want to make the extra 20% of the screen to be black but its only coming up as white. How can I set the background images and … |
|
How to create responsive layout for following structure? **Requirements** * Float sidebar from right 10% over all div . * Sidebar height 100% * Hidden for below 768px width * Footer stick to bottom * `main` div `overflow-y:scroll auto;` * sidebar contains navigation menus * overflow hidden for body & … |
|
<?php $host = "localhost"; $usr = "root"; $pwd = ""; $db= "DB"; conOpen($host,$usr,$pwd,$db); function conOpen($host,$usr,$pwd,$db){ $con=mysql_connect($host,$usr,$pwd) or die ("Connection Failed "); mysql_select_db($db,$con);} $rows_per_page=5; // database connection stuff here $result=mysql_query("Select * from newsimage"); $pages=ceil(mysql_num_rows($result)/$rows_per_page); if (!isset($screen)) $screen = 0; else echo $_GET[screen]; /* $start = $screen * $rows_per_page; $sql = "SELECT … |
|
$query1= mysql_query("select PageId FROM page"); $result = mysql_query("SELECT * FROM page"); echo "<td><a href='http://localhost:1234/usman/page_update_insert.php'> <img src='IMG/create.png'>Add New Record</a> </td>"; echo "<table border='0'> <tr class='tableheader'> <th>PageName</th> <th>MenuName</th> <th>ParentMenuId</th> <th>LinkWidth</th> <th>OtherUrl</th> <th>Status</th> <th>CreatedDate</th> <th>OnMainMenu</th> <th>FooterMenu</th> </tr>"; while($row = mysql_fetch_array($result)) { echo "<tr class='tablerow'>"; echo "<td>" . $row['PageId'] . "</td>"; echo "<td>" . … |
|
difference between the php and android and both which one best choice for career.. |
|
I need to create 3-4 buttons that are colored when pressed, but when one button is pressed it turns for example red other ones become grey. But this must happen on the same site like selection for example. I didnt maanage to do anything till now, if someone could just … |
|
Hello everyone, I want to download an image which was uploaded from the database Here is my HTML codes for the download link <a href='download.php?id=<?php echo $data["LRCard"]; ?>'>Download</a> and here is my download.php code <?php include 'Connect.php'; mysql_select_db("student"); $id = $_GET['id']; $student_id = htmlentities($_REQUEST['id'], ENT_QUOTES); $result = mysql_query("SELECT LRCard FROM … |
|
hello i have a problem understanding how a function works for example i wrote this php code <?php $face = $Wall->Profilepic($profile_pic_path); $query = mysql_query("SELECT * FROM `messages` WHERE type ='A' AND uid_fk = '$uid'"); while($row=mysql_fetch_array($query)) { echo '<a href="'.$base_url.'roves/'.$row['msg_id'].'" ><img src="'.$face.'" class="small_face" original-title="'.$row['message'].'" ></a>'; } ?> and i named a … |
|
Hello, How to create paging for tables? I am having this database tables. I am afraid that the database will be too long so that I would like to limit the row number of the tables up to 5 rows for example and it has too go to the next … |
|
My question is can we use the Document.write in a loop? As the following code doesn't works well. Guess what wrong in it! <script type="text/javascript"> var d = 1; var p; while (days <= 4){ p = prompt("value of p?",0); document.write("the value of p" + p); p=p+p; d++; }; </script> |
|
I used following code for hiding **.php** extension but **mail()** function stopped working. What is the problem? RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s([^.]+)\.php [NC] RewriteRule ^ %1 [R,L,NC] RewriteCond %{REQUEST_FILENAME}.php -f RewriteRule ^ %{REQUEST_URI}.php [L] **Mail function & redirect** mail($to,$subject,$message,$headers); header('Location: http://xyz.com/'); |
|
<tr class="tablerow"> <td>Page Id</td> <td><select name='PageId' class="select"> <option value='0' >select any page</option> <?php $sql10 = "SELECT Id,Title FROM abc"; $rs = mysql_query($sql10) or die(mysql_error()); while($row = mysql_fetch_array($rs)){ echo "<option value='".$row["Id"]."'>".$row["Title"]."</option>"; } mysql_free_result($rs); ?> this done show all title from table but when i update form i want that the tile … |
|
Hi all , I am a new in PHP my code don't save information in db and password confirmation code doesn't work correctly this is my simple code : <?php // decleration for varible $name=$_POST['nameTxt']; $username=$_POST['userNameTxt']; $passTxt=$_POST['passTxt']; $passConTxt=$_POST['passConTxt'] ; $email=$_POST['email']; $website=$_POST['website']; $errors=0; $submit=$_POST['btn_done']; // connection to mysql $con=mysqli_connect('localhost','root','root'); if(!$con){ die('Could … |
|
I have come accross this website. http://en.colette.fr/women/just-in.html If you notice, the products are loaded with lightning speed. I understand they are using Magento. However, its still not clear how the products are loaded so fast. Can you guys give an idea what's hapening there. Is it the server or a … |
|
Hi Friends, There is a variable call 'ReportID' Its values are normally in this format. 'MPS141', 'MPS142'.... 'MP' means company name. 'S' means, Songs and '14' means year 2014 and other part is auto incrementing data. I want to get onlye that value. Is there any function in PHP ? … |
|
Is it possible to remove the suffix of URLs using the .htaccess file? For example you have [url]http://www.example.com/page.php[/url] can you change it to [url]http://www.example.com/page[/url] without the .php. I want it to work both ways, with the .php and without. Is there a way to do it with the .htaccess file? … |
|
so.. Im having trouble wrapping my noodle around this... my initial thought: -- events create table Events ( id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, Title VARCHAR(512) NOT NULL, Description TEXT NULL, StartDate DATETIME NOT NULL, EndDate DATETIME NULL ); create index StartDate_OnEvents On Events (StartDate); create table EventFrequency ( … |
|
Good Morning All... This may be a simple question but hopefully someone can give me a specific answer... I know I can set a date based on the current date + or - a specified number of days $created = date("Y-m-d H:i:s", time()) ; $dist_date = date("Y-m-d", strtotime($created.'+4 days')) ;// … |
|
Hi! Everybody Here on Daniweb I am Sophia, Love to contribute here and meet new pople. I like to share my knowledge to all and also learn new things. I hope with huge communitty out here we have fun with learning while get to know new things and meet new … |
|
Heres my code <link rel="stylesheet" media="screen and (max-width: 568px)" href="mobcss.css" /> (target media is iphone5) It is possible to add “webkit-min-device-pixel-ration:2 or min-resolution:2dppx” in my link element as in linecode? and how it is? |
0 Reputation Points
~9K People Reached
Favorite Forums
Favorite Tags