Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
69% Quality Score
Upvotes Received
5
Posts with Upvotes
4
Upvoting Members
3
Downvotes Received
2
Posts with Downvotes
1
Downvoting Members
2
3 Commented Posts
0 Endorsements
Ranked #2K
~15.2K People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.
Favorite Tags

21 Posted Topics

Member Avatar for Ramakrishnan.L
Member Avatar for João_5

Hello guys, i have been working on a new script that will import data from a TXT file to mysql. Using this code works ok: $sql = 'LOAD DATA LOCAL INFILE 'logons-16-12-2013.txt' INTO TABLE pcvsuser COLUMNS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"' LINES TERMINATED BY '\\r\\n''; But if i …

Member Avatar for Abdul Waseem
0
4K
Member Avatar for abhijit_2

<select> <option value="update">update</option> <option value="delete">delete</option> </select> <input type="text" name="other" value="keyword"> //this will make a variable of the select option update $update = $_POST['update']; //this will make a variable of the select option delete $delete = $_POST['delete']; //this will make a variable of the select option other // in other words, …

Member Avatar for abhijit_2
0
209
Member Avatar for Jemuel

Hope this helps $sql1="INSERT INTO inventory(account_number,serial_number,locator,remarks,`date_assigned`) VALUES('$accountno','$serial','$locator','$remarks',NOW())"; $sql2="INSERT INTO action_log(action,username,`date`) VALUES ('assigns the box($serial) to $accountno','$user',NOW())"; $sql3="INSERT INTO account_logs(action_log,account_number,username,`date`) VALUES('Assign','$accountno','$user',NOW())"; //run query 1 if(mysql_query($sql1)){echo "Successfully inventory Assigned!";} else{echo "Insertion inventory Failed!";} //run query 2 if(mysql_query($sql2)){echo "Successfully action_log Assigned!";} else{echo "Insertion action_log Failed!";} //run query 3 if(mysql_query($sql3)){echo "Successfully account_logs Assigned!";} else{echo …

Member Avatar for Jemuel
0
211
Member Avatar for vishalonne
Member Avatar for pkpankaj

You must learn PHP/HTML/MySql: http://bytes.com/topic/php/insights/740327-uploading-files-into-mysql-database-using-php Here is a complete tutorial on how to make what you whant.

Member Avatar for João_5
0
64
Member Avatar for rgu.hari
Member Avatar for João_5

Hello guys, i already have my databases and scripts working, and i was implementing a small webserver under windows 7 with xampp. But after configuring all needed in apache, i can see the pages in the server but non of the clients can see the pages. No error is displayed, …

Member Avatar for cereal
0
782
Member Avatar for João_5

Hello guys, now that i have all my scripts up and running i need some help configuring virtualhosts on Apache/Xampp/Win7 The Httpd-vhosts.conf like this: <VirtualHost *:80> ServerAdmin [email protected] DocumentRoot "C:/xampp/htdocs" ServerName kadar ServerAlias www.kadar <Directory "C:/xampp/htdocs/" > Options Indexes FollowSymLinks ExecCGI Includes Order allow,deny Allow from all </Directory> </VirtualHost> The …

Member Avatar for pritaeas
0
175
Member Avatar for João_5

Hello guys, i have been away in the last few days, because of work, so i am on again. I am trying to ping a series of hosts and then add info about the ping in a row. I have a DB called ad, with a table called ping with …

Member Avatar for João_5
0
394
Member Avatar for nadiam

if ($result) { echo "<div class='total'>"; echo "<b>Your Total Income is $total</b>"; echo "</div>"; }

Member Avatar for nadiam
0
406
Member Avatar for WebCat999

Does this help? <table width="100%" border="0"> <tr> <td>Header</td> </tr> <tr> <td>Top navigation</td> </tr> <tr> <td><table width="100%" border="0" cellspacing="0"> <tr> <td width="18%">Left navigation</td> <td width="64%">Main content</td> <td width="18%">Banners</td> </tr> </table></td> </tr> <tr> <td>Footer</td> </tr> </table>

Member Avatar for simplypixie
0
132
Member Avatar for chrisschristou

This works for me: `<INPUT alt="Submit" src="images/image.png" width="48" height="48" type="image">`

Member Avatar for João_5
0
173
Member Avatar for christin_1

Something like this? <table width="100%" border="0" cellspacing="0"> <tr> <td width="25%"><table width="96%" border="0" align="center"> <tr> <td>&nbsp;</td> </tr> </table></td> <td width="50%"><table width="96%" border="0" align="center"> <tr> <td>&nbsp;</td> </tr> </table></td> <td width="25%"><table width="96%" border="0" align="center"> <tr> <td>&nbsp;</td> </tr> </table></td> </tr> </table>

Member Avatar for João_5
0
196
Member Avatar for davidjennings

This might help: <?php //session_start(); //include("includes/utilities.php"); //$Errors = ""; // $_SESSION['LoggedIn'] = false; // $_SESSION['UserID'] = ""; // $_SESSION['UserAdmin'] = false; $func = function hello() { print "<h1>HELLO!</h1>"; print "<p>Welcome to my web site</p>"; } echo $func ?>

Member Avatar for davidjennings
0
780
Member Avatar for chrisschristou

If order-online.php is in the same folder: `header("Location: order-line.php")` If order-online.php is in diferent folder: `header("Location: ../folder/order-line.php")` Or `header("Location: ../order-line.php")` Or you can use: `echo "<script>history.go(-1);</script>";` Wich send you back to previews page. Hope this helps, it works for me in local and in web.

Member Avatar for chrisschristou
0
1K
Member Avatar for ehpratah
Member Avatar for João_5

Ok, new question... I need to get data from one mysql row, set it as $ad The following code will convert it to readable date format. <?php function adConvert ($ad) { $seconds_ad = $ad / (10000000); //86400 -- seconds in 1 day $unix = ((1970-1601) * 365 - 3 + …

Member Avatar for João_5
0
310
Member Avatar for javanub123

This vbs will check if Ie is working or not, and will show a message box with the results. sName = "iexplore" iDelay = 10000 Set oWMIService = GetObject("winmgmts:\\.\root\CIMV2") K = GetKernel WScript.sleep(iDelay) If GetKernel = K _ Then MsgBox sName & " appears to be idle" _ Else MsgBox …

Member Avatar for João_5
0
336
Member Avatar for João_5

Hello guys, my turn to ask a very simple question. I already have a Mysql DB with querys working great. I import data from Active Directory server, and one of the values is State, enabled or disabled, etc. But this values came in a form of code: 512 = Enabled …

Member Avatar for Member #120589
0
292
Member Avatar for palo.moshoeshoe

In phpMyadmin select the database forum, and click on SQL In the box insert: DROP TABLE photo; CREATE TABLE files ( id int(11) NOT NULL AUTO_INCREMENT, mime varchar(255) NOT NULL, data blob NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB; If you do not have phpmyadmin installed use this php script …

Member Avatar for João_5
0
507

The End.