52,566 Archived Topics
Remove Filter ![]() | |
hi guys i'm creating my own website and i want to let users register and for them to be able to let them take a quiz. I have created this sql code CREATE DATABASE `dyscaculia` DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci; USE `dyscaculia`; CREATE TABLE IF NOT EXISTS `users` ( … | |
i have to backup my database via php codes but i always ended up with an empty file? <?php include "connection.php"; $command = 'mysqldump -u root -p ***** –all-databases > dump.sql'; exec($command) or die(mysql_error()); ?> any help would be great | |
i am actually working for showing online for loged in user. This is my code: $qt="select userid from plus_login where tm > '$tm' and status='ON'"; $result = mysql_query($qt); while($row=mysql_fetch_array($result)) { $uid = $row['userid']; $qt1="select first_name, last_name from signup where user_id='$uid'"; $result1 = mysql_query($qt1); while($rows=mysql_fetch_array($result1)) { $_SESSION['name']=$rows[0]." ".$rows[1]; echo $_SESSION['name']."<br>"; } … ![]() | |
[Click Here](http://download.geonames.org/export/zip/)In this link, there is a txt file with all the zipcode and lattitude, longitude for US. How do I get lattitude and longitude for a zipcode from this text file, using javascript as I wanna create a google map application, that displays a location after providing a zipcode. Web Development google-api javascript | |
Hi Guys, I'm looking to build an extremely simple script that would allow someone that I know to share files in a simple manner. This script should do the following: - Make a list of all the files in a specific folder. - Make downloadable links to these files (<a … ![]() | |
![]() | I've asked this before and I'm really racking my brains here. To create an admin controller or simply have an if statement in the view. **view** if session == admin show admin delete post This would minimize my code so much. I really can't see the wrongness in this. Although … Web Development php programming-construct session |
**I want to embed links and fields into php generated emails. This is the email_message field.** Welcome to the Neighborhood 13 Wine Tasters Group. In order to make sure we have your correct email address we need to have you return this email by pressing the Return button on your … | |
This is really stupid question and i feel ashamed to ask but i kinda have to. So here is the thing, in my college/school we got some sort of homework which isn't a "must do" but i wish to for myself, so thing we need to do is, when i … Web Development javascript | |
![]() | |
I have PHP scripts inside my HTMl file. I am using Apache. I created a .htaccess file and place it in my root directory of the application with the following as its contents AddType application/x-httpd-php .php .html .htm I want to allow the server to execute the PHP scripts inside … | |
I have an html form to get a number from the user for a calculation. The first number is given. The second is entered by the user. The result is posted to the same page. BUT the resulting answer is now the first number and again the second number is … Web Development php | |
I'm an experienced ASP/MSSQL programmer trying to make the move to PHP/MYSQL and I've been able to wrangle my way up to now. I have a simple SQL query that works great in mymcadmin but gets lost in PHP. I've simplified it a bit here but this is the actual … ![]() | |
I'm very new to PHP or any type of web programming for that matter. I need the to put the following script into two columns or possibly a table with two columns. I need Fahrenheit as the heading for one column and celsius as heading for the other? It took … Web Development php | |
Hi all, I need your help, I'm working on my PHP as I want to get the list of links for each array in get-listing.php. I want to get the list of links for each array like this: http://testbox.elementfx.com/get-listing.php?channels=ABC FAMILY&id=101 http://testbox.elementfx.com/get-listing.php?channels=CBS&id=102 http://testbox.elementfx.com/get-listing.php?channels=CNN USA&id=103 http://testbox.elementfx.com/get-listing.php?channels=ESPN USA&id=105 ..and so on I want … ![]() | |
Hello. I need to export the text typed into the text area and import it into an arraw. but when i type in new lines it cant't read it. example:when user types: aaa bbb ccc bbb the out put at the end should be: aaa bbb ccc this is the … Web Development php ![]() | |
Hello, I am trying to update phone number in the maps: http://www.indonusa.net.id/IndonusaCMS/contactus.php Yet, I still do not find a way to do so. I have updated all the phone number in the maps just like in the text next to your message. Yet, even after I refresh it the phone … | |
Hi, I need to save the inserted password on MSSQL as md5 encrypted one. Basicaly when the user inserts the password on the textbox, it must be encrypted before storing it on the MSSQL Database. How can I do that? This was made from DreamWeaver CS6. Thank you the code: … | |
Hi I am new in php. Below code works fine. But If I change Select Command Like this: $sql = "SELECT login_id,password FROM user_right WHERE login_id = '$username' and password = '$password'"; It shows error recorde not found. Also I need to show the role of select user. Pls Help … Web Development php | |
Hello, I try to install XAMPP for Linux in Ubuntu (Using Virtual Machine) but I cannot install it since there is this error message: There has been an error This installer requires root previleges. Please become superuser before executing the installer. I already check the previlege, it is administrator. Therefore, … Web Development ubuntu | |
Hi, I checked error log and found following php errors/warning, 1) File CODE: <a href="http://<?php echo $esrow_off['fld_company_url']."".stripslashes()?>" target="_blank"><img src="<?=$domain_url?>/admin/partnerimages/<?=$esrow_off['fld_partners_image']?>" border="0" height="42" /></a> PHP error / Warning: [17-Jun-2013 23:31:59 Europe/Minsk] PHP Warning: stripslashes() expects exactly 1 parameter, 0 given 2) File CODE: $esq_row2=mysql_fetch_array(mysql_query("select * from esb2b_products where es_id=$id")); [16-Jun-2013 00:29:51 Europe/Minsk] … Web Development php | |
I have a secret word. People need to guess the secret word by entering single letters. When they start it will have **** for the word. When they guess a letter, an asterick shoud be replaced with the correctly guessed letter. I cant get the charachter to replace in the … ![]() | |
hey there nice people, i am making a hospital management system online (using asp.net, C#, sqlserver), now here is the main thing, i want to make website's own video chat (between patient and doc). i am wondering if it's possible with asp.net (i'll be using visual studio). If it's possible, … Web Development asp.net video visual-studio | |
how to fix below error Notice: Error: Table 'oc_product_profile' already exists Error No: Table 'oc_product_profile' already exists CREATE TABLE `oc_product_profile` ( `product_id` int(11) NOT NULL, `profile_id` int(11) NOT NULL, `customer_group_id` int(11) NOT NULL, PRIMARY KEY (`product_id`,`profile_id`,`customer_group_id`) ) ENGINE=MyISAM COLLATE=utf8_general_ci; in /home3/ffashion/public_html/ffashionfox.com/system/database/mysql.php on line 51 and my sql database is: <?php … Web Development php | |
Hi Everybody, Im running a Software web application - www.physioplustech.com My clients are asking for an offline version, where they can Access previous data and they can add new data even without internet connection. I wish I can create a desktop icon for my application, which when offline opens a … Web Development php | |
Detect mobile browser for android and iphone.. Want to Use below code as in wordpress post if(strstr($_SERVER['HTTP_USER_AGENT'],'Android')){ echo '<img src="/images/android.png">'; } else if(strstr($_SERVER['HTTP_USER_AGENT'],'iPhone')) { echo '<img src="/images/iphone.png">'; } else { echo '<img src="/images/Download-now-button.png">'; } Web Development android first-post iphone php wordpress | |
Hi I'm working on this project and Ifaced this little problem,which is that I have two tables and I need them to be side by side but the problem is that I get every table in a separate line ! <center> <table border="1" width="40%"> <tr> <td> <center><h5>order</h5></center> </td> <?php $sql_order … Web Development php | |
Hello, I need to transliterate the names of employees that are fetched from my database and write the transliterated values back into the database... For this I need to run a javascript code in a loop for as many no of records as in the database.... The code I am … Web Development asp.net javascript ![]() | |
i am trying to do multiple photo upload but its not working,i can just upload just one image at a time here is my code.I am looking for uploading multiple image using multiple file input type and a single submit button. <html> <body> <form action="imgupsuc.php" method="post" enctype="multipart/form-data"> <?php @$nm=$_POST['n1']; ?> … Web Development php | |
The following code is producing this error `Microsoft VBScript compilation error 800a03f6 Expected End ` followed by `/stock/availability-quick/availability2.asp, line 130` I think it is a if else error. I have looked over the code and i don't see the error and would benefit from an expert pair of eyes to … Web Development asp programming-construct vbscript | |
![]() | hi guys... what is the simplest php forum to add to my cms. I'm struggling finding something simple which separates the db code and view(html) ![]() |
Hello Community, I've been wondering if an SFTP connection would be worth it? Web Development cpanel microsoft-access | |
i am unable to concardinate i am getting error.. <?php $subject = "You got a Project Invitation from ".echo $_SESSION['user_name']; ?> Web Development php | |
How do I add records to a mysql database using a combo box of text and checkmarks in php? <html> <head> </head> <body> <h3>Add New Record in MySQL Database</h3> <form method="post" action="adding.php"> <table width="400" border="0" cellspacing="1" cellpadding="2"> <tr> <td width="100">Worker Firstname</td> <td><input name="firstname" type="text" id="lastname"></td> </tr> <tr> <td width="100">Worker Lastname</td> … Web Development php | |
Good Day, guys, please help me, after validation in javascript,I want the user to go to the next page. I tried window.open ("sinfo.php"); The problem was it opens in another tab. I want the next page (sinfo.php) to be on the current window. Thanx Web Development javascript | |
Hi everyone, Got a pesky little issue here with cookies. I have searched numerous forums and numerous posts of how to delete a cookie. So, I am much aware of this doing the trick: [code=php]setcookie('cookie_name');[/code] Basically where not assigning any value to a cookie will delete it. (This is just … Web Development php | |
I need to upload 5 images at ones with they labels I have made this before to upload many images at one it works fine but I need to have an label for each image how this can be done take a look at my code. this is the HTML … | |
![]() | foreach ($query->result() as $row) { echo anchor("forum/topic/$row->topicid", my_html_escape(($row->name)), 'attributs'); echo ' by '; echo $this->Stuff->get_topic_author($row->topicid); echo ' replies '; echo $this->Stuff->get_replies($row->topicid); echo ' Last post '; echo $this->Stuff->get_topic_last_post($row->topicid); echo br(); } This has been bothering me for a while. Let's say I have that code I want to pass this … Web Development |
Good Day Daniwebbers! Wonder if I can have some help. I am trying to build an 'admin panel' of sorts where the user can add content to their website, edit and delete it, all from one spot (Not unlike a CMS system I guess but purely for the purpose of … | |
FB.api('/me', function(userInfo) { console.log(userInfo.email); var emailid = userInfo.email; console.log(emailid); }) $.ajax({ url: 'index.php?r=tryon/saveemailid', type:'post', data:{'saveemail':emailid}, success : function(data){ alert("success!"); } }); Web Development email javascript php | |
Hello all, I am new to javascript and looking for some help. I have searched around different forums but my skills have not served me well to build a working script. I have a simple form with 4 checkboxes and a submit button. Each checbox has a unique value. The … Web Development javascript | |
I have hopefully a relatively straight forward one for you guys. Unfortunately not so straight forward for me. I have a an existing java script that works with a group of checkboxes that I have. Its quite simple, If you select a checkbox and click submit the javascript function will … Web Development javascript | |
Me again, I have the following which should generate a form and populate that form. <?php session_start(); include("db_connect.php"); if(($_SESSION['user_id']) && ($_SESSION['access_level'] == 1 )) { ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <head> <title>Teaching Int Limited - Home</title> <meta name="title" content="Teaching Int Limited"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta … | |
![]() | Evening ladies and gents. Just wondering what is common practice but once a session is set I have been using a validate session in each method/function in my controller. Seems like a lot of typing... necessary ... still a lot of typing. Is this what everyone else does? Ta. |
I have to insert a image file into sqlserver 2005 in asp.net with c sharp. please provide me with the detailed code | |
I am very new to this and have been given code for a website i have. Please can someone help me and let me know how to convert code to an image? I have searched everywhere and cannot find the answer. Web Development javascript ![]() | |
![]() | Hello, I am using PHP 5.3.10 on Ubuntu 11.04. How can I upgrade my PHP version to 5.3.20 ? (I need it because the e-commerce CMS I want to install needs it). Thank you for any help ![]() |
Hello, I have used Single Translation Table Approach to make multilanguage site in PHP. You may see [here](http://www.apphp.com/tutorials/index.php?page=multilanguage-database-design-in-mysql#single_translation_table_approach) The current index page is not working. My objective is to have one example to use these tables and display one working page. For example: It should work like [this](http://demo.codeursolitaire.com/multilanguage/index.php) **by using … Web Development database-design mysql php | |
Hi Friends, User logged in as: ankit.baphna@gmail.com I am creating gif image by below line 1 code with name demo25_"email address of user" ex: demo25_'ankit.baphna@gmail.com'.gif it gets created in my folder with naming within single qoutes: 'ankit.baphna@gmail.com'.gif but I am not able to read this file to display image on … Web Development php | |
<?php //The fields and values to insert $user = array( 'users_screen_name'=>$vars ->screen_name, 'users_profile_image_url'=>$vars -> profile_image_url, 'users_name'=>$vars->name, 'users_statuses_count'=>$vars->statuses_count, 'users_location'=>$vars->location, 'users_description'=>$vars->description, 'users_oauth_access_token'=>$access_token['oauth_token'], 'users_oauth_access_token_secret'=>$access_token['oauth_token_secret'] ); // chek existing $check_column = 'users_id'; $exists = $database->exists( 'useres', $check_column, array('users_screen_name' => $vars ->screen_name )); if (!$exists) { $add_query = $database -> insert('useres', $user); if ($add_query) { … |
The End.