- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
59 Posted Topics
Re: I wanted to make a link to a docx file, that would open the document once clicked..and I found all those complicated answers that didn't really work lol and then I just wrote this line <a href="folder/filename.docx">open</a> and it worked!!! so simple..that I'm scared lol I use localhost to store … | |
I've created my first app and I'm ready to release it to google market. however I want the chance to make some money out of it and so I want to add ads to it. (my app is free) thing is I have no idea how many people will download … | |
Hello, I took a Java language class, so I know how to write a code and different stuff.. now, I'm looking at job descriptions and some say they look for a server side developer and others for a client side. does knowing Java language is enough to work at both? … | |
my table has 2 fields, both are Keys. I save similar items in that table , like if 2 items are similar but have different Ids (in another table) I use this table to know that they are similar. so if items 1111, 1112 are the same and 1000,1002,1004 are … | |
my db has members, and statuses. each member can have 1 current status. I have a code that decides what status to give what member. thing is, it can give 2 possible statuses, and then the site admin should approve one of them(if at all) I made a report page … | |
I have a form with 2 submit buttons, inside the form I have a table, each row in a table has a checkbox each row is showing a member-status, each member can have more than 1 status, so the table looks like this- x=checkbox x, david, beginner x, david, pro … | |
Hi, if I have few files (xlsx) in a folder on my computer (file's name is known), and I want to give the path of the folder in my form using a textbox, [CODE]<input type="text" name="path" id="path" >[/CODE] and for the files to be uploaded to a specific folder on … | |
Hi, I'm getting this error: Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 576 bytes) in 'path' on line 207 what I'm doing is getting an excel file with about 8000+ rows and trying to move them into a table in my DB. a FOR loop … | |
Hi, I'm seriously guessing here, but since I've seen that some php websites contain java stuff, like a java chatroom, I wonder if I can find a better solution adding some java to my php code. I'm looking for a way to browse and select a folder, or allow the … | |
Re: if the file is on the server- [CODE]if (file_exists("folder/myfile.xlsx")) unlink("folder/myfile.xlsx");[/CODE] | |
Re: lol not mysql_real_escape_sting, but [B]mysql_real_escape_string[/B] those damn typos hahaha | |
is there [B]AAAAAAAAAAAANY [/B]way to take an xls file and convert it to xlsx using a php code? I've googled but I see not many people asked this and those who had similar problems found no solution. I've tried using PHPExcel but I can't figure out how to do it … | |
I'm using the TinyMce and switched it to BBcode, it's saves the data fine, but it displays it later with the bbcode tags, should I write functions on my own that turn the bbcode into html tags, or is there something ready for that? | |
Hello, I think I made a mistake while connecting my tables with foreign keys :S here's the DB- table 1: [U]Id[/U],[U] year[/U],..... (2 Primary keys) table 2: [U]tbl2Id[/U], ... now the table that connects tbl1 and 2 with m..m relation- table 3: [U]Id[/U],[U] year[/U],[U]tbl2Id[/U] I set the foregn keys for … | |
Hi, I have a php script that send emails, I want it to run daily on the server. I thought that CRON JOB can do that for me but the guy who owns the server told me now that he can only run SH file? shell script if I'm not … | |
Hi, I developed a web based program and now I need to write a System Architectural Design document about it, I have no idea what to put there..I see a bunch of examples but non of them are really simmilar to my system so they confuse me even more.. can … | |
I'm trying to pass a word that has the char ' or " in the middle of it. it's one of the fields in a form, so when I submit, the next page gets only the part of the word before the " or ' char. I tried using mysql_real_escape_string() … | |
this is the problem- my program is linked to another website. we arranged that the website would have a link to my program and pass along a parameter that holds an X value. I have many scripts and some of them need to use that value and some don't..so I'm … | |
I'm pretty new with PHP and I learned how to pass parameters with GET in the beggining and stuck with this way, what I do now is this- <a href="page.php?parameter1=value¶meter2=value"></a> but I'm not comfortable with it. 1. because it makes me uneasy that everyone can see the url and understand … | |
Re: can u give an example of the graph u want? anyways u have more chances with JS there.. | |
is it possible to import say 10 excel files into DB at once? like in PhpMyAdmin, I go and import each file one by one and they are added as new tables. is there some kind of php code I can write to take all files in X folder and … | |
I added an editor from this site [url]http://dhtmlx.com/docs/products/dhtmlxEditor/index.shtml[/url] it works when I add words but when I click submit the text doesn't go through the POST how do I do this? I added a textarea like in one of the examples on that site, and another button that when clicked … | |
how do I set a div that is when empty from content would have a certain height, and if content takes more space the div would expand it's height to fit all the content? basicly I have a bunch of pages that go like this- <body> <div> ..contant.. </div></body> , … | |
HELP! I lost count of how many editors I tried! I don't understand why non of them work. I'm trying this editor [url]http://nicedit.com/index.php[/url] very simple. but when I type words in the textarea and click submit nothing is saved in the DB..empty that's what I get. all I want is … | |
I'm saving queries in my DB as strings here's my code: [CODE] $SQLcode="SELECT * FROM ... WHERE field="blah blah" HAVING field2<$x"; $query = "INSERT INTO tblQ (qId, qName, description, SQLcode) VALUES (NULL, '$qName', '$description', '$SQLcode');"; [/CODE] the problem is inserting a string into the $SQLcode, if I do it this … | |
Re: what details? Structure? u can just drag the mouse over the myPhpAdmin page and select the table, then copy-paste it to XLS... don't have a better idea.. hope this helps. p.s u can export all the info really nicely as a pdf via the Designer view | |
Hi, I've got a table with 3 cols and each cell has a checkbox. I want to have 3 checkboxes above the table that each one checks/unchecks all the checkboxes in the table but ONLY in one col. so if I click checkbox 1 all the checkboxes in col 1 … | |
I have 3 tables in DB, m..m relation table1: [U]id1[/U], a,b,c... table2: [U]id2[/U], x, y .. table3: [U]id1[/U], [U]id2[/U] I'm inserting new rows to table1 using a form, and the P. key field is set to AUTO_INCR, because there's no other property that can be meaningful enough to distinguish between … | |
Hi, I can't figure out how to write this query, I'm sure it's something silly, but I just can't figure it out!! I have a table with student's grades in different classes they took, example- studId, classId, yearClassTaken, grade 1, 11, 2008, 90 1, 12, 2008, 78 [B]1, 13, 2007, … | |
here's the deal. I want to import data from xls file.at the moment I'm using phpMyAdmin's Import option to do it, but I'm wondering if there's another way to import the file to a new table in my db because- -the first rows and cols in the file are empty, … | |
this is like my last hope guys! lol I need to generate a diagram that looks sort of like this only 4 times bigger using data from db [url]http://imageshack.us/photo/my-images/827/unledoyt.jpg/[/url] my db is MySql, I don't think this is possible using php, but I saw there are a lot of grapf … | |
![]() | Re: mm I checked out this GD Library and though it sounds very cool I still can't see how this helps me. the main problem is not how to create the boxes with the words, it's how to connect the boxes. GD has functions that draw lines..but I don't see how … |
hello, I have a DB table with records that have connection to one another. sort of like object a comes before b, and object c comes after c. example- table1- Id | pre | post a..|..0..|..d.. d..|..a..|..g.. g..|..d..|..x.. g..|..b..|..x.. g..|..c..|..x.. ...... ...... I have all the connections in the DB, … | |
my program allows users to leave reminders to themselves. tblReminder looks like this- [B]title content date[/B] now the idea behind it is that once the date that the user chose comes, the user will recieve an email to his email account with the content of the reminder. I can write … | |
the bottom line of what I want to do is- I have a file with a form (form.php) that has 2 drop lists, on sumbit I want to be redirected to another page (1.php) if dropbox 1 was set, to page 2.php if droplist 2 was set and to page … | |
Hi, how do I add (using SQL) string that has the char ' ? I have many words that look like this- dsf'dfdf or dfsdf' but when I'm trying to add them the query command thinks that the ' is the end of the string and then messes up everything … | |
ok here's the thing, I have a table in my DB (courses), and I want to fill it with data about all the courses that my school has. there's another site which has a form that let's people enter the code of the course and when they click "search" it … | |
Hi, Need some guidance here parts of my DB need to be updated by data from another system's DB, what I'm gonna get are CSV files with data that isn't exactly the same as my DB, meaning, the tables aren't the same structure, the fields don't have the same name/format..some … | |
Re: I'm developing something very similar right now.. Since you want all the students to have access to the program I think it'd be better to make a website in PHP. that way they don't need to download anything and install..u know how many students would actually give their time to … | |
Hi,I put many tiny forms on one of my pages, all have the same action to return to this page when submitted <form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>"> but how can I know which one was submitted? I used this line all this time when I had only 1 form … | |
I want to make a query that would return data about students who failed in a specific course, the report is looking like this- studId, studName, last grade, year last course was taken, num of fails in this course. so I'm having problems writing the correct SQL query to get … | |
Hi, I'm using PhpMyAdmin 3.3.9 , on the tab Designer, I see the tables but I don't see the lines between them that mark the relations (like in sqlServer or Access) I defined the relations between the tables using the Relation View, so they exist..I even tried to creat relation … | |
I have 2 places I'm stuck on with my DB design.. 1************************************************************************** how to translate ERD that looks like this into real tables? [URL="http://schemabank.com/sites/default/files/images/notation_self_relationship.gif"]http://schemabank.com/sites/default/files/images/notation_self_relationship.gif[/URL] my entity is "Course", if before student wants to take some course he must take few pre-courses then how should I model this? tableCourse- [U]id[/U], name … | |
Hey, I want to add tabs to my php page, but I don't know JS.. I found many ready tabber scripts but I'm having 2 problems- the text on the tab's title is set somewhere in the JS and I can't find it, it makes them Tab 1, Tab 2, … | |
OK, I need help!!!!!!! I've tried every advice I could find on google, nothing works for me!!!!! my DB has data in hebrew I can't figure out how to set the collation and everything else right so that my site would show the data in hebrew when I echo it … | |
I get the error #1005 - Can't create table 'db1.#sql-9e8_2c1' (errno: 150) (<a href="server_engines.php?engine=InnoDB&page=Status&token=3947cba14f7c39305d6f460b76698c5e">Details...</a>) I have 2 tables that I want to connect as a 1-1 relationship. table1:[U] a ,b[/U] ,c ,d table2: [U]a ,b[/U] the plan is that table2 will hold the keys of some of the records that … | |
Hey, the data in my DB isn't going to be in english, and I'm wondering if I should name the tables and the fields not in english as well, or there might be problems later when using the names in PHP or SQL code? any one had experience with that? | |
Hey, I think my DB has very standard parts and I don't want to reinvent the wheel again so I wonder if there are some ready and widely used DB templates for what I need - My database is all about customers, so I got a bunch of tables related … | |
Hey guys, need your help, I need to learn PHP real fast and implement it soon..but I never developed anything on the web using a server..and I'm lost with all the stuff I need to download to create a PHP development environment (so I can run the script on my … ![]() | |
I want to put on one of my HTML pages a message box with editing options, just like the one you are using in any forum to post a message (with options like -bold, italic, underline,font color, font size, adding files, etc) where can I get a ready code? |
The End.