Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~923 People Reached
Favorite Tags
c x 18
php x 1
Member Avatar for unnamed17

if ( $_GET['2,03'] == "on") I want to use 2.03 instead of 2,03 is this possible? here is the link of the page as you can see the parameter is 2%2C03 [url]http://localhost:8080/untitled-3.php?type=Card&2%2C03=on&button=Next++%3E[/url]

Member Avatar for Borzoi
0
46
Member Avatar for unnamed17

#include <my_global.h> #include <mysql.h> int main(int argc, char **argv) { printf("MySQL client version: %s\n", mysql_get_client_info()); } I got the error when i try to compile the above code.

Member Avatar for Ancient Dragon
0
52
Member Avatar for unnamed17

Hello, I have a txt file of the following format: 315151,34.56,1,1,54442221,23344445 512512,12.54,1,1,23444442,45612345 I am using the following code to parse it and it works: while( fgets( output,sizeof(output) ,file) != NULL ){ i=0; token[i] = strtok(output,","); while( token[i] != NULL){ i++; token[i] = strtok (NULL, ","); } dec2bin(atol(token[4]),binaryBefore); dec2bin(atol(token[5]),binaryAfter); dec2bin is …

Member Avatar for Ancient Dragon
0
239
Member Avatar for unnamed17

I have a txt file in this format: 111,5.67,2,4,566666,666667 111,5.67,2,4,566666,666667 111,5.67,2,4,566666,666667 111,5.67,2,4,566666,666667 Is there any way so i can open the file and at the end of each line binarynumber to become: 111,5.67,2,4,566666,666667,111000,111000 111,5.67,2,4,566666,666667,111000,111000 111,5.67,2,4,566666,666667,111000,111000 111,5.67,2,4,566666,666667,111000,111000

Member Avatar for Ancient Dragon
0
96
Member Avatar for unnamed17

<?php $con = mysql_connect("localhost","peter","abc123"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("my_db", $con); $sql="INSERT INTO Persons (FirstName, LastName, Age) VALUES ('$_POST[firstname]','$_POST[lastname]','$_POST[age]')"; if (!mysql_query($sql,$con)) { die('Error: ' . mysql_error()); } echo "1 record added"; mysql_close($con) ?> This is my code in php..i want it in C..any help? what …

Member Avatar for N1GHTS
0
142
Member Avatar for unnamed17
Member Avatar for unnamed17

Hey i have a filename in this format RECORDddmmyyyy on my PC. I want to include it into mysql table.I solve the problem of getting date but still have one issue,how to pass it to the database. char filename ="RECORD" i append later on the date to it as well …

Member Avatar for N1GHTS
0
145
Member Avatar for unnamed17

Hi there, I am trying to make a piece of code in C that: 1. opens a specified file, 2. Reads the data in the file and include it in MySQL, based on the position of commas, 3. Converts the last two number into binary and then performs some check …

Member Avatar for unnamed17
0
109